diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/0bf582aa180983a9ffa721aa2be2f273/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 79f5d3c57..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,436 +0,0 @@ -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -var halfsize = 0 -for (var n = 1; n <= stringpos; n++) -{ - var ch = string_char_at(originalstring, n) - var myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = 0xFDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = 0xD4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - var newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - var sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - var sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - var icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - var sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - var spritex = myx - var spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - var icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - var choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (__view_get(2, view_current) == 640) - myx *= 2 - myx += __view_get(0, view_current) - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - var nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - var letterx = myx - var offsetx = 0 - var offsety = 0 - var halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(string_hash_to_newline(myletter)) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - var unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - var lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - var angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - var display_scale = (surface_get_width(application_surface) / __view_get(2, view_current)) - var finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - var finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, string_hash_to_newline(myletter), (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(string_hash_to_newline(myletter)) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_halfbullet_gen_Other_10.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_halfbullet_gen_Other_10.gml deleted file mode 100644 index eed614253..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_halfbullet_gen_Other_10.gml +++ /dev/null @@ -1,449 +0,0 @@ -if (defined == 0) -{ - if (type == 999) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 2, 6, 0) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 0) - scr_hb_add(22, 2, 6, 2) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 2) - scr_hb_add(66, 1, 6, 0) - scr_hb_add(66, 2, 6, 1) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 0) - scr_hb_add(110, 2, 6, 2) - scr_hb_add(132, 0, 6, 0) - scr_hb_add(132, 2, 6, 0) - scr_hb_add(154, 0, 6, 2) - scr_hb_add(154, 1, 6, 0) - scr_hb_add(154, 2, 6, 1) - maxtimer = 250 - } - if (type == 0) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(8, 1, 6, 0) - scr_hb_add(16, 1, 6, 0) - maxtimer = 95 - } - if (type == 1) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(25, 0, 6, 0) - scr_hb_add(25, 2, 6, 0) - scr_hb_add(50, 1, 6, 0) - scr_hb_add(75, 0, 6, 0) - scr_hb_add(75, 2, 6, 0) - maxtimer = 150 - } - if (type == 2) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 0) - scr_hb_add(132, 2, 6, 2) - scr_hb_add(138, 0, 6, 1) - scr_hb_add(138, 1, 6, 0) - scr_hb_add(138, 2, 6, 2) - scr_hb_add(144, 0, 6, 1) - scr_hb_add(144, 1, 6, 0) - scr_hb_add(144, 2, 6, 2) - maxtimer = 220 - } - if (type == 3) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 1, 6, 1) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 2) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 1, 6, 1) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 2) - scr_hb_add(132, 2, 6, 0) - maxtimer = 210 - } - if (type == 4) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 2) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(44, 2, 6, 2) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 1, 6, 1) - scr_hb_add(66, 2, 6, 2) - scr_hb_add(88, 0, 6, 1) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 2) - scr_hb_add(110, 2, 6, 0) - maxtimer = 180 - } - if (type == 5) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(19, 0, 6, 0) - scr_hb_add(19, 2, 6, 0) - scr_hb_add(38, 0, 6, 0) - scr_hb_add(38, 1, 6, 1) - scr_hb_add(38, 2, 6, 2) - scr_hb_add(57, 0, 6, 0) - scr_hb_add(57, 2, 6, 0) - scr_hb_add(76, 1, 6, 0) - scr_hb_add(95, 0, 6, 0) - scr_hb_add(95, 2, 6, 0) - scr_hb_add(114, 0, 6, 1) - scr_hb_add(114, 1, 6, 2) - scr_hb_add(114, 2, 6, 0) - scr_hb_add(133, 0, 6, 0) - scr_hb_add(133, 2, 6, 0) - scr_hb_add(165, 1, 8, 0) - maxtimer = 230 - } - if (type == 6) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(20, 1, 6, 0) - scr_hb_add(20, 2, 6, 0) - scr_hb_add(40, 0, 6, 1) - scr_hb_add(40, 1, 6, 0) - scr_hb_add(40, 2, 6, 2) - scr_hb_add(60, 0, 6, 0) - scr_hb_add(60, 1, 6, 0) - scr_hb_add(80, 0, 6, 0) - scr_hb_add(80, 2, 6, 0) - scr_hb_add(100, 1, 6, 0) - scr_hb_add(100, 2, 6, 0) - scr_hb_add(120, 0, 6, 0) - scr_hb_add(120, 2, 6, 0) - scr_hb_add(140, 0, 6, 0) - scr_hb_add(140, 1, 6, 0) - scr_hb_add(160, 0, 6, 1) - scr_hb_add(160, 1, 6, 0) - scr_hb_add(160, 2, 6, 2) - scr_hb_add(167, 0, 6, 1) - scr_hb_add(167, 1, 6, 0) - scr_hb_add(167, 2, 6, 2) - scr_hb_add(174, 0, 6, 1) - scr_hb_add(174, 1, 6, 0) - scr_hb_add(174, 2, 6, 2) - shift_timer_max = 235 - scr_hb_add(235, 4, 10, 0) - scr_hb_add(235, 7, 10, 0) - maxtimer = 290 - } - if (type == 7) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 3, 6, 1) - scr_hb_add(0, 4, 6, 0) - scr_hb_add(0, 5, 6, 2) - scr_hb_add(30, 0, 6, 1) - scr_hb_add(30, 1, 6, 0) - scr_hb_add(30, 2, 6, 2) - scr_hb_add(60, 3, 6, 2) - scr_hb_add(60, 4, 6, 0) - scr_hb_add(60, 5, 6, 1) - scr_hb_add(90, 0, 6, 1) - scr_hb_add(90, 1, 6, 0) - scr_hb_add(90, 2, 6, 2) - scr_hb_add(120, 3, 6, 1) - scr_hb_add(120, 4, 6, 0) - scr_hb_add(120, 5, 6, 2) - scr_hb_add(150, 0, 6, 1) - scr_hb_add(150, 1, 6, 0) - scr_hb_add(150, 2, 6, 2) - maxtimer = 230 - } - if (type == 8) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 7, 0) - scr_hb_add(0, 5, 7, 0) - scr_hb_add(20, 1, 7, 0) - scr_hb_add(20, 2, 7, 0) - scr_hb_add(40, 6, 7, 0) - scr_hb_add(40, 7, 7, 0) - scr_hb_add(60, 0, 7, 0) - scr_hb_add(60, 1, 7, 0) - scr_hb_add(80, 0, 7, 1) - scr_hb_add(80, 1, 7, 0) - scr_hb_add(80, 2, 7, 2) - scr_hb_add(105, 3, 7, 1) - scr_hb_add(105, 4, 7, 0) - scr_hb_add(105, 5, 7, 2) - scr_hb_add(105, 6, 7, 1) - scr_hb_add(105, 7, 7, 0) - scr_hb_add(105, 8, 7, 2) - scr_hb_add(130, 3, 7, 2) - scr_hb_add(130, 4, 7, 0) - scr_hb_add(130, 5, 7, 1) - scr_hb_add(130, 6, 7, 2) - scr_hb_add(130, 7, 7, 0) - scr_hb_add(130, 8, 7, 1) - maxtimer = 220 - } - if (type == 9) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 8, 0) - scr_hb_add(0, 5, 8, 0) - scr_hb_add(19, 6, 8, 0) - scr_hb_add(19, 7, 8, 0) - scr_hb_add(38, 0, 8, 1) - scr_hb_add(38, 1, 8, 0) - scr_hb_add(38, 2, 8, 2) - scr_hb_add(57, 0, 8, 0) - scr_hb_add(57, 2, 8, 0) - scr_hb_add(76, 6, 8, 0) - scr_hb_add(76, 7, 8, 0) - scr_hb_add(95, 4, 8, 0) - scr_hb_add(95, 5, 8, 0) - scr_hb_add(120, 0, 8, 1) - scr_hb_add(120, 1, 8, 0) - scr_hb_add(120, 2, 8, 2) - scr_hb_add(135, 0, 8, 0) - scr_hb_add(135, 2, 8, 0) - maxtimer = 210 - } - if (type == 10 || type == 12) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 0 - cur_time = 0 - time_gap = 17 - if (type == 12) - { - time_gap = 12 - max_attack = 16 - } - prev_pat = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - prev_pat = cur_pat - } - maxtimer = (cur_time + 50) - } - if (type == 11 || type == 13) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 1 - cur_time = 0 - time_gap = 18 - if (type == 13) - { - time_gap = 13 - max_attack = 16 - } - prev_dir = -1 - prev_pat = -1 - cur_dir = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - } - } - if (cur_pat >= 6) - cur_dir = 1 - else - cur_dir = 2 - if (prev_dir != -1) - { - if (prev_dir != cur_dir) - { - if (type == 11) - cur_time += 5 - if (type == 13) - cur_time += 4 - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 6) - { - scr_hb_add(cur_time, 3, 8, 0) - scr_hb_add(cur_time, 4, 8, 0) - cur_time += time_gap - } - if (cur_pat == 7) - { - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 0) - cur_time += time_gap - } - if (cur_pat == 8) - { - scr_hb_add(cur_time, 3, 8, 1) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 2) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - if (cur_pat == 9) - { - scr_hb_add(cur_time, 3, 8, 2) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 1) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - prev_pat = cur_pat - prev_dir = cur_dir - } - maxtimer = (cur_time + 50) - } - global.turntimer = maxtimer - defined = 1 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_halfbullet_gen_Step_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_halfbullet_gen_Step_0.gml deleted file mode 100644 index 3df40f867..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_halfbullet_gen_Step_0.gml +++ /dev/null @@ -1,60 +0,0 @@ -if (active == true && defined == 1) -{ - while (bullettime[curbullet] == bultimer) - { - bul = instance_create(0, 0, obj_halfbullet) - if instance_exists(bul) - { - if (bulletpos[curbullet] == 0 || bulletpos[curbullet] == 1 || bulletpos[curbullet] == 2) - { - bul.x = xpos[bulletpos[curbullet]] - bul.y = -60 - bul.hspeed = 0 - bul.vspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 3 || bulletpos[curbullet] == 4 || bulletpos[curbullet] == 5) - { - bul.x = -48 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 6 || bulletpos[curbullet] == 7 || bulletpos[curbullet] == 8) - { - bul.x = 700 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = (-bulletspeed[curbullet]) - } - bul.type = bullettype[curbullet] - if (bul.type == 1) - bul.image_blend = global.joycon_color[0] - if (bul.type == 2) - bul.image_blend = global.joycon_color[1] - } - curbullet += 1 - if (curbullet >= maxbullet) - { - break - active = false - } - } -} -bultimer += 1 -if (bultimer >= (maxtimer - 10)) - darkness = 0 -if (bultimer >= maxtimer) -{ - with (obj_halfbullet) - instance_destroy() - instance_destroy() -} -if (shift_timer_max >= -1) -{ - shift_timer += 1 - if (shift_timer == shift_timer_max) - { - with (obj_hearthalf) - vertical_ok = 1 - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index f9c3e45d6..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,21 +0,0 @@ -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -var msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (var i = 0; true; i++) -{ - var text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -var xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 08a409c88..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,444 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -var vspacing = 15 -if (global.language == "ja") - vspacing = 16 -var button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), string_hash_to_newline(itext)) - var xx = ((20 + string_width(string_hash_to_newline(itext))) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -var stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), string_hash_to_newline(stext)) - draw_set_color(c_white) -} -button_x += string_width(string_hash_to_newline(stext)) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, string_hash_to_newline(global.button0)) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), string_hash_to_newline(global.button1)) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), string_hash_to_newline(global.button2)) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var analog_text_width = string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")))) - draw_text_transformed(20, (135 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_choice"))) -if (global.joy_dir == 0) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_normal"))) -if (global.joy_dir == 1) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_analog"))) -if (global.joy_dir == 2) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_pov"))) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_reset"))) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_test"))) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_fall")), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 494a374b5..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - return; -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - return; - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index d63e8da5e..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,99 +0,0 @@ -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - return; -} -num_borders = 12 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (var i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -border_11 = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - var BW = ini_read_real("General", "BW", 0) - var BP = ini_read_real("General", "BP", 0) - var BH = ini_read_real("General", "BH", 0) - var DB = ini_read_real("General", "DB", 0) - var EndF = ini_read_real("EndF", "EndF", 0) - var M = ini_read_real("Alphys", "M", 0) - var R = ini_read_real("Alphys", "R", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (global.osflavor == 5) - { - if M - { - border_enabled[11] = 1 - border_11 = R - } - if DB - border_enabled[12] = 1 - } - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 8c37eb92b..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,302 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_fall")), 1, 1, -20) -} -var menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, string_hash_to_newline(scr_gettext("settings_language"))) -draw_text(92, 70, string_hash_to_newline(scr_gettext(("settings_language_" + global.language)))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_button"))) - var vspacing = 18 - var button_x = 0 - for (var i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - var itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), string_hash_to_newline(itext)) - draw_set_color(c_white) - var xx = (40 + string_width(string_hash_to_newline(itext))) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - var button = -4 - for (var b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check((obj_time.j_ch - 1), button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - var command = string_char_at("ZXC", (i + 1)) - var sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(scr_gettext("joyconfig_reset"))) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - var border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_label)) - if (global.screen_border_id == 0) - var border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == 11) - border_sel = scr_gettext(((("settings_border_" + string(global.screen_border_id)) + "_") + string(border_11))) - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(string_hash_to_newline(border_label))) + 20), ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_sel)) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_joyconfig"))) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 0210cdb97..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), string_hash_to_newline((s_value[(i * 2)] + "G - Ninechara"))) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), string_hash_to_newline((s_value[((i * 2) + 1)] + "G - Ninechara"))) - } - draw_text(30, 210, string_hash_to_newline(scr_gettext("shop_exit_submenu"))) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, string_hash_to_newline((("Really sell Ninechara for " + string(value[sellpos])) + "G?"))) - draw_text(80, 180, string_hash_to_newline("Yes")) - draw_text(190, 180, string_hash_to_newline("No")) - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_time_Create_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_time_Create_0.gml deleted file mode 100644 index 6fc0ce9ec..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_time_Create_0.gml +++ /dev/null @@ -1,155 +0,0 @@ -if (os_type == os_windows) - global.osflavor = 1 -else if (os_type == os_ps4 || os_type == os_psvita) - global.osflavor = 4 -else if (os_type == os_switch_beta) - global.osflavor = 5 -else - global.osflavor = 2 -global.locale = ((os_get_language() + "_") + string_upper(os_get_region())) -if (global.osflavor >= 3) -{ - application_surface_enable(true) - application_surface_draw_enable(false) -} -if (os_type == os_switch_beta && (!variable_global_exists("switchlogin"))) -{ - global.switchlogin = -1 - while (global.switchlogin < 0) - global.switchlogin = switch_accounts_select_account(1, 0, 0) -} -if (os_type == os_switch_beta) -{ - switch_controller_support_set_defaults() - switch_controller_support_set_singleplayer_only(1) - switch_controller_set_supported_styles(7) - missing_controller_timeout = 0 -} -global.savedata_async_id = -1 -global.savedata_async_load = 0 -global.savedata_error = 0 -global.savedata_debuginfo = "" -global.disable_os_pause = 0 -paused = 0 -idle = 0 -idle_time = 0 -up = 0 -down = 0 -left = 0 -right = 0 -quit = 0 -try_up = 0 -try_down = 0 -try_left = 0 -try_right = 0 -canquit = 1 -h_skip = 0 -j_xpos = 0 -j_ypos = 0 -j_dir = 0 -j_fr = 0 -j_fl = 0 -j_fu = 0 -j_fd = 0 -j_fr_p = 0 -j_fl_p = 0 -j_fu_p = 0 -j_fd_p = 0 -for (var i = 0; i < 12; i += 1) -{ - j_prev[i] = 0 - j_on[i] = 0 -} -global.button0 = 2 -global.button1 = 1 -global.button2 = 4 -global.analog_sense = 0.15 -global.analog_sense_sense = 0.01 -global.joy_dir = 0 -if (os_type == os_ps4 || os_type == os_psvita) -{ - if (substr(global.locale, 1, 2) == "ja") - { - global.button0 = 32770 - global.button1 = 32769 - } - else - { - global.button0 = 32769 - global.button1 = 32770 - } - global.button2 = 32772 -} -else if (os_type == os_switch_beta) -{ - global.button0 = 32770 - global.button1 = 32769 - global.button2 = 32772 -} -global.default_button0 = global.button0 -global.default_button1 = global.button1 -global.default_button2 = global.button2 -global.default_analog_sense = global.analog_sense -global.default_analog_sense_sense = global.analog_sense_sense -global.default_joy_dir = global.joy_dir -global.screen_border_id = 0 -global.screen_border_active = 0 -global.screen_border_alpha = 1 -global.screen_border_state = 0 -global.screen_border_dynamic_fade_id = 0 -global.screen_border_dynamic_fade_level = 0 -global.screen_border_activate_on_game_over = 0 -debug_r = 0 -debug_f = 0 -j1 = 0 -j2 = 0 -ja = 0 -j_ch = 0 -jt = 0 -if (global.osflavor >= 4) -{ - for (i = 0; i < gamepad_get_device_count(); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch == 0) - { - if (os_type == os_switch_beta) - { - if (switch_controller_support_show() == 0) - j_ch = (switch_controller_support_get_selected_id() + 1) - } - else - j_ch = 1 - } -} -spec_rtimer = 0 -global.endsong_loaded = 0 -control_init() -scr_kanatype_init() -if (!variable_global_exists("text_data_en")) - script_execute(textdata_en) -if (!variable_global_exists("text_data_ja")) - script_execute(textdata_ja) -if (os_type == os_switch_beta) - global.language = substr(switch_language_get_desired_language(), 1, 2) -else - global.language = substr(global.locale, 1, 2) -if (global.language != "ja") - global.language = "en" -if (!variable_global_exists("trophy_init_complete")) -{ - global.trophy_init_complete = 0 - trophy_ts = -1 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_time_Step_1.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_time_Step_1.gml deleted file mode 100644 index bca42138e..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_time_Step_1.gml +++ /dev/null @@ -1,400 +0,0 @@ -if (started <= 0) -{ - if (global.savedata_async_id >= 0) - return; - started = -1 - if (!trophy_init()) - { - if (trophy_ts < 0) - trophy_ts = current_time - return; - } - ossafe_ini_open("config.ini") - var lang = ini_read_string("General", "lang", "") - var sb_i = ini_read_real("General", "sb", -1) - var b0_i = ini_read_real("joypad1", "b0", -1) - var b1_i = ini_read_real("joypad1", "b1", -1) - var b2_i = ini_read_real("joypad1", "b2", -1) - var as_i = ini_read_real("joypad1", "as", -1) - var jd_i = ini_read_real("joypad1", "jd", -1) - if (string_length(lang) > 0) - global.language = lang - if (sb_i >= 0) - global.screen_border_id = sb_i - if (b0_i >= 0) - global.button0 = b0_i - if (b1_i >= 0) - global.button1 = b1_i - if (b2_i >= 0) - global.button2 = b2_i - if (as_i >= 0) - global.analog_sense = as_i - if (jd_i >= 0) - global.joy_dir = jd_i - ossafe_ini_close() - scr_enable_screen_border(global.osflavor >= 4) - if (global.osflavor >= 4) - { - global.analog_sense = 0.15 - if (os_type == os_psvita) - global.analog_sense = 0.9 - global.joy_dir = 0 - } - ossafe_ini_open("undertale.ini") - fskip = ini_read_real("FFFFF", "E", -1) - ftime = ini_read_real("FFFFF", "F", -1) - true_end = ini_read_real("EndF", "EndF", -1) - ossafe_ini_close() - sksk = 0 - if (ftime == 1) - { - sksk = 1 - room_goto(room_f_start) - } - if (true_end == 1 && sksk == 0) - { - sksk = 1 - room_goto(room_flowey_regret) - } - if (fskip >= 1 && sksk == 0) - { - global.filechoice = 8 - scr_load() - if (fskip == 1) - room_goto(room_flowey_endchoice) - if (fskip == 2) - room_goto(room_castle_exit) - } - else if (sksk == 0) - room_goto_next() - if (ossafe_file_exists("system_information_962") && (!ossafe_file_exists("system_information_963"))) - room_goto(room_nothingness) - started = 1 - return; -} -if (!paused) - time += 1 -if (global.osflavor <= 2) -{ - if (jt == 0) - { - if (j_ch != 2) - { - if joystick_exists(1) - j_ch = 1 - else if (j_ch == 1) - j_ch = 0 - } - } - if (jt == 4) - { - if (j_ch != 1) - { - if joystick_exists(2) - j_ch = 2 - else if (j_ch == 2) - j_ch = 0 - } - } - jt += 1 - if (jt >= 8) - jt = 0 -} -else if (os_type == os_switch_beta) -{ - if (j_ch > 0 && gamepad_is_connected((j_ch - 1))) - missing_controller_timeout = 0 - else - { - j_ch = 0 - for (var i = 0; (i < gamepad_get_device_count()); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch > 0) - missing_controller_timeout = 0 - else if (missing_controller_timeout == 0) - missing_controller_timeout = (current_time + 2000) - else if (current_time >= missing_controller_timeout) - { - if (switch_controller_support_show() == 0) - { - j_ch = (switch_controller_support_get_selected_id() + 1) - missing_controller_timeout = 0 - } - } - } -} -control_update() -if (j_ch > 0) -{ - j_fr_p = j_fr - j_fl_p = j_fl - j_fu_p = j_fu - j_fd_p = j_fd - j_fr = 0 - j_fl = 0 - j_fu = 0 - j_fd = 0 - if (global.osflavor >= 4) - { - if (gamepad_button_check((j_ch - 1), gp_padu) || gamepad_button_check((j_ch - 1), gp_padd) || gamepad_button_check((j_ch - 1), gp_padl) || gamepad_button_check((j_ch - 1), gp_padr)) - { - j_fu = gamepad_button_check((j_ch - 1), gp_padu) - j_fd = gamepad_button_check((j_ch - 1), gp_padd) - j_fl = gamepad_button_check((j_ch - 1), gp_padl) - j_fr = gamepad_button_check((j_ch - 1), gp_padr) - } - else if (global.joy_dir != 2) - { - var j_xpos = gamepad_axis_value((j_ch - 1), gp_axislh) - var j_ypos = gamepad_axis_value((j_ch - 1), gp_axislv) - var analog_sense = global.analog_sense - if (sqrt((sqr(j_xpos) + sqr(j_ypos))) >= analog_sense) - { - var angle = darctan2(j_ypos, j_xpos) - if (angle < 0) - angle += 360 - if (angle < 67.5 || angle > 292.5) - j_fr = 1 - if (angle > 22.5 && angle < 157.5) - j_fd = 1 - if (angle > 112.5 && angle < 247.5) - j_fl = 1 - if (angle > 202.5 && angle < 337.5) - j_fu = 1 - } - } - } - else - { - if (global.joy_dir == 0 || global.joy_dir == 1) - { - j_xpos = joystick_xpos(j_ch) - j_ypos = joystick_ypos(j_ch) - } - j_dir = joystick_direction(j_ch) - if (global.joy_dir == 0 || global.joy_dir == 1) - { - if (j_dir == 101) - { - if (j_xpos >= global.analog_sense) - j_fr = 1 - if (j_xpos <= (-global.analog_sense)) - j_fl = 1 - if (j_ypos >= global.analog_sense) - j_fd = 1 - if (j_ypos <= (-global.analog_sense)) - j_fu = 1 - } - } - if (j_dir != 101) - { - if (j_dir == 100) - j_fl = 1 - if (j_dir == 98) - j_fd = 1 - if (j_dir == 102) - j_fr = 1 - if (j_dir == 104) - j_fu = 1 - if (j_dir == 99) - { - j_fr = 1 - j_fd = 1 - } - if (j_dir == 97) - { - j_fd = 1 - j_fl = 1 - } - if (j_dir == 103) - { - j_fu = 1 - j_fl = 1 - } - if (j_dir == 105) - { - j_fu = 1 - j_fr = 1 - } - } - if (global.joy_dir == 0 || global.joy_dir == 2) - { - j_pov = joystick_pov(j_ch) - if (j_pov == 0) - j_fu = 1 - if (j_pov == 270) - j_fl = 1 - if (j_pov == 90) - j_fr = 1 - if (j_pov == 180) - j_fd = 1 - if (j_pov == 315) - { - j_fu = 1 - j_fl = 1 - } - if (j_pov == 45) - { - j_fu = 1 - j_fr = 1 - } - if (j_pov == 225) - { - j_fd = 1 - j_fl = 1 - } - if (j_pov == 135) - { - j_fd = 1 - j_fr = 1 - } - } - } - if (j_fr != j_fr_p && j_fr == 1) - keyboard_key_press(vk_right) - if (j_fl != j_fl_p && j_fl == 1) - keyboard_key_press(vk_left) - if (j_fd != j_fd_p && j_fd == 1) - keyboard_key_press(vk_down) - if (j_fu != j_fu_p && j_fu == 1) - keyboard_key_press(vk_up) - if (j_fr != j_fr_p && j_fr == 0) - keyboard_key_release(vk_right) - if (j_fl != j_fl_p && j_fl == 0) - keyboard_key_release(vk_left) - if (j_fd != j_fd_p && j_fd == 0) - keyboard_key_release(vk_down) - if (j_fu != j_fu_p && j_fu == 0) - keyboard_key_release(vk_up) -} -up = 0 -down = 0 -left = 0 -right = 0 -if keyboard_check(vk_up) - try_up = 1 -if keyboard_check_released(vk_up) - try_up = 0 -if keyboard_check(vk_down) - try_down = 1 -if keyboard_check_released(vk_down) - try_down = 0 -if keyboard_check(vk_right) - try_right = 1 -if keyboard_check_released(vk_right) - try_right = 0 -if keyboard_check(vk_left) - try_left = 1 -if keyboard_check_released(vk_left) - try_left = 0 -if (global.osflavor == 1) -{ - if try_up - up = keyboard_check_direct(vk_up) - if try_down - down = keyboard_check_direct(vk_down) - if try_left - left = keyboard_check_direct(vk_left) - if try_right - right = keyboard_check_direct(vk_right) -} -else -{ - if try_up - up = keyboard_check(vk_up) - if try_down - down = keyboard_check(vk_down) - if try_left - left = keyboard_check(vk_left) - if try_right - right = keyboard_check(vk_right) -} -if keyboard_check_released(vk_up) - up = 0 -if keyboard_check_released(vk_down) - down = 0 -if keyboard_check_released(vk_left) - left = 0 -if keyboard_check_released(vk_right) - right = 0 -var now_idle = (!(up || down || left || right || control_check(0) || control_check(1) || control_check(2))) -if (now_idle && (!idle)) - idle_time = current_time -idle = now_idle -if control_check(2) -{ - if (global.flag[28] == 1) - { - if (instance_exists(OBJ_WRITER) && (!instance_exists(obj_choicer))) - { - if (h_skip == 0) - { - keyboard_key_press(ord("X")) - keyboard_key_press(ord("Z")) - } - if (h_skip == 1) - { - keyboard_key_release(ord("Z")) - keyboard_key_release(ord("X")) - } - if (h_skip == 0) - h_skip = 1 - else - h_skip = 0 - } - } -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("F")) - room_speed = 200 -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("W")) - room_speed = 10 -} -if keyboard_check_pressed(vk_f4) -{ - if window_get_fullscreen() - window_set_fullscreen(false) - else - window_set_fullscreen(true) -} -if (canquit == 1) -{ - if (global.debug == 1) - { - if (keyboard_check_pressed(ord("R")) && instance_exists(obj_essaystuff) == 0) - { - debug_r += 1 - if (debug_r > 5) - game_restart() - spec_rtimer = 1 - } - } - spec_rtimer += 1 - if (spec_rtimer >= 6) - debug_r = 0 - if keyboard_check(vk_escape) - { - quit += 1 - if (instance_exists(obj_quittingmessage) == 0) - instance_create(0, 0, obj_quittingmessage) - } - else - quit = 0 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 887b086f9..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - return; - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ee7a4ca81..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6623 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\\XLa, la.^3 &Time to wake&up and\\R smell\\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\\Y" - if (global.flag[22] == 2) - adder = "\\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 965: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_2") - global.msg[1] = scr_gettext("SCR_TEXT_mewmew_3") - global.msg[2] = " " - if (global.tempvalue[14] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_6") - with (obj_mewmew_npc) - con = 1 - } - break - case 966: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_4") - with (obj_mewmew_npc) - con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_5") - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1077: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_0") - if instance_exists(obj_mewmew_boss) - { - if (obj_mewmew_boss.true_battle >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_1") - } - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_get_element.gml deleted file mode 100644 index bd067ef6b..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, false, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_joystick_pov.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_joystick_pov.gml deleted file mode 100644 index 6c8efecf4..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_joystick_pov.gml +++ /dev/null @@ -1,7 +0,0 @@ -var jid = __joystick_2_gamepad(argument0) -var mask = 0 -mask |= (gamepad_button_value(jid, gp_padu) > 0 ? 1 : 0) -mask |= (gamepad_button_value(jid, gp_padr) > 0 ? 2 : 0) -mask |= (gamepad_button_value(jid, gp_padd) > 0 ? 4 : 0) -mask |= (gamepad_button_value(jid, gp_padl) > 0 ? 8 : 0) -return global.__jstick_povangle[mask]; diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 5baecfc3f..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,43 +0,0 @@ -var lines; -if (global.osflavor <= 2) - return file_text_open_read(argument0); -else -{ - var name = string_lower(argument0) - var file = ds_map_find_value(global.savedata, name) - if is_undefined(file) - return undefined; - var data = file - var num_lines = 0 - while (string_byte_length(data) > 0) - { - var newline_pos = string_pos(chr($0A), data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == chr($0D)) - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line - } - handle = ds_map_create() - ds_map_set(handle, "is_write", 0) - ds_map_set(handle, "text", lines) - ds_map_set(handle, "num_lines", num_lines) - ds_map_set(handle, "line", 0) - ds_map_set(handle, "line_read", 0) - return handle; -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index f76acbdc9..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,23 +0,0 @@ -var xx = argument0 -var yy = argument1 -if (global.language == "ja") -{ - var use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (var i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, string_hash_to_newline(global.charname)) -return string_width(string_hash_to_newline(global.charname)); diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_draw_screen_border.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_draw_screen_border.gml deleted file mode 100644 index ddd3cc787..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_draw_screen_border.gml +++ /dev/null @@ -1,259 +0,0 @@ -var overlay; -var border_id = argument0 -draw_enable_alphablend(0) -if (border_id == 1) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_line_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_line_544, 0, 0) -} -if (border_id == 2) -{ - var fade_time = 60 - if instance_exists(obj_stalkerflowey) - { - global.screen_border_state += (1 / fade_time) - if (global.screen_border_state > 1) - global.screen_border_state = 1 - } - else - { - global.screen_border_state -= (1 / fade_time) - if (global.screen_border_state < 0) - global.screen_border_state = 0 - } - var idle_min = 300000 - var idle_time = 0 - if (obj_time.idle && current_time >= (obj_time.idle_time + idle_min)) - idle_time = (current_time - (obj_time.idle_time + idle_min)) - var idle_frame = (floor((idle_time / 100)) % 3) - var base = -4 - for (var i = 0; i < 9; i++) - { - overlay[i, 0] = -4 - overlay[i, 1] = spr_undertaletitle - overlay[i, 2] = spr_undertaletitle - } - if (os_type == os_ps4 || os_type == os_switch_beta) - { - base = bg_border_sepia_1080 - overlay[0, 1] = spr_blconbelow - overlay[0, 2] = spr_truechara_laugh - overlay[1, 1] = spr_superbone - overlay[1, 2] = buttonL_nx_zr - overlay[2, 1] = spr_barktry_ja - overlay[2, 2] = spr_finalfroggit - overlay[3, 1] = spr_undertaletitle - overlay[3, 2] = spr_undynex_example - overlay[4, 1] = spr_vegetoid - overlay[4, 2] = spr_blconbelow - overlay[5, 1] = spr_bookshelf - overlay[5, 2] = spr_undertaletitle - overlay[6, 1] = spr_forcefield_right_middle - overlay[6, 2] = spr_alphyshelper_embarrass - overlay[7, 1] = spr_chipdoor_chippart - overlay[7, 2] = spr_gb_npc - overlay[8, 1] = spr_undynea_ut - overlay[8, 2] = spr_uppbutton - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_1080_1a - overlay[1, 0] = bg_border_sepia_1080_2a - overlay[2, 0] = bg_border_sepia_1080_3a - overlay[3, 0] = bg_border_sepia_1080_4a - overlay[4, 0] = bg_border_sepia_1080_5a - overlay[5, 0] = bg_border_sepia_1080_6a - overlay[6, 0] = bg_border_sepia_1080_7a - overlay[7, 0] = bg_border_sepia_1080_8a - overlay[8, 0] = bg_border_sepia_1080_9a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_1080_1b - overlay[1, 0] = bg_border_sepia_1080_2b - overlay[2, 0] = bg_border_sepia_1080_3b - overlay[3, 0] = bg_border_sepia_1080_4b - overlay[4, 0] = bg_border_sepia_1080_5b - overlay[5, 0] = bg_border_sepia_1080_6b - overlay[6, 0] = bg_border_sepia_1080_7b - overlay[7, 0] = bg_border_sepia_1080_8b - overlay[8, 0] = bg_border_sepia_1080_9b - } - if (global.screen_border_state > 0) - overlay1 = 2839 - } - else if (os_type == os_psvita) - { - base = bg_border_sepia_544 - overlay[0, 1] = spr_talkbt - overlay[0, 2] = spr_undyneb_face3 - overlay[1, 1] = spr_heartorange - overlay[1, 2] = spr_wizard_orbhurt - overlay[2, 1] = spr_undertaletitle - overlay[2, 2] = spr_oolbone_ja - overlay[3, 1] = button_ps4_l3 - overlay[3, 2] = spr_undertaletitle - overlay[4, 1] = buttonL_nx_zl - overlay[4, 2] = spr_whimsunhurt - overlay[5, 1] = buttonL_vita_triangle - overlay[5, 2] = spr_vulkinface5 - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_544_1a - overlay[1, 0] = bg_border_sepia_544_2a - overlay[2, 0] = bg_border_sepia_544_3a - overlay[3, 0] = bg_border_sepia_544_4a - overlay[4, 0] = bg_border_sepia_544_5a - overlay[5, 0] = bg_border_sepia_544_6a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_544_1b - overlay[1, 0] = bg_border_sepia_544_2b - overlay[2, 0] = bg_border_sepia_544_3b - overlay[3, 0] = bg_border_sepia_544_4b - overlay[4, 0] = bg_border_sepia_544_5b - overlay[5, 0] = bg_border_sepia_544_6b - } - if (global.screen_border_state > 0) - overlay1 = 2853 - } - if (base != -4) - { - scr_draw_background_ps4(base, 0, 0) - if (overlay[0, 0] != -4) - { - if (global.screen_border_state > 0) - { - draw_enable_alphablend(1) - draw_set_alpha((global.screen_border_state * 0.5)) - } - scr_draw_background_ps4(overlay[0, 0], overlay[0, 1], overlay[0, 2]) - if (global.screen_border_state > 0) - { - draw_set_alpha(1) - draw_enable_alphablend(0) - } - } - for (i = 1; i < 9; i++) - { - if (overlay[i, 0] != -4) - scr_draw_background_ps4(overlay[i, 0], overlay[i, 1], overlay[i, 2]) - } - } -} -if (border_id == 3) -{ - var room_id = global.currentroom - if ((room_id >= 4 && room_id <= 43) || (room >= room_introstory && room <= room_intromenu) || (room >= room_settings && room <= room_controltest)) - border_id = 4 - if ((room_id >= 44 && room_id <= 81) || room_id == 311 || (room_id >= 265 && room_id <= 266)) - border_id = 5 - if ((room_id >= 82 && room_id <= 136) || room_id == 312 || room_id == 315) - border_id = 6 - if ((room_id >= 137 && room_id <= 215) || room_id == 313 || room_id == 314 || (room_id >= 242 && room_id <= 243)) - border_id = 7 - if (room_id >= 216 && room_id <= 240) - border_id = 8 - if (room_id >= 244 && room_id <= 263) - border_id = 9 - if (room_id == 136 || room_id == 213 || room_id == 215 || room_id == 242 || room_id == 243 || room_id == 316 || room_id == 335 || room_id == 336 || room_id == 337) - border_id = 3.5 - if (global.flag[479] == 0 && (room_id == 244 || room_id == 245)) - border_id = 3.5 - if (border_id != global.screen_border_state) - { - if (global.screen_border_state != 0) - { - if (global.screen_border_dynamic_fade_id == border_id) - global.screen_border_dynamic_fade_level = (1 - global.screen_border_dynamic_fade_level) - else - global.screen_border_dynamic_fade_level = 1 - global.screen_border_dynamic_fade_id = global.screen_border_state - } - global.screen_border_state = border_id - } - if (global.screen_border_dynamic_fade_level > 0) - { - fade_time = 30 - global.screen_border_dynamic_fade_level -= (1 / fade_time) - if (global.screen_border_dynamic_fade_level > 0) - { - scr_draw_screen_border(global.screen_border_dynamic_fade_id) - draw_set_alpha((1 - global.screen_border_dynamic_fade_level)) - } - else - { - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - } - } -} -if (border_id == 3.5) -{ - draw_set_color(c_black) - ossafe_fill_rectangle(0, 0, (window_get_width() - 1), (window_get_height() - 1)) - draw_set_color(c_white) -} -if (border_id == 4) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_ruins_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_ruins_544, 0, 0) -} -if (border_id == 5) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_tundra_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_tundra_544, 0, 0) -} -if (border_id == 6) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_water1_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_water1_544, 0, 0) -} -if (border_id == 7) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_fire_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_fire_544, 0, 0) -} -if (border_id == 8) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_castle_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_castle_544, 0, 0) -} -if (border_id == 9) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_truelab_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_truelab_544, 0, 0) -} -if (border_id == 10) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_rad_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_rad_544, 0, 0) -} -if (border_id == 11) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_anime_1080, 0, 0) -} -if (border_id == 12) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_dog_1080, 0, 0) -} -draw_set_alpha(1) -draw_enable_alphablend(1) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 30f82a28b..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,8 +0,0 @@ -global.msg[0] = scr_gettext("scr_itemdesc_2") -for (var i = 0; true; i++) -{ - var desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 4c986d2f8..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,39 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -var bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 69fc16d1e..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,901 +0,0 @@ -var credamt = 0 -if (global.osflavor <= 2) -{ - var credits_path = (working_directory + "credits.txt") - var credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - var thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew \"Southrop\" Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara \"Svenna\" Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean \"Ariamaki\" Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin \"BenaSPACE\" McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn \"Xisuu\" Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan \"ChessboardMan\" Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles \"Chip Champion\" Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary \"ZarroTsu\" Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will \"Radnar\" Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin \"AT\" Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves \"TehLazyOne\"" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke \"Association\" Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index 910c48cca..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var lines; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - var xx = (name_x - (q / 3)) - if (global.language == "ja") - { - var kana_count = 0 - for (var i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - var confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - return; - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, string_hash_to_newline(spec_m)) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (var row = 0; row < rows; row++) - { - var yy = ymap[row] - for (var col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), string_hash_to_newline(charmap[row, col])) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - var menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, string_hash_to_newline(menu_text0)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - var menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, string_hash_to_newline(menu_text1)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - var menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, string_hash_to_newline(menu_text2)) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - var charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, string_hash_to_newline(charset_text0)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - var charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, string_hash_to_newline(charset_text1)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - var charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, string_hash_to_newline(charset_text2)) - } - var old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - var best = 0 - var bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - var diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, string_hash_to_newline(charname)) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - var roomname = scr_roomname(roome) - var lvtext = scr_gettext("save_menu_lv", string(love)) - var timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - var namesize = string_width(string_hash_to_newline(substr(name, 1, 6))) - var lvsize = string_width(string_hash_to_newline(lvtext)) - var timesize = string_width(string_hash_to_newline(timetext)) - var x_center = 160 - var lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - var namepos = 70 - var timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, string_hash_to_newline(name)) - draw_text(lvpos, 62, string_hash_to_newline(lvtext)) - draw_text((timepos - timesize), 62, string_hash_to_newline(timetext)) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, string_hash_to_newline(roomname)) - if (selected3 == 0) - draw_set_color(c_yellow) - var continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, string_hash_to_newline(continue_text)) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - var reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, string_hash_to_newline(reset_text)) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - var action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, string_hash_to_newline(scr_gettext("instructions_title"))) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\\*Z") - draw_text(115, 50, string_hash_to_newline(scr_gettext("instructions_confirm_label"))) - scr_drawtext_icons(85, 70, "\\*X") - draw_text(115, 70, string_hash_to_newline(scr_gettext("instructions_cancel_label"))) - scr_drawtext_icons(85, 90, "\\*C") - draw_text(115, 90, string_hash_to_newline(scr_gettext("instructions_menu_label"))) - draw_text(86, 130, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - var num_lines = 5 - if (global.language == "ja") - { - var label_x = 0 - for (i = 0; i < num_lines; i++) - { - var key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), string_hash_to_newline(key)) - xx = ((50 + string_width(string_hash_to_newline(key))) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - var label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), string_hash_to_newline(label)) - } - draw_text(50, 145, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), string_hash_to_newline(((key + " - ") + label))) - } - draw_text(85, 140, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, string_hash_to_newline(scr_gettext("instructions_begin"))) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - var yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, string_hash_to_newline(scr_gettext("settings_name"))) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 79f5d3c57..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,436 +0,0 @@ -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -var halfsize = 0 -for (var n = 1; n <= stringpos; n++) -{ - var ch = string_char_at(originalstring, n) - var myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = 0xFDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = 0xD4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - var newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - var sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - var sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - var icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - var sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - var spritex = myx - var spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - var icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - var choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (__view_get(2, view_current) == 640) - myx *= 2 - myx += __view_get(0, view_current) - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - var nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - var letterx = myx - var offsetx = 0 - var offsety = 0 - var halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(string_hash_to_newline(myletter)) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - var unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - var lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - var angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - var display_scale = (surface_get_width(application_surface) / __view_get(2, view_current)) - var finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - var finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, string_hash_to_newline(myletter), (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(string_hash_to_newline(myletter)) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml deleted file mode 100644 index eed614253..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml +++ /dev/null @@ -1,449 +0,0 @@ -if (defined == 0) -{ - if (type == 999) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 2, 6, 0) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 0) - scr_hb_add(22, 2, 6, 2) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 2) - scr_hb_add(66, 1, 6, 0) - scr_hb_add(66, 2, 6, 1) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 0) - scr_hb_add(110, 2, 6, 2) - scr_hb_add(132, 0, 6, 0) - scr_hb_add(132, 2, 6, 0) - scr_hb_add(154, 0, 6, 2) - scr_hb_add(154, 1, 6, 0) - scr_hb_add(154, 2, 6, 1) - maxtimer = 250 - } - if (type == 0) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(8, 1, 6, 0) - scr_hb_add(16, 1, 6, 0) - maxtimer = 95 - } - if (type == 1) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(25, 0, 6, 0) - scr_hb_add(25, 2, 6, 0) - scr_hb_add(50, 1, 6, 0) - scr_hb_add(75, 0, 6, 0) - scr_hb_add(75, 2, 6, 0) - maxtimer = 150 - } - if (type == 2) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 0) - scr_hb_add(132, 2, 6, 2) - scr_hb_add(138, 0, 6, 1) - scr_hb_add(138, 1, 6, 0) - scr_hb_add(138, 2, 6, 2) - scr_hb_add(144, 0, 6, 1) - scr_hb_add(144, 1, 6, 0) - scr_hb_add(144, 2, 6, 2) - maxtimer = 220 - } - if (type == 3) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 1, 6, 1) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 2) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 1, 6, 1) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 2) - scr_hb_add(132, 2, 6, 0) - maxtimer = 210 - } - if (type == 4) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 2) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(44, 2, 6, 2) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 1, 6, 1) - scr_hb_add(66, 2, 6, 2) - scr_hb_add(88, 0, 6, 1) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 2) - scr_hb_add(110, 2, 6, 0) - maxtimer = 180 - } - if (type == 5) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(19, 0, 6, 0) - scr_hb_add(19, 2, 6, 0) - scr_hb_add(38, 0, 6, 0) - scr_hb_add(38, 1, 6, 1) - scr_hb_add(38, 2, 6, 2) - scr_hb_add(57, 0, 6, 0) - scr_hb_add(57, 2, 6, 0) - scr_hb_add(76, 1, 6, 0) - scr_hb_add(95, 0, 6, 0) - scr_hb_add(95, 2, 6, 0) - scr_hb_add(114, 0, 6, 1) - scr_hb_add(114, 1, 6, 2) - scr_hb_add(114, 2, 6, 0) - scr_hb_add(133, 0, 6, 0) - scr_hb_add(133, 2, 6, 0) - scr_hb_add(165, 1, 8, 0) - maxtimer = 230 - } - if (type == 6) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(20, 1, 6, 0) - scr_hb_add(20, 2, 6, 0) - scr_hb_add(40, 0, 6, 1) - scr_hb_add(40, 1, 6, 0) - scr_hb_add(40, 2, 6, 2) - scr_hb_add(60, 0, 6, 0) - scr_hb_add(60, 1, 6, 0) - scr_hb_add(80, 0, 6, 0) - scr_hb_add(80, 2, 6, 0) - scr_hb_add(100, 1, 6, 0) - scr_hb_add(100, 2, 6, 0) - scr_hb_add(120, 0, 6, 0) - scr_hb_add(120, 2, 6, 0) - scr_hb_add(140, 0, 6, 0) - scr_hb_add(140, 1, 6, 0) - scr_hb_add(160, 0, 6, 1) - scr_hb_add(160, 1, 6, 0) - scr_hb_add(160, 2, 6, 2) - scr_hb_add(167, 0, 6, 1) - scr_hb_add(167, 1, 6, 0) - scr_hb_add(167, 2, 6, 2) - scr_hb_add(174, 0, 6, 1) - scr_hb_add(174, 1, 6, 0) - scr_hb_add(174, 2, 6, 2) - shift_timer_max = 235 - scr_hb_add(235, 4, 10, 0) - scr_hb_add(235, 7, 10, 0) - maxtimer = 290 - } - if (type == 7) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 3, 6, 1) - scr_hb_add(0, 4, 6, 0) - scr_hb_add(0, 5, 6, 2) - scr_hb_add(30, 0, 6, 1) - scr_hb_add(30, 1, 6, 0) - scr_hb_add(30, 2, 6, 2) - scr_hb_add(60, 3, 6, 2) - scr_hb_add(60, 4, 6, 0) - scr_hb_add(60, 5, 6, 1) - scr_hb_add(90, 0, 6, 1) - scr_hb_add(90, 1, 6, 0) - scr_hb_add(90, 2, 6, 2) - scr_hb_add(120, 3, 6, 1) - scr_hb_add(120, 4, 6, 0) - scr_hb_add(120, 5, 6, 2) - scr_hb_add(150, 0, 6, 1) - scr_hb_add(150, 1, 6, 0) - scr_hb_add(150, 2, 6, 2) - maxtimer = 230 - } - if (type == 8) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 7, 0) - scr_hb_add(0, 5, 7, 0) - scr_hb_add(20, 1, 7, 0) - scr_hb_add(20, 2, 7, 0) - scr_hb_add(40, 6, 7, 0) - scr_hb_add(40, 7, 7, 0) - scr_hb_add(60, 0, 7, 0) - scr_hb_add(60, 1, 7, 0) - scr_hb_add(80, 0, 7, 1) - scr_hb_add(80, 1, 7, 0) - scr_hb_add(80, 2, 7, 2) - scr_hb_add(105, 3, 7, 1) - scr_hb_add(105, 4, 7, 0) - scr_hb_add(105, 5, 7, 2) - scr_hb_add(105, 6, 7, 1) - scr_hb_add(105, 7, 7, 0) - scr_hb_add(105, 8, 7, 2) - scr_hb_add(130, 3, 7, 2) - scr_hb_add(130, 4, 7, 0) - scr_hb_add(130, 5, 7, 1) - scr_hb_add(130, 6, 7, 2) - scr_hb_add(130, 7, 7, 0) - scr_hb_add(130, 8, 7, 1) - maxtimer = 220 - } - if (type == 9) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 8, 0) - scr_hb_add(0, 5, 8, 0) - scr_hb_add(19, 6, 8, 0) - scr_hb_add(19, 7, 8, 0) - scr_hb_add(38, 0, 8, 1) - scr_hb_add(38, 1, 8, 0) - scr_hb_add(38, 2, 8, 2) - scr_hb_add(57, 0, 8, 0) - scr_hb_add(57, 2, 8, 0) - scr_hb_add(76, 6, 8, 0) - scr_hb_add(76, 7, 8, 0) - scr_hb_add(95, 4, 8, 0) - scr_hb_add(95, 5, 8, 0) - scr_hb_add(120, 0, 8, 1) - scr_hb_add(120, 1, 8, 0) - scr_hb_add(120, 2, 8, 2) - scr_hb_add(135, 0, 8, 0) - scr_hb_add(135, 2, 8, 0) - maxtimer = 210 - } - if (type == 10 || type == 12) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 0 - cur_time = 0 - time_gap = 17 - if (type == 12) - { - time_gap = 12 - max_attack = 16 - } - prev_pat = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - prev_pat = cur_pat - } - maxtimer = (cur_time + 50) - } - if (type == 11 || type == 13) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 1 - cur_time = 0 - time_gap = 18 - if (type == 13) - { - time_gap = 13 - max_attack = 16 - } - prev_dir = -1 - prev_pat = -1 - cur_dir = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - } - } - if (cur_pat >= 6) - cur_dir = 1 - else - cur_dir = 2 - if (prev_dir != -1) - { - if (prev_dir != cur_dir) - { - if (type == 11) - cur_time += 5 - if (type == 13) - cur_time += 4 - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 6) - { - scr_hb_add(cur_time, 3, 8, 0) - scr_hb_add(cur_time, 4, 8, 0) - cur_time += time_gap - } - if (cur_pat == 7) - { - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 0) - cur_time += time_gap - } - if (cur_pat == 8) - { - scr_hb_add(cur_time, 3, 8, 1) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 2) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - if (cur_pat == 9) - { - scr_hb_add(cur_time, 3, 8, 2) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 1) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - prev_pat = cur_pat - prev_dir = cur_dir - } - maxtimer = (cur_time + 50) - } - global.turntimer = maxtimer - defined = 1 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml deleted file mode 100644 index 3df40f867..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml +++ /dev/null @@ -1,60 +0,0 @@ -if (active == true && defined == 1) -{ - while (bullettime[curbullet] == bultimer) - { - bul = instance_create(0, 0, obj_halfbullet) - if instance_exists(bul) - { - if (bulletpos[curbullet] == 0 || bulletpos[curbullet] == 1 || bulletpos[curbullet] == 2) - { - bul.x = xpos[bulletpos[curbullet]] - bul.y = -60 - bul.hspeed = 0 - bul.vspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 3 || bulletpos[curbullet] == 4 || bulletpos[curbullet] == 5) - { - bul.x = -48 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 6 || bulletpos[curbullet] == 7 || bulletpos[curbullet] == 8) - { - bul.x = 700 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = (-bulletspeed[curbullet]) - } - bul.type = bullettype[curbullet] - if (bul.type == 1) - bul.image_blend = global.joycon_color[0] - if (bul.type == 2) - bul.image_blend = global.joycon_color[1] - } - curbullet += 1 - if (curbullet >= maxbullet) - { - break - active = false - } - } -} -bultimer += 1 -if (bultimer >= (maxtimer - 10)) - darkness = 0 -if (bultimer >= maxtimer) -{ - with (obj_halfbullet) - instance_destroy() - instance_destroy() -} -if (shift_timer_max >= -1) -{ - shift_timer += 1 - if (shift_timer == shift_timer_max) - { - with (obj_hearthalf) - vertical_ok = 1 - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index f9c3e45d6..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,21 +0,0 @@ -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -var msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (var i = 0; true; i++) -{ - var text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -var xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 08a409c88..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,444 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -var vspacing = 15 -if (global.language == "ja") - vspacing = 16 -var button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), string_hash_to_newline(itext)) - var xx = ((20 + string_width(string_hash_to_newline(itext))) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -var stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), string_hash_to_newline(stext)) - draw_set_color(c_white) -} -button_x += string_width(string_hash_to_newline(stext)) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, string_hash_to_newline(global.button0)) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), string_hash_to_newline(global.button1)) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), string_hash_to_newline(global.button2)) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var analog_text_width = string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")))) - draw_text_transformed(20, (135 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_choice"))) -if (global.joy_dir == 0) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_normal"))) -if (global.joy_dir == 1) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_analog"))) -if (global.joy_dir == 2) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_pov"))) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_reset"))) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_test"))) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_fall")), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 494a374b5..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - return; -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - return; - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index d63e8da5e..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,99 +0,0 @@ -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - return; -} -num_borders = 12 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (var i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -border_11 = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - var BW = ini_read_real("General", "BW", 0) - var BP = ini_read_real("General", "BP", 0) - var BH = ini_read_real("General", "BH", 0) - var DB = ini_read_real("General", "DB", 0) - var EndF = ini_read_real("EndF", "EndF", 0) - var M = ini_read_real("Alphys", "M", 0) - var R = ini_read_real("Alphys", "R", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (global.osflavor == 5) - { - if M - { - border_enabled[11] = 1 - border_11 = R - } - if DB - border_enabled[12] = 1 - } - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 8c37eb92b..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,302 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_fall")), 1, 1, -20) -} -var menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, string_hash_to_newline(scr_gettext("settings_language"))) -draw_text(92, 70, string_hash_to_newline(scr_gettext(("settings_language_" + global.language)))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_button"))) - var vspacing = 18 - var button_x = 0 - for (var i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - var itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), string_hash_to_newline(itext)) - draw_set_color(c_white) - var xx = (40 + string_width(string_hash_to_newline(itext))) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - var button = -4 - for (var b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check((obj_time.j_ch - 1), button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - var command = string_char_at("ZXC", (i + 1)) - var sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(scr_gettext("joyconfig_reset"))) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - var border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_label)) - if (global.screen_border_id == 0) - var border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == 11) - border_sel = scr_gettext(((("settings_border_" + string(global.screen_border_id)) + "_") + string(border_11))) - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(string_hash_to_newline(border_label))) + 20), ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_sel)) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_joyconfig"))) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 0210cdb97..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), string_hash_to_newline((s_value[(i * 2)] + "G - Ninechara"))) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), string_hash_to_newline((s_value[((i * 2) + 1)] + "G - Ninechara"))) - } - draw_text(30, 210, string_hash_to_newline(scr_gettext("shop_exit_submenu"))) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, string_hash_to_newline((("Really sell Ninechara for " + string(value[sellpos])) + "G?"))) - draw_text(80, 180, string_hash_to_newline("Yes")) - draw_text(190, 180, string_hash_to_newline("No")) - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_time_Create_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_time_Create_0.gml deleted file mode 100644 index 6fc0ce9ec..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_time_Create_0.gml +++ /dev/null @@ -1,155 +0,0 @@ -if (os_type == os_windows) - global.osflavor = 1 -else if (os_type == os_ps4 || os_type == os_psvita) - global.osflavor = 4 -else if (os_type == os_switch_beta) - global.osflavor = 5 -else - global.osflavor = 2 -global.locale = ((os_get_language() + "_") + string_upper(os_get_region())) -if (global.osflavor >= 3) -{ - application_surface_enable(true) - application_surface_draw_enable(false) -} -if (os_type == os_switch_beta && (!variable_global_exists("switchlogin"))) -{ - global.switchlogin = -1 - while (global.switchlogin < 0) - global.switchlogin = switch_accounts_select_account(1, 0, 0) -} -if (os_type == os_switch_beta) -{ - switch_controller_support_set_defaults() - switch_controller_support_set_singleplayer_only(1) - switch_controller_set_supported_styles(7) - missing_controller_timeout = 0 -} -global.savedata_async_id = -1 -global.savedata_async_load = 0 -global.savedata_error = 0 -global.savedata_debuginfo = "" -global.disable_os_pause = 0 -paused = 0 -idle = 0 -idle_time = 0 -up = 0 -down = 0 -left = 0 -right = 0 -quit = 0 -try_up = 0 -try_down = 0 -try_left = 0 -try_right = 0 -canquit = 1 -h_skip = 0 -j_xpos = 0 -j_ypos = 0 -j_dir = 0 -j_fr = 0 -j_fl = 0 -j_fu = 0 -j_fd = 0 -j_fr_p = 0 -j_fl_p = 0 -j_fu_p = 0 -j_fd_p = 0 -for (var i = 0; i < 12; i += 1) -{ - j_prev[i] = 0 - j_on[i] = 0 -} -global.button0 = 2 -global.button1 = 1 -global.button2 = 4 -global.analog_sense = 0.15 -global.analog_sense_sense = 0.01 -global.joy_dir = 0 -if (os_type == os_ps4 || os_type == os_psvita) -{ - if (substr(global.locale, 1, 2) == "ja") - { - global.button0 = 32770 - global.button1 = 32769 - } - else - { - global.button0 = 32769 - global.button1 = 32770 - } - global.button2 = 32772 -} -else if (os_type == os_switch_beta) -{ - global.button0 = 32770 - global.button1 = 32769 - global.button2 = 32772 -} -global.default_button0 = global.button0 -global.default_button1 = global.button1 -global.default_button2 = global.button2 -global.default_analog_sense = global.analog_sense -global.default_analog_sense_sense = global.analog_sense_sense -global.default_joy_dir = global.joy_dir -global.screen_border_id = 0 -global.screen_border_active = 0 -global.screen_border_alpha = 1 -global.screen_border_state = 0 -global.screen_border_dynamic_fade_id = 0 -global.screen_border_dynamic_fade_level = 0 -global.screen_border_activate_on_game_over = 0 -debug_r = 0 -debug_f = 0 -j1 = 0 -j2 = 0 -ja = 0 -j_ch = 0 -jt = 0 -if (global.osflavor >= 4) -{ - for (i = 0; i < gamepad_get_device_count(); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch == 0) - { - if (os_type == os_switch_beta) - { - if (switch_controller_support_show() == 0) - j_ch = (switch_controller_support_get_selected_id() + 1) - } - else - j_ch = 1 - } -} -spec_rtimer = 0 -global.endsong_loaded = 0 -control_init() -scr_kanatype_init() -if (!variable_global_exists("text_data_en")) - script_execute(textdata_en) -if (!variable_global_exists("text_data_ja")) - script_execute(textdata_ja) -if (os_type == os_switch_beta) - global.language = substr(switch_language_get_desired_language(), 1, 2) -else - global.language = substr(global.locale, 1, 2) -if (global.language != "ja") - global.language = "en" -if (!variable_global_exists("trophy_init_complete")) -{ - global.trophy_init_complete = 0 - trophy_ts = -1 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_time_Step_1.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_time_Step_1.gml deleted file mode 100644 index bca42138e..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_time_Step_1.gml +++ /dev/null @@ -1,400 +0,0 @@ -if (started <= 0) -{ - if (global.savedata_async_id >= 0) - return; - started = -1 - if (!trophy_init()) - { - if (trophy_ts < 0) - trophy_ts = current_time - return; - } - ossafe_ini_open("config.ini") - var lang = ini_read_string("General", "lang", "") - var sb_i = ini_read_real("General", "sb", -1) - var b0_i = ini_read_real("joypad1", "b0", -1) - var b1_i = ini_read_real("joypad1", "b1", -1) - var b2_i = ini_read_real("joypad1", "b2", -1) - var as_i = ini_read_real("joypad1", "as", -1) - var jd_i = ini_read_real("joypad1", "jd", -1) - if (string_length(lang) > 0) - global.language = lang - if (sb_i >= 0) - global.screen_border_id = sb_i - if (b0_i >= 0) - global.button0 = b0_i - if (b1_i >= 0) - global.button1 = b1_i - if (b2_i >= 0) - global.button2 = b2_i - if (as_i >= 0) - global.analog_sense = as_i - if (jd_i >= 0) - global.joy_dir = jd_i - ossafe_ini_close() - scr_enable_screen_border(global.osflavor >= 4) - if (global.osflavor >= 4) - { - global.analog_sense = 0.15 - if (os_type == os_psvita) - global.analog_sense = 0.9 - global.joy_dir = 0 - } - ossafe_ini_open("undertale.ini") - fskip = ini_read_real("FFFFF", "E", -1) - ftime = ini_read_real("FFFFF", "F", -1) - true_end = ini_read_real("EndF", "EndF", -1) - ossafe_ini_close() - sksk = 0 - if (ftime == 1) - { - sksk = 1 - room_goto(room_f_start) - } - if (true_end == 1 && sksk == 0) - { - sksk = 1 - room_goto(room_flowey_regret) - } - if (fskip >= 1 && sksk == 0) - { - global.filechoice = 8 - scr_load() - if (fskip == 1) - room_goto(room_flowey_endchoice) - if (fskip == 2) - room_goto(room_castle_exit) - } - else if (sksk == 0) - room_goto_next() - if (ossafe_file_exists("system_information_962") && (!ossafe_file_exists("system_information_963"))) - room_goto(room_nothingness) - started = 1 - return; -} -if (!paused) - time += 1 -if (global.osflavor <= 2) -{ - if (jt == 0) - { - if (j_ch != 2) - { - if joystick_exists(1) - j_ch = 1 - else if (j_ch == 1) - j_ch = 0 - } - } - if (jt == 4) - { - if (j_ch != 1) - { - if joystick_exists(2) - j_ch = 2 - else if (j_ch == 2) - j_ch = 0 - } - } - jt += 1 - if (jt >= 8) - jt = 0 -} -else if (os_type == os_switch_beta) -{ - if (j_ch > 0 && gamepad_is_connected((j_ch - 1))) - missing_controller_timeout = 0 - else - { - j_ch = 0 - for (var i = 0; (i < gamepad_get_device_count()); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch > 0) - missing_controller_timeout = 0 - else if (missing_controller_timeout == 0) - missing_controller_timeout = (current_time + 2000) - else if (current_time >= missing_controller_timeout) - { - if (switch_controller_support_show() == 0) - { - j_ch = (switch_controller_support_get_selected_id() + 1) - missing_controller_timeout = 0 - } - } - } -} -control_update() -if (j_ch > 0) -{ - j_fr_p = j_fr - j_fl_p = j_fl - j_fu_p = j_fu - j_fd_p = j_fd - j_fr = 0 - j_fl = 0 - j_fu = 0 - j_fd = 0 - if (global.osflavor >= 4) - { - if (gamepad_button_check((j_ch - 1), gp_padu) || gamepad_button_check((j_ch - 1), gp_padd) || gamepad_button_check((j_ch - 1), gp_padl) || gamepad_button_check((j_ch - 1), gp_padr)) - { - j_fu = gamepad_button_check((j_ch - 1), gp_padu) - j_fd = gamepad_button_check((j_ch - 1), gp_padd) - j_fl = gamepad_button_check((j_ch - 1), gp_padl) - j_fr = gamepad_button_check((j_ch - 1), gp_padr) - } - else if (global.joy_dir != 2) - { - var j_xpos = gamepad_axis_value((j_ch - 1), gp_axislh) - var j_ypos = gamepad_axis_value((j_ch - 1), gp_axislv) - var analog_sense = global.analog_sense - if (sqrt((sqr(j_xpos) + sqr(j_ypos))) >= analog_sense) - { - var angle = darctan2(j_ypos, j_xpos) - if (angle < 0) - angle += 360 - if (angle < 67.5 || angle > 292.5) - j_fr = 1 - if (angle > 22.5 && angle < 157.5) - j_fd = 1 - if (angle > 112.5 && angle < 247.5) - j_fl = 1 - if (angle > 202.5 && angle < 337.5) - j_fu = 1 - } - } - } - else - { - if (global.joy_dir == 0 || global.joy_dir == 1) - { - j_xpos = joystick_xpos(j_ch) - j_ypos = joystick_ypos(j_ch) - } - j_dir = joystick_direction(j_ch) - if (global.joy_dir == 0 || global.joy_dir == 1) - { - if (j_dir == 101) - { - if (j_xpos >= global.analog_sense) - j_fr = 1 - if (j_xpos <= (-global.analog_sense)) - j_fl = 1 - if (j_ypos >= global.analog_sense) - j_fd = 1 - if (j_ypos <= (-global.analog_sense)) - j_fu = 1 - } - } - if (j_dir != 101) - { - if (j_dir == 100) - j_fl = 1 - if (j_dir == 98) - j_fd = 1 - if (j_dir == 102) - j_fr = 1 - if (j_dir == 104) - j_fu = 1 - if (j_dir == 99) - { - j_fr = 1 - j_fd = 1 - } - if (j_dir == 97) - { - j_fd = 1 - j_fl = 1 - } - if (j_dir == 103) - { - j_fu = 1 - j_fl = 1 - } - if (j_dir == 105) - { - j_fu = 1 - j_fr = 1 - } - } - if (global.joy_dir == 0 || global.joy_dir == 2) - { - j_pov = joystick_pov(j_ch) - if (j_pov == 0) - j_fu = 1 - if (j_pov == 270) - j_fl = 1 - if (j_pov == 90) - j_fr = 1 - if (j_pov == 180) - j_fd = 1 - if (j_pov == 315) - { - j_fu = 1 - j_fl = 1 - } - if (j_pov == 45) - { - j_fu = 1 - j_fr = 1 - } - if (j_pov == 225) - { - j_fd = 1 - j_fl = 1 - } - if (j_pov == 135) - { - j_fd = 1 - j_fr = 1 - } - } - } - if (j_fr != j_fr_p && j_fr == 1) - keyboard_key_press(vk_right) - if (j_fl != j_fl_p && j_fl == 1) - keyboard_key_press(vk_left) - if (j_fd != j_fd_p && j_fd == 1) - keyboard_key_press(vk_down) - if (j_fu != j_fu_p && j_fu == 1) - keyboard_key_press(vk_up) - if (j_fr != j_fr_p && j_fr == 0) - keyboard_key_release(vk_right) - if (j_fl != j_fl_p && j_fl == 0) - keyboard_key_release(vk_left) - if (j_fd != j_fd_p && j_fd == 0) - keyboard_key_release(vk_down) - if (j_fu != j_fu_p && j_fu == 0) - keyboard_key_release(vk_up) -} -up = 0 -down = 0 -left = 0 -right = 0 -if keyboard_check(vk_up) - try_up = 1 -if keyboard_check_released(vk_up) - try_up = 0 -if keyboard_check(vk_down) - try_down = 1 -if keyboard_check_released(vk_down) - try_down = 0 -if keyboard_check(vk_right) - try_right = 1 -if keyboard_check_released(vk_right) - try_right = 0 -if keyboard_check(vk_left) - try_left = 1 -if keyboard_check_released(vk_left) - try_left = 0 -if (global.osflavor == 1) -{ - if try_up - up = keyboard_check_direct(vk_up) - if try_down - down = keyboard_check_direct(vk_down) - if try_left - left = keyboard_check_direct(vk_left) - if try_right - right = keyboard_check_direct(vk_right) -} -else -{ - if try_up - up = keyboard_check(vk_up) - if try_down - down = keyboard_check(vk_down) - if try_left - left = keyboard_check(vk_left) - if try_right - right = keyboard_check(vk_right) -} -if keyboard_check_released(vk_up) - up = 0 -if keyboard_check_released(vk_down) - down = 0 -if keyboard_check_released(vk_left) - left = 0 -if keyboard_check_released(vk_right) - right = 0 -var now_idle = (!(up || down || left || right || control_check(0) || control_check(1) || control_check(2))) -if (now_idle && (!idle)) - idle_time = current_time -idle = now_idle -if control_check(2) -{ - if (global.flag[28] == 1) - { - if (instance_exists(OBJ_WRITER) && (!instance_exists(obj_choicer))) - { - if (h_skip == 0) - { - keyboard_key_press(ord("X")) - keyboard_key_press(ord("Z")) - } - if (h_skip == 1) - { - keyboard_key_release(ord("Z")) - keyboard_key_release(ord("X")) - } - if (h_skip == 0) - h_skip = 1 - else - h_skip = 0 - } - } -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("F")) - room_speed = 200 -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("W")) - room_speed = 10 -} -if keyboard_check_pressed(vk_f4) -{ - if window_get_fullscreen() - window_set_fullscreen(false) - else - window_set_fullscreen(true) -} -if (canquit == 1) -{ - if (global.debug == 1) - { - if (keyboard_check_pressed(ord("R")) && instance_exists(obj_essaystuff) == 0) - { - debug_r += 1 - if (debug_r > 5) - game_restart() - spec_rtimer = 1 - } - } - spec_rtimer += 1 - if (spec_rtimer >= 6) - debug_r = 0 - if keyboard_check(vk_escape) - { - quit += 1 - if (instance_exists(obj_quittingmessage) == 0) - instance_create(0, 0, obj_quittingmessage) - } - else - quit = 0 -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 887b086f9..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - return; - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ee7a4ca81..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6623 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\\XLa, la.^3 &Time to wake&up and\\R smell\\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\\Y" - if (global.flag[22] == 2) - adder = "\\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 965: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_2") - global.msg[1] = scr_gettext("SCR_TEXT_mewmew_3") - global.msg[2] = " " - if (global.tempvalue[14] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_6") - with (obj_mewmew_npc) - con = 1 - } - break - case 966: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_4") - with (obj_mewmew_npc) - con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_5") - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1077: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_0") - if instance_exists(obj_mewmew_boss) - { - if (obj_mewmew_boss.true_battle >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_1") - } - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index bd067ef6b..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, false, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_joystick_pov.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_joystick_pov.gml deleted file mode 100644 index 6c8efecf4..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_joystick_pov.gml +++ /dev/null @@ -1,7 +0,0 @@ -var jid = __joystick_2_gamepad(argument0) -var mask = 0 -mask |= (gamepad_button_value(jid, gp_padu) > 0 ? 1 : 0) -mask |= (gamepad_button_value(jid, gp_padr) > 0 ? 2 : 0) -mask |= (gamepad_button_value(jid, gp_padd) > 0 ? 4 : 0) -mask |= (gamepad_button_value(jid, gp_padl) > 0 ? 8 : 0) -return global.__jstick_povangle[mask]; diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 5baecfc3f..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,43 +0,0 @@ -var lines; -if (global.osflavor <= 2) - return file_text_open_read(argument0); -else -{ - var name = string_lower(argument0) - var file = ds_map_find_value(global.savedata, name) - if is_undefined(file) - return undefined; - var data = file - var num_lines = 0 - while (string_byte_length(data) > 0) - { - var newline_pos = string_pos(chr($0A), data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == chr($0D)) - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line - } - handle = ds_map_create() - ds_map_set(handle, "is_write", 0) - ds_map_set(handle, "text", lines) - ds_map_set(handle, "num_lines", num_lines) - ds_map_set(handle, "line", 0) - ds_map_set(handle, "line_read", 0) - return handle; -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index f76acbdc9..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,23 +0,0 @@ -var xx = argument0 -var yy = argument1 -if (global.language == "ja") -{ - var use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (var i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, string_hash_to_newline(global.charname)) -return string_width(string_hash_to_newline(global.charname)); diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_draw_screen_border.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_draw_screen_border.gml deleted file mode 100644 index ddd3cc787..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_draw_screen_border.gml +++ /dev/null @@ -1,259 +0,0 @@ -var overlay; -var border_id = argument0 -draw_enable_alphablend(0) -if (border_id == 1) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_line_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_line_544, 0, 0) -} -if (border_id == 2) -{ - var fade_time = 60 - if instance_exists(obj_stalkerflowey) - { - global.screen_border_state += (1 / fade_time) - if (global.screen_border_state > 1) - global.screen_border_state = 1 - } - else - { - global.screen_border_state -= (1 / fade_time) - if (global.screen_border_state < 0) - global.screen_border_state = 0 - } - var idle_min = 300000 - var idle_time = 0 - if (obj_time.idle && current_time >= (obj_time.idle_time + idle_min)) - idle_time = (current_time - (obj_time.idle_time + idle_min)) - var idle_frame = (floor((idle_time / 100)) % 3) - var base = -4 - for (var i = 0; i < 9; i++) - { - overlay[i, 0] = -4 - overlay[i, 1] = spr_undertaletitle - overlay[i, 2] = spr_undertaletitle - } - if (os_type == os_ps4 || os_type == os_switch_beta) - { - base = bg_border_sepia_1080 - overlay[0, 1] = spr_blconbelow - overlay[0, 2] = spr_truechara_laugh - overlay[1, 1] = spr_superbone - overlay[1, 2] = buttonL_nx_zr - overlay[2, 1] = spr_barktry_ja - overlay[2, 2] = spr_finalfroggit - overlay[3, 1] = spr_undertaletitle - overlay[3, 2] = spr_undynex_example - overlay[4, 1] = spr_vegetoid - overlay[4, 2] = spr_blconbelow - overlay[5, 1] = spr_bookshelf - overlay[5, 2] = spr_undertaletitle - overlay[6, 1] = spr_forcefield_right_middle - overlay[6, 2] = spr_alphyshelper_embarrass - overlay[7, 1] = spr_chipdoor_chippart - overlay[7, 2] = spr_gb_npc - overlay[8, 1] = spr_undynea_ut - overlay[8, 2] = spr_uppbutton - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_1080_1a - overlay[1, 0] = bg_border_sepia_1080_2a - overlay[2, 0] = bg_border_sepia_1080_3a - overlay[3, 0] = bg_border_sepia_1080_4a - overlay[4, 0] = bg_border_sepia_1080_5a - overlay[5, 0] = bg_border_sepia_1080_6a - overlay[6, 0] = bg_border_sepia_1080_7a - overlay[7, 0] = bg_border_sepia_1080_8a - overlay[8, 0] = bg_border_sepia_1080_9a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_1080_1b - overlay[1, 0] = bg_border_sepia_1080_2b - overlay[2, 0] = bg_border_sepia_1080_3b - overlay[3, 0] = bg_border_sepia_1080_4b - overlay[4, 0] = bg_border_sepia_1080_5b - overlay[5, 0] = bg_border_sepia_1080_6b - overlay[6, 0] = bg_border_sepia_1080_7b - overlay[7, 0] = bg_border_sepia_1080_8b - overlay[8, 0] = bg_border_sepia_1080_9b - } - if (global.screen_border_state > 0) - overlay1 = 2839 - } - else if (os_type == os_psvita) - { - base = bg_border_sepia_544 - overlay[0, 1] = spr_talkbt - overlay[0, 2] = spr_undyneb_face3 - overlay[1, 1] = spr_heartorange - overlay[1, 2] = spr_wizard_orbhurt - overlay[2, 1] = spr_undertaletitle - overlay[2, 2] = spr_oolbone_ja - overlay[3, 1] = button_ps4_l3 - overlay[3, 2] = spr_undertaletitle - overlay[4, 1] = buttonL_nx_zl - overlay[4, 2] = spr_whimsunhurt - overlay[5, 1] = buttonL_vita_triangle - overlay[5, 2] = spr_vulkinface5 - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_544_1a - overlay[1, 0] = bg_border_sepia_544_2a - overlay[2, 0] = bg_border_sepia_544_3a - overlay[3, 0] = bg_border_sepia_544_4a - overlay[4, 0] = bg_border_sepia_544_5a - overlay[5, 0] = bg_border_sepia_544_6a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_544_1b - overlay[1, 0] = bg_border_sepia_544_2b - overlay[2, 0] = bg_border_sepia_544_3b - overlay[3, 0] = bg_border_sepia_544_4b - overlay[4, 0] = bg_border_sepia_544_5b - overlay[5, 0] = bg_border_sepia_544_6b - } - if (global.screen_border_state > 0) - overlay1 = 2853 - } - if (base != -4) - { - scr_draw_background_ps4(base, 0, 0) - if (overlay[0, 0] != -4) - { - if (global.screen_border_state > 0) - { - draw_enable_alphablend(1) - draw_set_alpha((global.screen_border_state * 0.5)) - } - scr_draw_background_ps4(overlay[0, 0], overlay[0, 1], overlay[0, 2]) - if (global.screen_border_state > 0) - { - draw_set_alpha(1) - draw_enable_alphablend(0) - } - } - for (i = 1; i < 9; i++) - { - if (overlay[i, 0] != -4) - scr_draw_background_ps4(overlay[i, 0], overlay[i, 1], overlay[i, 2]) - } - } -} -if (border_id == 3) -{ - var room_id = global.currentroom - if ((room_id >= 4 && room_id <= 43) || (room >= room_introstory && room <= room_intromenu) || (room >= room_settings && room <= room_controltest)) - border_id = 4 - if ((room_id >= 44 && room_id <= 81) || room_id == 311 || (room_id >= 265 && room_id <= 266)) - border_id = 5 - if ((room_id >= 82 && room_id <= 136) || room_id == 312 || room_id == 315) - border_id = 6 - if ((room_id >= 137 && room_id <= 215) || room_id == 313 || room_id == 314 || (room_id >= 242 && room_id <= 243)) - border_id = 7 - if (room_id >= 216 && room_id <= 240) - border_id = 8 - if (room_id >= 244 && room_id <= 263) - border_id = 9 - if (room_id == 136 || room_id == 213 || room_id == 215 || room_id == 242 || room_id == 243 || room_id == 316 || room_id == 335 || room_id == 336 || room_id == 337) - border_id = 3.5 - if (global.flag[479] == 0 && (room_id == 244 || room_id == 245)) - border_id = 3.5 - if (border_id != global.screen_border_state) - { - if (global.screen_border_state != 0) - { - if (global.screen_border_dynamic_fade_id == border_id) - global.screen_border_dynamic_fade_level = (1 - global.screen_border_dynamic_fade_level) - else - global.screen_border_dynamic_fade_level = 1 - global.screen_border_dynamic_fade_id = global.screen_border_state - } - global.screen_border_state = border_id - } - if (global.screen_border_dynamic_fade_level > 0) - { - fade_time = 30 - global.screen_border_dynamic_fade_level -= (1 / fade_time) - if (global.screen_border_dynamic_fade_level > 0) - { - scr_draw_screen_border(global.screen_border_dynamic_fade_id) - draw_set_alpha((1 - global.screen_border_dynamic_fade_level)) - } - else - { - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - } - } -} -if (border_id == 3.5) -{ - draw_set_color(c_black) - ossafe_fill_rectangle(0, 0, (window_get_width() - 1), (window_get_height() - 1)) - draw_set_color(c_white) -} -if (border_id == 4) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_ruins_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_ruins_544, 0, 0) -} -if (border_id == 5) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_tundra_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_tundra_544, 0, 0) -} -if (border_id == 6) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_water1_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_water1_544, 0, 0) -} -if (border_id == 7) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_fire_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_fire_544, 0, 0) -} -if (border_id == 8) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_castle_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_castle_544, 0, 0) -} -if (border_id == 9) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_truelab_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_truelab_544, 0, 0) -} -if (border_id == 10) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_rad_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_rad_544, 0, 0) -} -if (border_id == 11) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_anime_1080, 0, 0) -} -if (border_id == 12) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_dog_1080, 0, 0) -} -draw_set_alpha(1) -draw_enable_alphablend(1) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 30f82a28b..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,8 +0,0 @@ -global.msg[0] = scr_gettext("scr_itemdesc_2") -for (var i = 0; true; i++) -{ - var desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 4c986d2f8..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,39 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -var bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 69fc16d1e..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,901 +0,0 @@ -var credamt = 0 -if (global.osflavor <= 2) -{ - var credits_path = (working_directory + "credits.txt") - var credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - var thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew \"Southrop\" Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara \"Svenna\" Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean \"Ariamaki\" Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin \"BenaSPACE\" McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn \"Xisuu\" Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan \"ChessboardMan\" Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles \"Chip Champion\" Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary \"ZarroTsu\" Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will \"Radnar\" Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin \"AT\" Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves \"TehLazyOne\"" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke \"Association\" Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index 910c48cca..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var lines; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - var xx = (name_x - (q / 3)) - if (global.language == "ja") - { - var kana_count = 0 - for (var i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - var confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - return; - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, string_hash_to_newline(spec_m)) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (var row = 0; row < rows; row++) - { - var yy = ymap[row] - for (var col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), string_hash_to_newline(charmap[row, col])) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - var menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, string_hash_to_newline(menu_text0)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - var menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, string_hash_to_newline(menu_text1)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - var menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, string_hash_to_newline(menu_text2)) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - var charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, string_hash_to_newline(charset_text0)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - var charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, string_hash_to_newline(charset_text1)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - var charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, string_hash_to_newline(charset_text2)) - } - var old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - var best = 0 - var bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - var diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, string_hash_to_newline(charname)) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - var roomname = scr_roomname(roome) - var lvtext = scr_gettext("save_menu_lv", string(love)) - var timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - var namesize = string_width(string_hash_to_newline(substr(name, 1, 6))) - var lvsize = string_width(string_hash_to_newline(lvtext)) - var timesize = string_width(string_hash_to_newline(timetext)) - var x_center = 160 - var lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - var namepos = 70 - var timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, string_hash_to_newline(name)) - draw_text(lvpos, 62, string_hash_to_newline(lvtext)) - draw_text((timepos - timesize), 62, string_hash_to_newline(timetext)) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, string_hash_to_newline(roomname)) - if (selected3 == 0) - draw_set_color(c_yellow) - var continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, string_hash_to_newline(continue_text)) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - var reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, string_hash_to_newline(reset_text)) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - var action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, string_hash_to_newline(scr_gettext("instructions_title"))) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\\*Z") - draw_text(115, 50, string_hash_to_newline(scr_gettext("instructions_confirm_label"))) - scr_drawtext_icons(85, 70, "\\*X") - draw_text(115, 70, string_hash_to_newline(scr_gettext("instructions_cancel_label"))) - scr_drawtext_icons(85, 90, "\\*C") - draw_text(115, 90, string_hash_to_newline(scr_gettext("instructions_menu_label"))) - draw_text(86, 130, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - var num_lines = 5 - if (global.language == "ja") - { - var label_x = 0 - for (i = 0; i < num_lines; i++) - { - var key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), string_hash_to_newline(key)) - xx = ((50 + string_width(string_hash_to_newline(key))) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - var label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), string_hash_to_newline(label)) - } - draw_text(50, 145, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), string_hash_to_newline(((key + " - ") + label))) - } - draw_text(85, 140, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, string_hash_to_newline(scr_gettext("instructions_begin"))) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - var yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, string_hash_to_newline(scr_gettext("settings_name"))) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/113ef42e8cb91e5faf780c426679ec3a/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 79f5d3c57..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,436 +0,0 @@ -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -var halfsize = 0 -for (var n = 1; n <= stringpos; n++) -{ - var ch = string_char_at(originalstring, n) - var myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = 0xFDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = 0xD4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - var newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - var sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - var sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - var icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - var sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - var spritex = myx - var spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - var icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - var choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (__view_get(2, view_current) == 640) - myx *= 2 - myx += __view_get(0, view_current) - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - var nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - var letterx = myx - var offsetx = 0 - var offsety = 0 - var halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(string_hash_to_newline(myletter)) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - var unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - var lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - var angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - var display_scale = (surface_get_width(application_surface) / __view_get(2, view_current)) - var finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - var finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, string_hash_to_newline(myletter), (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(string_hash_to_newline(myletter)) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_halfbullet_gen_Other_10.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_halfbullet_gen_Other_10.gml deleted file mode 100644 index eed614253..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_halfbullet_gen_Other_10.gml +++ /dev/null @@ -1,449 +0,0 @@ -if (defined == 0) -{ - if (type == 999) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 2, 6, 0) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 0) - scr_hb_add(22, 2, 6, 2) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 2) - scr_hb_add(66, 1, 6, 0) - scr_hb_add(66, 2, 6, 1) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 0) - scr_hb_add(110, 2, 6, 2) - scr_hb_add(132, 0, 6, 0) - scr_hb_add(132, 2, 6, 0) - scr_hb_add(154, 0, 6, 2) - scr_hb_add(154, 1, 6, 0) - scr_hb_add(154, 2, 6, 1) - maxtimer = 250 - } - if (type == 0) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(8, 1, 6, 0) - scr_hb_add(16, 1, 6, 0) - maxtimer = 95 - } - if (type == 1) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(25, 0, 6, 0) - scr_hb_add(25, 2, 6, 0) - scr_hb_add(50, 1, 6, 0) - scr_hb_add(75, 0, 6, 0) - scr_hb_add(75, 2, 6, 0) - maxtimer = 150 - } - if (type == 2) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 0) - scr_hb_add(132, 2, 6, 2) - scr_hb_add(138, 0, 6, 1) - scr_hb_add(138, 1, 6, 0) - scr_hb_add(138, 2, 6, 2) - scr_hb_add(144, 0, 6, 1) - scr_hb_add(144, 1, 6, 0) - scr_hb_add(144, 2, 6, 2) - maxtimer = 220 - } - if (type == 3) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 1, 6, 1) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 2) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 1, 6, 1) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 2) - scr_hb_add(132, 2, 6, 0) - maxtimer = 210 - } - if (type == 4) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 2) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(44, 2, 6, 2) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 1, 6, 1) - scr_hb_add(66, 2, 6, 2) - scr_hb_add(88, 0, 6, 1) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 2) - scr_hb_add(110, 2, 6, 0) - maxtimer = 180 - } - if (type == 5) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(19, 0, 6, 0) - scr_hb_add(19, 2, 6, 0) - scr_hb_add(38, 0, 6, 0) - scr_hb_add(38, 1, 6, 1) - scr_hb_add(38, 2, 6, 2) - scr_hb_add(57, 0, 6, 0) - scr_hb_add(57, 2, 6, 0) - scr_hb_add(76, 1, 6, 0) - scr_hb_add(95, 0, 6, 0) - scr_hb_add(95, 2, 6, 0) - scr_hb_add(114, 0, 6, 1) - scr_hb_add(114, 1, 6, 2) - scr_hb_add(114, 2, 6, 0) - scr_hb_add(133, 0, 6, 0) - scr_hb_add(133, 2, 6, 0) - scr_hb_add(165, 1, 8, 0) - maxtimer = 230 - } - if (type == 6) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(20, 1, 6, 0) - scr_hb_add(20, 2, 6, 0) - scr_hb_add(40, 0, 6, 1) - scr_hb_add(40, 1, 6, 0) - scr_hb_add(40, 2, 6, 2) - scr_hb_add(60, 0, 6, 0) - scr_hb_add(60, 1, 6, 0) - scr_hb_add(80, 0, 6, 0) - scr_hb_add(80, 2, 6, 0) - scr_hb_add(100, 1, 6, 0) - scr_hb_add(100, 2, 6, 0) - scr_hb_add(120, 0, 6, 0) - scr_hb_add(120, 2, 6, 0) - scr_hb_add(140, 0, 6, 0) - scr_hb_add(140, 1, 6, 0) - scr_hb_add(160, 0, 6, 1) - scr_hb_add(160, 1, 6, 0) - scr_hb_add(160, 2, 6, 2) - scr_hb_add(167, 0, 6, 1) - scr_hb_add(167, 1, 6, 0) - scr_hb_add(167, 2, 6, 2) - scr_hb_add(174, 0, 6, 1) - scr_hb_add(174, 1, 6, 0) - scr_hb_add(174, 2, 6, 2) - shift_timer_max = 235 - scr_hb_add(235, 4, 10, 0) - scr_hb_add(235, 7, 10, 0) - maxtimer = 290 - } - if (type == 7) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 3, 6, 1) - scr_hb_add(0, 4, 6, 0) - scr_hb_add(0, 5, 6, 2) - scr_hb_add(30, 0, 6, 1) - scr_hb_add(30, 1, 6, 0) - scr_hb_add(30, 2, 6, 2) - scr_hb_add(60, 3, 6, 2) - scr_hb_add(60, 4, 6, 0) - scr_hb_add(60, 5, 6, 1) - scr_hb_add(90, 0, 6, 1) - scr_hb_add(90, 1, 6, 0) - scr_hb_add(90, 2, 6, 2) - scr_hb_add(120, 3, 6, 1) - scr_hb_add(120, 4, 6, 0) - scr_hb_add(120, 5, 6, 2) - scr_hb_add(150, 0, 6, 1) - scr_hb_add(150, 1, 6, 0) - scr_hb_add(150, 2, 6, 2) - maxtimer = 230 - } - if (type == 8) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 7, 0) - scr_hb_add(0, 5, 7, 0) - scr_hb_add(20, 1, 7, 0) - scr_hb_add(20, 2, 7, 0) - scr_hb_add(40, 6, 7, 0) - scr_hb_add(40, 7, 7, 0) - scr_hb_add(60, 0, 7, 0) - scr_hb_add(60, 1, 7, 0) - scr_hb_add(80, 0, 7, 1) - scr_hb_add(80, 1, 7, 0) - scr_hb_add(80, 2, 7, 2) - scr_hb_add(105, 3, 7, 1) - scr_hb_add(105, 4, 7, 0) - scr_hb_add(105, 5, 7, 2) - scr_hb_add(105, 6, 7, 1) - scr_hb_add(105, 7, 7, 0) - scr_hb_add(105, 8, 7, 2) - scr_hb_add(130, 3, 7, 2) - scr_hb_add(130, 4, 7, 0) - scr_hb_add(130, 5, 7, 1) - scr_hb_add(130, 6, 7, 2) - scr_hb_add(130, 7, 7, 0) - scr_hb_add(130, 8, 7, 1) - maxtimer = 220 - } - if (type == 9) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 8, 0) - scr_hb_add(0, 5, 8, 0) - scr_hb_add(19, 6, 8, 0) - scr_hb_add(19, 7, 8, 0) - scr_hb_add(38, 0, 8, 1) - scr_hb_add(38, 1, 8, 0) - scr_hb_add(38, 2, 8, 2) - scr_hb_add(57, 0, 8, 0) - scr_hb_add(57, 2, 8, 0) - scr_hb_add(76, 6, 8, 0) - scr_hb_add(76, 7, 8, 0) - scr_hb_add(95, 4, 8, 0) - scr_hb_add(95, 5, 8, 0) - scr_hb_add(120, 0, 8, 1) - scr_hb_add(120, 1, 8, 0) - scr_hb_add(120, 2, 8, 2) - scr_hb_add(135, 0, 8, 0) - scr_hb_add(135, 2, 8, 0) - maxtimer = 210 - } - if (type == 10 || type == 12) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 0 - cur_time = 0 - time_gap = 17 - if (type == 12) - { - time_gap = 12 - max_attack = 16 - } - prev_pat = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - prev_pat = cur_pat - } - maxtimer = (cur_time + 50) - } - if (type == 11 || type == 13) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 1 - cur_time = 0 - time_gap = 18 - if (type == 13) - { - time_gap = 13 - max_attack = 16 - } - prev_dir = -1 - prev_pat = -1 - cur_dir = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - } - } - if (cur_pat >= 6) - cur_dir = 1 - else - cur_dir = 2 - if (prev_dir != -1) - { - if (prev_dir != cur_dir) - { - if (type == 11) - cur_time += 5 - if (type == 13) - cur_time += 4 - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 6) - { - scr_hb_add(cur_time, 3, 8, 0) - scr_hb_add(cur_time, 4, 8, 0) - cur_time += time_gap - } - if (cur_pat == 7) - { - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 0) - cur_time += time_gap - } - if (cur_pat == 8) - { - scr_hb_add(cur_time, 3, 8, 1) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 2) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - if (cur_pat == 9) - { - scr_hb_add(cur_time, 3, 8, 2) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 1) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - prev_pat = cur_pat - prev_dir = cur_dir - } - maxtimer = (cur_time + 50) - } - global.turntimer = maxtimer - defined = 1 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_halfbullet_gen_Step_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_halfbullet_gen_Step_0.gml deleted file mode 100644 index 3df40f867..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_halfbullet_gen_Step_0.gml +++ /dev/null @@ -1,60 +0,0 @@ -if (active == true && defined == 1) -{ - while (bullettime[curbullet] == bultimer) - { - bul = instance_create(0, 0, obj_halfbullet) - if instance_exists(bul) - { - if (bulletpos[curbullet] == 0 || bulletpos[curbullet] == 1 || bulletpos[curbullet] == 2) - { - bul.x = xpos[bulletpos[curbullet]] - bul.y = -60 - bul.hspeed = 0 - bul.vspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 3 || bulletpos[curbullet] == 4 || bulletpos[curbullet] == 5) - { - bul.x = -48 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 6 || bulletpos[curbullet] == 7 || bulletpos[curbullet] == 8) - { - bul.x = 700 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = (-bulletspeed[curbullet]) - } - bul.type = bullettype[curbullet] - if (bul.type == 1) - bul.image_blend = global.joycon_color[0] - if (bul.type == 2) - bul.image_blend = global.joycon_color[1] - } - curbullet += 1 - if (curbullet >= maxbullet) - { - break - active = false - } - } -} -bultimer += 1 -if (bultimer >= (maxtimer - 10)) - darkness = 0 -if (bultimer >= maxtimer) -{ - with (obj_halfbullet) - instance_destroy() - instance_destroy() -} -if (shift_timer_max >= -1) -{ - shift_timer += 1 - if (shift_timer == shift_timer_max) - { - with (obj_hearthalf) - vertical_ok = 1 - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index f9c3e45d6..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,21 +0,0 @@ -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -var msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (var i = 0; true; i++) -{ - var text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -var xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 08a409c88..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,444 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -var vspacing = 15 -if (global.language == "ja") - vspacing = 16 -var button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), string_hash_to_newline(itext)) - var xx = ((20 + string_width(string_hash_to_newline(itext))) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -var stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), string_hash_to_newline(stext)) - draw_set_color(c_white) -} -button_x += string_width(string_hash_to_newline(stext)) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, string_hash_to_newline(global.button0)) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), string_hash_to_newline(global.button1)) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), string_hash_to_newline(global.button2)) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var analog_text_width = string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")))) - draw_text_transformed(20, (135 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_choice"))) -if (global.joy_dir == 0) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_normal"))) -if (global.joy_dir == 1) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_analog"))) -if (global.joy_dir == 2) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_pov"))) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_reset"))) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_test"))) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_fall")), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 494a374b5..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - return; -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - return; - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index d63e8da5e..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,99 +0,0 @@ -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - return; -} -num_borders = 12 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (var i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -border_11 = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - var BW = ini_read_real("General", "BW", 0) - var BP = ini_read_real("General", "BP", 0) - var BH = ini_read_real("General", "BH", 0) - var DB = ini_read_real("General", "DB", 0) - var EndF = ini_read_real("EndF", "EndF", 0) - var M = ini_read_real("Alphys", "M", 0) - var R = ini_read_real("Alphys", "R", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (global.osflavor == 5) - { - if M - { - border_enabled[11] = 1 - border_11 = R - } - if DB - border_enabled[12] = 1 - } - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 8c37eb92b..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,302 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_fall")), 1, 1, -20) -} -var menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, string_hash_to_newline(scr_gettext("settings_language"))) -draw_text(92, 70, string_hash_to_newline(scr_gettext(("settings_language_" + global.language)))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_button"))) - var vspacing = 18 - var button_x = 0 - for (var i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - var itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), string_hash_to_newline(itext)) - draw_set_color(c_white) - var xx = (40 + string_width(string_hash_to_newline(itext))) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - var button = -4 - for (var b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check((obj_time.j_ch - 1), button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - var command = string_char_at("ZXC", (i + 1)) - var sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(scr_gettext("joyconfig_reset"))) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - var border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_label)) - if (global.screen_border_id == 0) - var border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == 11) - border_sel = scr_gettext(((("settings_border_" + string(global.screen_border_id)) + "_") + string(border_11))) - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(string_hash_to_newline(border_label))) + 20), ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_sel)) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_joyconfig"))) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 0210cdb97..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), string_hash_to_newline((s_value[(i * 2)] + "G - Ninechara"))) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), string_hash_to_newline((s_value[((i * 2) + 1)] + "G - Ninechara"))) - } - draw_text(30, 210, string_hash_to_newline(scr_gettext("shop_exit_submenu"))) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, string_hash_to_newline((("Really sell Ninechara for " + string(value[sellpos])) + "G?"))) - draw_text(80, 180, string_hash_to_newline("Yes")) - draw_text(190, 180, string_hash_to_newline("No")) - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_time_Create_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_time_Create_0.gml deleted file mode 100644 index 84fb4f418..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_time_Create_0.gml +++ /dev/null @@ -1,151 +0,0 @@ -if (os_type == os_windows) - global.osflavor = 1 -else if (os_type == os_ps4 || os_type == os_psvita) - global.osflavor = 4 -else if (os_type == os_switch_beta) - global.osflavor = 5 -else - global.osflavor = 2 -global.locale = ((os_get_language() + "_") + string_upper(os_get_region())) -if (global.osflavor >= 3) -{ - application_surface_enable(true) - application_surface_draw_enable(false) -} -if (os_type == os_switch_beta && (!variable_global_exists("switchlogin"))) - global.switchlogin = switch_accounts_select_account(1, 0, 0) -if (os_type == os_switch_beta) -{ - switch_controller_support_set_defaults() - switch_controller_support_set_singleplayer_only(1) - switch_controller_set_supported_styles(7) - missing_controller_timeout = 0 -} -global.savedata_async_id = -1 -global.savedata_async_load = 0 -global.savedata_error = 0 -global.savedata_debuginfo = "" -global.disable_os_pause = 0 -paused = 0 -idle = 0 -idle_time = 0 -up = 0 -down = 0 -left = 0 -right = 0 -quit = 0 -try_up = 0 -try_down = 0 -try_left = 0 -try_right = 0 -canquit = 1 -h_skip = 0 -j_xpos = 0 -j_ypos = 0 -j_dir = 0 -j_fr = 0 -j_fl = 0 -j_fu = 0 -j_fd = 0 -j_fr_p = 0 -j_fl_p = 0 -j_fu_p = 0 -j_fd_p = 0 -for (var i = 0; i < 12; i += 1) -{ - j_prev[i] = 0 - j_on[i] = 0 -} -global.button0 = 2 -global.button1 = 1 -global.button2 = 4 -global.analog_sense = 0.15 -global.analog_sense_sense = 0.01 -global.joy_dir = 0 -if (os_type == os_ps4 || os_type == os_psvita) -{ - if (substr(global.locale, 1, 2) == "ja") - { - global.button0 = 32770 - global.button1 = 32769 - } - else - { - global.button0 = 32769 - global.button1 = 32770 - } - global.button2 = 32772 -} -else if (os_type == os_switch_beta) -{ - global.button0 = 32770 - global.button1 = 32769 - global.button2 = 32772 -} -global.default_button0 = global.button0 -global.default_button1 = global.button1 -global.default_button2 = global.button2 -global.default_analog_sense = global.analog_sense -global.default_analog_sense_sense = global.analog_sense_sense -global.default_joy_dir = global.joy_dir -global.screen_border_id = 0 -global.screen_border_active = 0 -global.screen_border_alpha = 1 -global.screen_border_state = 0 -global.screen_border_dynamic_fade_id = 0 -global.screen_border_dynamic_fade_level = 0 -global.screen_border_activate_on_game_over = 0 -debug_r = 0 -debug_f = 0 -j1 = 0 -j2 = 0 -ja = 0 -j_ch = 0 -jt = 0 -if (global.osflavor >= 4) -{ - for (i = 0; i < gamepad_get_device_count(); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch == 0) - { - if (os_type == os_switch_beta) - { - if (switch_controller_support_show() == 0) - j_ch = (switch_controller_support_get_selected_id() + 1) - } - else - j_ch = 1 - } -} -spec_rtimer = 0 -global.endsong_loaded = 0 -control_init() -scr_kanatype_init() -if (!variable_global_exists("text_data_en")) - script_execute(textdata_en) -if (!variable_global_exists("text_data_ja")) - script_execute(textdata_ja) -if (os_type == os_switch_beta) - global.language = substr(switch_language_get_desired_language(), 1, 2) -else - global.language = substr(global.locale, 1, 2) -if (global.language != "ja") - global.language = "en" -if (!variable_global_exists("trophy_init_complete")) -{ - global.trophy_init_complete = 0 - trophy_ts = -1 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_time_Step_1.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_time_Step_1.gml deleted file mode 100644 index bca42138e..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_time_Step_1.gml +++ /dev/null @@ -1,400 +0,0 @@ -if (started <= 0) -{ - if (global.savedata_async_id >= 0) - return; - started = -1 - if (!trophy_init()) - { - if (trophy_ts < 0) - trophy_ts = current_time - return; - } - ossafe_ini_open("config.ini") - var lang = ini_read_string("General", "lang", "") - var sb_i = ini_read_real("General", "sb", -1) - var b0_i = ini_read_real("joypad1", "b0", -1) - var b1_i = ini_read_real("joypad1", "b1", -1) - var b2_i = ini_read_real("joypad1", "b2", -1) - var as_i = ini_read_real("joypad1", "as", -1) - var jd_i = ini_read_real("joypad1", "jd", -1) - if (string_length(lang) > 0) - global.language = lang - if (sb_i >= 0) - global.screen_border_id = sb_i - if (b0_i >= 0) - global.button0 = b0_i - if (b1_i >= 0) - global.button1 = b1_i - if (b2_i >= 0) - global.button2 = b2_i - if (as_i >= 0) - global.analog_sense = as_i - if (jd_i >= 0) - global.joy_dir = jd_i - ossafe_ini_close() - scr_enable_screen_border(global.osflavor >= 4) - if (global.osflavor >= 4) - { - global.analog_sense = 0.15 - if (os_type == os_psvita) - global.analog_sense = 0.9 - global.joy_dir = 0 - } - ossafe_ini_open("undertale.ini") - fskip = ini_read_real("FFFFF", "E", -1) - ftime = ini_read_real("FFFFF", "F", -1) - true_end = ini_read_real("EndF", "EndF", -1) - ossafe_ini_close() - sksk = 0 - if (ftime == 1) - { - sksk = 1 - room_goto(room_f_start) - } - if (true_end == 1 && sksk == 0) - { - sksk = 1 - room_goto(room_flowey_regret) - } - if (fskip >= 1 && sksk == 0) - { - global.filechoice = 8 - scr_load() - if (fskip == 1) - room_goto(room_flowey_endchoice) - if (fskip == 2) - room_goto(room_castle_exit) - } - else if (sksk == 0) - room_goto_next() - if (ossafe_file_exists("system_information_962") && (!ossafe_file_exists("system_information_963"))) - room_goto(room_nothingness) - started = 1 - return; -} -if (!paused) - time += 1 -if (global.osflavor <= 2) -{ - if (jt == 0) - { - if (j_ch != 2) - { - if joystick_exists(1) - j_ch = 1 - else if (j_ch == 1) - j_ch = 0 - } - } - if (jt == 4) - { - if (j_ch != 1) - { - if joystick_exists(2) - j_ch = 2 - else if (j_ch == 2) - j_ch = 0 - } - } - jt += 1 - if (jt >= 8) - jt = 0 -} -else if (os_type == os_switch_beta) -{ - if (j_ch > 0 && gamepad_is_connected((j_ch - 1))) - missing_controller_timeout = 0 - else - { - j_ch = 0 - for (var i = 0; (i < gamepad_get_device_count()); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch > 0) - missing_controller_timeout = 0 - else if (missing_controller_timeout == 0) - missing_controller_timeout = (current_time + 2000) - else if (current_time >= missing_controller_timeout) - { - if (switch_controller_support_show() == 0) - { - j_ch = (switch_controller_support_get_selected_id() + 1) - missing_controller_timeout = 0 - } - } - } -} -control_update() -if (j_ch > 0) -{ - j_fr_p = j_fr - j_fl_p = j_fl - j_fu_p = j_fu - j_fd_p = j_fd - j_fr = 0 - j_fl = 0 - j_fu = 0 - j_fd = 0 - if (global.osflavor >= 4) - { - if (gamepad_button_check((j_ch - 1), gp_padu) || gamepad_button_check((j_ch - 1), gp_padd) || gamepad_button_check((j_ch - 1), gp_padl) || gamepad_button_check((j_ch - 1), gp_padr)) - { - j_fu = gamepad_button_check((j_ch - 1), gp_padu) - j_fd = gamepad_button_check((j_ch - 1), gp_padd) - j_fl = gamepad_button_check((j_ch - 1), gp_padl) - j_fr = gamepad_button_check((j_ch - 1), gp_padr) - } - else if (global.joy_dir != 2) - { - var j_xpos = gamepad_axis_value((j_ch - 1), gp_axislh) - var j_ypos = gamepad_axis_value((j_ch - 1), gp_axislv) - var analog_sense = global.analog_sense - if (sqrt((sqr(j_xpos) + sqr(j_ypos))) >= analog_sense) - { - var angle = darctan2(j_ypos, j_xpos) - if (angle < 0) - angle += 360 - if (angle < 67.5 || angle > 292.5) - j_fr = 1 - if (angle > 22.5 && angle < 157.5) - j_fd = 1 - if (angle > 112.5 && angle < 247.5) - j_fl = 1 - if (angle > 202.5 && angle < 337.5) - j_fu = 1 - } - } - } - else - { - if (global.joy_dir == 0 || global.joy_dir == 1) - { - j_xpos = joystick_xpos(j_ch) - j_ypos = joystick_ypos(j_ch) - } - j_dir = joystick_direction(j_ch) - if (global.joy_dir == 0 || global.joy_dir == 1) - { - if (j_dir == 101) - { - if (j_xpos >= global.analog_sense) - j_fr = 1 - if (j_xpos <= (-global.analog_sense)) - j_fl = 1 - if (j_ypos >= global.analog_sense) - j_fd = 1 - if (j_ypos <= (-global.analog_sense)) - j_fu = 1 - } - } - if (j_dir != 101) - { - if (j_dir == 100) - j_fl = 1 - if (j_dir == 98) - j_fd = 1 - if (j_dir == 102) - j_fr = 1 - if (j_dir == 104) - j_fu = 1 - if (j_dir == 99) - { - j_fr = 1 - j_fd = 1 - } - if (j_dir == 97) - { - j_fd = 1 - j_fl = 1 - } - if (j_dir == 103) - { - j_fu = 1 - j_fl = 1 - } - if (j_dir == 105) - { - j_fu = 1 - j_fr = 1 - } - } - if (global.joy_dir == 0 || global.joy_dir == 2) - { - j_pov = joystick_pov(j_ch) - if (j_pov == 0) - j_fu = 1 - if (j_pov == 270) - j_fl = 1 - if (j_pov == 90) - j_fr = 1 - if (j_pov == 180) - j_fd = 1 - if (j_pov == 315) - { - j_fu = 1 - j_fl = 1 - } - if (j_pov == 45) - { - j_fu = 1 - j_fr = 1 - } - if (j_pov == 225) - { - j_fd = 1 - j_fl = 1 - } - if (j_pov == 135) - { - j_fd = 1 - j_fr = 1 - } - } - } - if (j_fr != j_fr_p && j_fr == 1) - keyboard_key_press(vk_right) - if (j_fl != j_fl_p && j_fl == 1) - keyboard_key_press(vk_left) - if (j_fd != j_fd_p && j_fd == 1) - keyboard_key_press(vk_down) - if (j_fu != j_fu_p && j_fu == 1) - keyboard_key_press(vk_up) - if (j_fr != j_fr_p && j_fr == 0) - keyboard_key_release(vk_right) - if (j_fl != j_fl_p && j_fl == 0) - keyboard_key_release(vk_left) - if (j_fd != j_fd_p && j_fd == 0) - keyboard_key_release(vk_down) - if (j_fu != j_fu_p && j_fu == 0) - keyboard_key_release(vk_up) -} -up = 0 -down = 0 -left = 0 -right = 0 -if keyboard_check(vk_up) - try_up = 1 -if keyboard_check_released(vk_up) - try_up = 0 -if keyboard_check(vk_down) - try_down = 1 -if keyboard_check_released(vk_down) - try_down = 0 -if keyboard_check(vk_right) - try_right = 1 -if keyboard_check_released(vk_right) - try_right = 0 -if keyboard_check(vk_left) - try_left = 1 -if keyboard_check_released(vk_left) - try_left = 0 -if (global.osflavor == 1) -{ - if try_up - up = keyboard_check_direct(vk_up) - if try_down - down = keyboard_check_direct(vk_down) - if try_left - left = keyboard_check_direct(vk_left) - if try_right - right = keyboard_check_direct(vk_right) -} -else -{ - if try_up - up = keyboard_check(vk_up) - if try_down - down = keyboard_check(vk_down) - if try_left - left = keyboard_check(vk_left) - if try_right - right = keyboard_check(vk_right) -} -if keyboard_check_released(vk_up) - up = 0 -if keyboard_check_released(vk_down) - down = 0 -if keyboard_check_released(vk_left) - left = 0 -if keyboard_check_released(vk_right) - right = 0 -var now_idle = (!(up || down || left || right || control_check(0) || control_check(1) || control_check(2))) -if (now_idle && (!idle)) - idle_time = current_time -idle = now_idle -if control_check(2) -{ - if (global.flag[28] == 1) - { - if (instance_exists(OBJ_WRITER) && (!instance_exists(obj_choicer))) - { - if (h_skip == 0) - { - keyboard_key_press(ord("X")) - keyboard_key_press(ord("Z")) - } - if (h_skip == 1) - { - keyboard_key_release(ord("Z")) - keyboard_key_release(ord("X")) - } - if (h_skip == 0) - h_skip = 1 - else - h_skip = 0 - } - } -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("F")) - room_speed = 200 -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("W")) - room_speed = 10 -} -if keyboard_check_pressed(vk_f4) -{ - if window_get_fullscreen() - window_set_fullscreen(false) - else - window_set_fullscreen(true) -} -if (canquit == 1) -{ - if (global.debug == 1) - { - if (keyboard_check_pressed(ord("R")) && instance_exists(obj_essaystuff) == 0) - { - debug_r += 1 - if (debug_r > 5) - game_restart() - spec_rtimer = 1 - } - } - spec_rtimer += 1 - if (spec_rtimer >= 6) - debug_r = 0 - if keyboard_check(vk_escape) - { - quit += 1 - if (instance_exists(obj_quittingmessage) == 0) - instance_create(0, 0, obj_quittingmessage) - } - else - quit = 0 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 887b086f9..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - return; - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ee7a4ca81..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6623 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\\XLa, la.^3 &Time to wake&up and\\R smell\\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\\Y" - if (global.flag[22] == 2) - adder = "\\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 965: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_2") - global.msg[1] = scr_gettext("SCR_TEXT_mewmew_3") - global.msg[2] = " " - if (global.tempvalue[14] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_6") - with (obj_mewmew_npc) - con = 1 - } - break - case 966: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_4") - with (obj_mewmew_npc) - con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_5") - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1077: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_0") - if instance_exists(obj_mewmew_boss) - { - if (obj_mewmew_boss.true_battle >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_1") - } - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_get_element.gml deleted file mode 100644 index bd067ef6b..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, false, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_joystick_pov.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_joystick_pov.gml deleted file mode 100644 index 6c8efecf4..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_joystick_pov.gml +++ /dev/null @@ -1,7 +0,0 @@ -var jid = __joystick_2_gamepad(argument0) -var mask = 0 -mask |= (gamepad_button_value(jid, gp_padu) > 0 ? 1 : 0) -mask |= (gamepad_button_value(jid, gp_padr) > 0 ? 2 : 0) -mask |= (gamepad_button_value(jid, gp_padd) > 0 ? 4 : 0) -mask |= (gamepad_button_value(jid, gp_padl) > 0 ? 8 : 0) -return global.__jstick_povangle[mask]; diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 5baecfc3f..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,43 +0,0 @@ -var lines; -if (global.osflavor <= 2) - return file_text_open_read(argument0); -else -{ - var name = string_lower(argument0) - var file = ds_map_find_value(global.savedata, name) - if is_undefined(file) - return undefined; - var data = file - var num_lines = 0 - while (string_byte_length(data) > 0) - { - var newline_pos = string_pos(chr($0A), data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == chr($0D)) - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line - } - handle = ds_map_create() - ds_map_set(handle, "is_write", 0) - ds_map_set(handle, "text", lines) - ds_map_set(handle, "num_lines", num_lines) - ds_map_set(handle, "line", 0) - ds_map_set(handle, "line_read", 0) - return handle; -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index f76acbdc9..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,23 +0,0 @@ -var xx = argument0 -var yy = argument1 -if (global.language == "ja") -{ - var use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (var i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, string_hash_to_newline(global.charname)) -return string_width(string_hash_to_newline(global.charname)); diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_draw_screen_border.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_draw_screen_border.gml deleted file mode 100644 index ddd3cc787..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_draw_screen_border.gml +++ /dev/null @@ -1,259 +0,0 @@ -var overlay; -var border_id = argument0 -draw_enable_alphablend(0) -if (border_id == 1) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_line_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_line_544, 0, 0) -} -if (border_id == 2) -{ - var fade_time = 60 - if instance_exists(obj_stalkerflowey) - { - global.screen_border_state += (1 / fade_time) - if (global.screen_border_state > 1) - global.screen_border_state = 1 - } - else - { - global.screen_border_state -= (1 / fade_time) - if (global.screen_border_state < 0) - global.screen_border_state = 0 - } - var idle_min = 300000 - var idle_time = 0 - if (obj_time.idle && current_time >= (obj_time.idle_time + idle_min)) - idle_time = (current_time - (obj_time.idle_time + idle_min)) - var idle_frame = (floor((idle_time / 100)) % 3) - var base = -4 - for (var i = 0; i < 9; i++) - { - overlay[i, 0] = -4 - overlay[i, 1] = spr_undertaletitle - overlay[i, 2] = spr_undertaletitle - } - if (os_type == os_ps4 || os_type == os_switch_beta) - { - base = bg_border_sepia_1080 - overlay[0, 1] = spr_blconbelow - overlay[0, 2] = spr_truechara_laugh - overlay[1, 1] = spr_superbone - overlay[1, 2] = buttonL_nx_zr - overlay[2, 1] = spr_barktry_ja - overlay[2, 2] = spr_finalfroggit - overlay[3, 1] = spr_undertaletitle - overlay[3, 2] = spr_undynex_example - overlay[4, 1] = spr_vegetoid - overlay[4, 2] = spr_blconbelow - overlay[5, 1] = spr_bookshelf - overlay[5, 2] = spr_undertaletitle - overlay[6, 1] = spr_forcefield_right_middle - overlay[6, 2] = spr_alphyshelper_embarrass - overlay[7, 1] = spr_chipdoor_chippart - overlay[7, 2] = spr_gb_npc - overlay[8, 1] = spr_undynea_ut - overlay[8, 2] = spr_uppbutton - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_1080_1a - overlay[1, 0] = bg_border_sepia_1080_2a - overlay[2, 0] = bg_border_sepia_1080_3a - overlay[3, 0] = bg_border_sepia_1080_4a - overlay[4, 0] = bg_border_sepia_1080_5a - overlay[5, 0] = bg_border_sepia_1080_6a - overlay[6, 0] = bg_border_sepia_1080_7a - overlay[7, 0] = bg_border_sepia_1080_8a - overlay[8, 0] = bg_border_sepia_1080_9a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_1080_1b - overlay[1, 0] = bg_border_sepia_1080_2b - overlay[2, 0] = bg_border_sepia_1080_3b - overlay[3, 0] = bg_border_sepia_1080_4b - overlay[4, 0] = bg_border_sepia_1080_5b - overlay[5, 0] = bg_border_sepia_1080_6b - overlay[6, 0] = bg_border_sepia_1080_7b - overlay[7, 0] = bg_border_sepia_1080_8b - overlay[8, 0] = bg_border_sepia_1080_9b - } - if (global.screen_border_state > 0) - overlay1 = 2839 - } - else if (os_type == os_psvita) - { - base = bg_border_sepia_544 - overlay[0, 1] = spr_talkbt - overlay[0, 2] = spr_undyneb_face3 - overlay[1, 1] = spr_heartorange - overlay[1, 2] = spr_wizard_orbhurt - overlay[2, 1] = spr_undertaletitle - overlay[2, 2] = spr_oolbone_ja - overlay[3, 1] = button_ps4_l3 - overlay[3, 2] = spr_undertaletitle - overlay[4, 1] = buttonL_nx_zl - overlay[4, 2] = spr_whimsunhurt - overlay[5, 1] = buttonL_vita_triangle - overlay[5, 2] = spr_vulkinface5 - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_544_1a - overlay[1, 0] = bg_border_sepia_544_2a - overlay[2, 0] = bg_border_sepia_544_3a - overlay[3, 0] = bg_border_sepia_544_4a - overlay[4, 0] = bg_border_sepia_544_5a - overlay[5, 0] = bg_border_sepia_544_6a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_544_1b - overlay[1, 0] = bg_border_sepia_544_2b - overlay[2, 0] = bg_border_sepia_544_3b - overlay[3, 0] = bg_border_sepia_544_4b - overlay[4, 0] = bg_border_sepia_544_5b - overlay[5, 0] = bg_border_sepia_544_6b - } - if (global.screen_border_state > 0) - overlay1 = 2853 - } - if (base != -4) - { - scr_draw_background_ps4(base, 0, 0) - if (overlay[0, 0] != -4) - { - if (global.screen_border_state > 0) - { - draw_enable_alphablend(1) - draw_set_alpha((global.screen_border_state * 0.5)) - } - scr_draw_background_ps4(overlay[0, 0], overlay[0, 1], overlay[0, 2]) - if (global.screen_border_state > 0) - { - draw_set_alpha(1) - draw_enable_alphablend(0) - } - } - for (i = 1; i < 9; i++) - { - if (overlay[i, 0] != -4) - scr_draw_background_ps4(overlay[i, 0], overlay[i, 1], overlay[i, 2]) - } - } -} -if (border_id == 3) -{ - var room_id = global.currentroom - if ((room_id >= 4 && room_id <= 43) || (room >= room_introstory && room <= room_intromenu) || (room >= room_settings && room <= room_controltest)) - border_id = 4 - if ((room_id >= 44 && room_id <= 81) || room_id == 311 || (room_id >= 265 && room_id <= 266)) - border_id = 5 - if ((room_id >= 82 && room_id <= 136) || room_id == 312 || room_id == 315) - border_id = 6 - if ((room_id >= 137 && room_id <= 215) || room_id == 313 || room_id == 314 || (room_id >= 242 && room_id <= 243)) - border_id = 7 - if (room_id >= 216 && room_id <= 240) - border_id = 8 - if (room_id >= 244 && room_id <= 263) - border_id = 9 - if (room_id == 136 || room_id == 213 || room_id == 215 || room_id == 242 || room_id == 243 || room_id == 316 || room_id == 335 || room_id == 336 || room_id == 337) - border_id = 3.5 - if (global.flag[479] == 0 && (room_id == 244 || room_id == 245)) - border_id = 3.5 - if (border_id != global.screen_border_state) - { - if (global.screen_border_state != 0) - { - if (global.screen_border_dynamic_fade_id == border_id) - global.screen_border_dynamic_fade_level = (1 - global.screen_border_dynamic_fade_level) - else - global.screen_border_dynamic_fade_level = 1 - global.screen_border_dynamic_fade_id = global.screen_border_state - } - global.screen_border_state = border_id - } - if (global.screen_border_dynamic_fade_level > 0) - { - fade_time = 30 - global.screen_border_dynamic_fade_level -= (1 / fade_time) - if (global.screen_border_dynamic_fade_level > 0) - { - scr_draw_screen_border(global.screen_border_dynamic_fade_id) - draw_set_alpha((1 - global.screen_border_dynamic_fade_level)) - } - else - { - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - } - } -} -if (border_id == 3.5) -{ - draw_set_color(c_black) - ossafe_fill_rectangle(0, 0, (window_get_width() - 1), (window_get_height() - 1)) - draw_set_color(c_white) -} -if (border_id == 4) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_ruins_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_ruins_544, 0, 0) -} -if (border_id == 5) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_tundra_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_tundra_544, 0, 0) -} -if (border_id == 6) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_water1_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_water1_544, 0, 0) -} -if (border_id == 7) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_fire_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_fire_544, 0, 0) -} -if (border_id == 8) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_castle_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_castle_544, 0, 0) -} -if (border_id == 9) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_truelab_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_truelab_544, 0, 0) -} -if (border_id == 10) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_rad_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_rad_544, 0, 0) -} -if (border_id == 11) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_anime_1080, 0, 0) -} -if (border_id == 12) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_dog_1080, 0, 0) -} -draw_set_alpha(1) -draw_enable_alphablend(1) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 30f82a28b..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,8 +0,0 @@ -global.msg[0] = scr_gettext("scr_itemdesc_2") -for (var i = 0; true; i++) -{ - var desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 4c986d2f8..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,39 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -var bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 69fc16d1e..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,901 +0,0 @@ -var credamt = 0 -if (global.osflavor <= 2) -{ - var credits_path = (working_directory + "credits.txt") - var credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - var thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew \"Southrop\" Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara \"Svenna\" Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean \"Ariamaki\" Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin \"BenaSPACE\" McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn \"Xisuu\" Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan \"ChessboardMan\" Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles \"Chip Champion\" Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary \"ZarroTsu\" Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will \"Radnar\" Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin \"AT\" Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves \"TehLazyOne\"" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke \"Association\" Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index 910c48cca..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var lines; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - var xx = (name_x - (q / 3)) - if (global.language == "ja") - { - var kana_count = 0 - for (var i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - var confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - return; - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, string_hash_to_newline(spec_m)) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (var row = 0; row < rows; row++) - { - var yy = ymap[row] - for (var col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), string_hash_to_newline(charmap[row, col])) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - var menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, string_hash_to_newline(menu_text0)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - var menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, string_hash_to_newline(menu_text1)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - var menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, string_hash_to_newline(menu_text2)) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - var charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, string_hash_to_newline(charset_text0)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - var charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, string_hash_to_newline(charset_text1)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - var charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, string_hash_to_newline(charset_text2)) - } - var old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - var best = 0 - var bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - var diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, string_hash_to_newline(charname)) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - var roomname = scr_roomname(roome) - var lvtext = scr_gettext("save_menu_lv", string(love)) - var timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - var namesize = string_width(string_hash_to_newline(substr(name, 1, 6))) - var lvsize = string_width(string_hash_to_newline(lvtext)) - var timesize = string_width(string_hash_to_newline(timetext)) - var x_center = 160 - var lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - var namepos = 70 - var timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, string_hash_to_newline(name)) - draw_text(lvpos, 62, string_hash_to_newline(lvtext)) - draw_text((timepos - timesize), 62, string_hash_to_newline(timetext)) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, string_hash_to_newline(roomname)) - if (selected3 == 0) - draw_set_color(c_yellow) - var continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, string_hash_to_newline(continue_text)) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - var reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, string_hash_to_newline(reset_text)) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - var action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, string_hash_to_newline(scr_gettext("instructions_title"))) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\\*Z") - draw_text(115, 50, string_hash_to_newline(scr_gettext("instructions_confirm_label"))) - scr_drawtext_icons(85, 70, "\\*X") - draw_text(115, 70, string_hash_to_newline(scr_gettext("instructions_cancel_label"))) - scr_drawtext_icons(85, 90, "\\*C") - draw_text(115, 90, string_hash_to_newline(scr_gettext("instructions_menu_label"))) - draw_text(86, 130, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - var num_lines = 5 - if (global.language == "ja") - { - var label_x = 0 - for (i = 0; i < num_lines; i++) - { - var key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), string_hash_to_newline(key)) - xx = ((50 + string_width(string_hash_to_newline(key))) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - var label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), string_hash_to_newline(label)) - } - draw_text(50, 145, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), string_hash_to_newline(((key + " - ") + label))) - } - draw_text(85, 140, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, string_hash_to_newline(scr_gettext("instructions_begin"))) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - var yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, string_hash_to_newline(scr_gettext("settings_name"))) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 79f5d3c57..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,436 +0,0 @@ -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -var halfsize = 0 -for (var n = 1; n <= stringpos; n++) -{ - var ch = string_char_at(originalstring, n) - var myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = 0xFDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = 0xD4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - var newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - var sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - var sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - var icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - var sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - var spritex = myx - var spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - var icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - var choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (__view_get(2, view_current) == 640) - myx *= 2 - myx += __view_get(0, view_current) - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - var nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - var letterx = myx - var offsetx = 0 - var offsety = 0 - var halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(string_hash_to_newline(myletter)) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - var unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - var lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - var angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - var display_scale = (surface_get_width(application_surface) / __view_get(2, view_current)) - var finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - var finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, string_hash_to_newline(myletter), (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(string_hash_to_newline(myletter)) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml deleted file mode 100644 index eed614253..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml +++ /dev/null @@ -1,449 +0,0 @@ -if (defined == 0) -{ - if (type == 999) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 2, 6, 0) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 0) - scr_hb_add(22, 2, 6, 2) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 2) - scr_hb_add(66, 1, 6, 0) - scr_hb_add(66, 2, 6, 1) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 0) - scr_hb_add(110, 2, 6, 2) - scr_hb_add(132, 0, 6, 0) - scr_hb_add(132, 2, 6, 0) - scr_hb_add(154, 0, 6, 2) - scr_hb_add(154, 1, 6, 0) - scr_hb_add(154, 2, 6, 1) - maxtimer = 250 - } - if (type == 0) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(8, 1, 6, 0) - scr_hb_add(16, 1, 6, 0) - maxtimer = 95 - } - if (type == 1) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(25, 0, 6, 0) - scr_hb_add(25, 2, 6, 0) - scr_hb_add(50, 1, 6, 0) - scr_hb_add(75, 0, 6, 0) - scr_hb_add(75, 2, 6, 0) - maxtimer = 150 - } - if (type == 2) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 0) - scr_hb_add(132, 2, 6, 2) - scr_hb_add(138, 0, 6, 1) - scr_hb_add(138, 1, 6, 0) - scr_hb_add(138, 2, 6, 2) - scr_hb_add(144, 0, 6, 1) - scr_hb_add(144, 1, 6, 0) - scr_hb_add(144, 2, 6, 2) - maxtimer = 220 - } - if (type == 3) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 1, 6, 1) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 2) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 1, 6, 1) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 2) - scr_hb_add(132, 2, 6, 0) - maxtimer = 210 - } - if (type == 4) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 2) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(44, 2, 6, 2) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 1, 6, 1) - scr_hb_add(66, 2, 6, 2) - scr_hb_add(88, 0, 6, 1) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 2) - scr_hb_add(110, 2, 6, 0) - maxtimer = 180 - } - if (type == 5) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(19, 0, 6, 0) - scr_hb_add(19, 2, 6, 0) - scr_hb_add(38, 0, 6, 0) - scr_hb_add(38, 1, 6, 1) - scr_hb_add(38, 2, 6, 2) - scr_hb_add(57, 0, 6, 0) - scr_hb_add(57, 2, 6, 0) - scr_hb_add(76, 1, 6, 0) - scr_hb_add(95, 0, 6, 0) - scr_hb_add(95, 2, 6, 0) - scr_hb_add(114, 0, 6, 1) - scr_hb_add(114, 1, 6, 2) - scr_hb_add(114, 2, 6, 0) - scr_hb_add(133, 0, 6, 0) - scr_hb_add(133, 2, 6, 0) - scr_hb_add(165, 1, 8, 0) - maxtimer = 230 - } - if (type == 6) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(20, 1, 6, 0) - scr_hb_add(20, 2, 6, 0) - scr_hb_add(40, 0, 6, 1) - scr_hb_add(40, 1, 6, 0) - scr_hb_add(40, 2, 6, 2) - scr_hb_add(60, 0, 6, 0) - scr_hb_add(60, 1, 6, 0) - scr_hb_add(80, 0, 6, 0) - scr_hb_add(80, 2, 6, 0) - scr_hb_add(100, 1, 6, 0) - scr_hb_add(100, 2, 6, 0) - scr_hb_add(120, 0, 6, 0) - scr_hb_add(120, 2, 6, 0) - scr_hb_add(140, 0, 6, 0) - scr_hb_add(140, 1, 6, 0) - scr_hb_add(160, 0, 6, 1) - scr_hb_add(160, 1, 6, 0) - scr_hb_add(160, 2, 6, 2) - scr_hb_add(167, 0, 6, 1) - scr_hb_add(167, 1, 6, 0) - scr_hb_add(167, 2, 6, 2) - scr_hb_add(174, 0, 6, 1) - scr_hb_add(174, 1, 6, 0) - scr_hb_add(174, 2, 6, 2) - shift_timer_max = 235 - scr_hb_add(235, 4, 10, 0) - scr_hb_add(235, 7, 10, 0) - maxtimer = 290 - } - if (type == 7) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 3, 6, 1) - scr_hb_add(0, 4, 6, 0) - scr_hb_add(0, 5, 6, 2) - scr_hb_add(30, 0, 6, 1) - scr_hb_add(30, 1, 6, 0) - scr_hb_add(30, 2, 6, 2) - scr_hb_add(60, 3, 6, 2) - scr_hb_add(60, 4, 6, 0) - scr_hb_add(60, 5, 6, 1) - scr_hb_add(90, 0, 6, 1) - scr_hb_add(90, 1, 6, 0) - scr_hb_add(90, 2, 6, 2) - scr_hb_add(120, 3, 6, 1) - scr_hb_add(120, 4, 6, 0) - scr_hb_add(120, 5, 6, 2) - scr_hb_add(150, 0, 6, 1) - scr_hb_add(150, 1, 6, 0) - scr_hb_add(150, 2, 6, 2) - maxtimer = 230 - } - if (type == 8) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 7, 0) - scr_hb_add(0, 5, 7, 0) - scr_hb_add(20, 1, 7, 0) - scr_hb_add(20, 2, 7, 0) - scr_hb_add(40, 6, 7, 0) - scr_hb_add(40, 7, 7, 0) - scr_hb_add(60, 0, 7, 0) - scr_hb_add(60, 1, 7, 0) - scr_hb_add(80, 0, 7, 1) - scr_hb_add(80, 1, 7, 0) - scr_hb_add(80, 2, 7, 2) - scr_hb_add(105, 3, 7, 1) - scr_hb_add(105, 4, 7, 0) - scr_hb_add(105, 5, 7, 2) - scr_hb_add(105, 6, 7, 1) - scr_hb_add(105, 7, 7, 0) - scr_hb_add(105, 8, 7, 2) - scr_hb_add(130, 3, 7, 2) - scr_hb_add(130, 4, 7, 0) - scr_hb_add(130, 5, 7, 1) - scr_hb_add(130, 6, 7, 2) - scr_hb_add(130, 7, 7, 0) - scr_hb_add(130, 8, 7, 1) - maxtimer = 220 - } - if (type == 9) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 8, 0) - scr_hb_add(0, 5, 8, 0) - scr_hb_add(19, 6, 8, 0) - scr_hb_add(19, 7, 8, 0) - scr_hb_add(38, 0, 8, 1) - scr_hb_add(38, 1, 8, 0) - scr_hb_add(38, 2, 8, 2) - scr_hb_add(57, 0, 8, 0) - scr_hb_add(57, 2, 8, 0) - scr_hb_add(76, 6, 8, 0) - scr_hb_add(76, 7, 8, 0) - scr_hb_add(95, 4, 8, 0) - scr_hb_add(95, 5, 8, 0) - scr_hb_add(120, 0, 8, 1) - scr_hb_add(120, 1, 8, 0) - scr_hb_add(120, 2, 8, 2) - scr_hb_add(135, 0, 8, 0) - scr_hb_add(135, 2, 8, 0) - maxtimer = 210 - } - if (type == 10 || type == 12) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 0 - cur_time = 0 - time_gap = 17 - if (type == 12) - { - time_gap = 12 - max_attack = 16 - } - prev_pat = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - prev_pat = cur_pat - } - maxtimer = (cur_time + 50) - } - if (type == 11 || type == 13) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 1 - cur_time = 0 - time_gap = 18 - if (type == 13) - { - time_gap = 13 - max_attack = 16 - } - prev_dir = -1 - prev_pat = -1 - cur_dir = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - } - } - if (cur_pat >= 6) - cur_dir = 1 - else - cur_dir = 2 - if (prev_dir != -1) - { - if (prev_dir != cur_dir) - { - if (type == 11) - cur_time += 5 - if (type == 13) - cur_time += 4 - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 6) - { - scr_hb_add(cur_time, 3, 8, 0) - scr_hb_add(cur_time, 4, 8, 0) - cur_time += time_gap - } - if (cur_pat == 7) - { - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 0) - cur_time += time_gap - } - if (cur_pat == 8) - { - scr_hb_add(cur_time, 3, 8, 1) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 2) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - if (cur_pat == 9) - { - scr_hb_add(cur_time, 3, 8, 2) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 1) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - prev_pat = cur_pat - prev_dir = cur_dir - } - maxtimer = (cur_time + 50) - } - global.turntimer = maxtimer - defined = 1 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml deleted file mode 100644 index 3df40f867..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml +++ /dev/null @@ -1,60 +0,0 @@ -if (active == true && defined == 1) -{ - while (bullettime[curbullet] == bultimer) - { - bul = instance_create(0, 0, obj_halfbullet) - if instance_exists(bul) - { - if (bulletpos[curbullet] == 0 || bulletpos[curbullet] == 1 || bulletpos[curbullet] == 2) - { - bul.x = xpos[bulletpos[curbullet]] - bul.y = -60 - bul.hspeed = 0 - bul.vspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 3 || bulletpos[curbullet] == 4 || bulletpos[curbullet] == 5) - { - bul.x = -48 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 6 || bulletpos[curbullet] == 7 || bulletpos[curbullet] == 8) - { - bul.x = 700 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = (-bulletspeed[curbullet]) - } - bul.type = bullettype[curbullet] - if (bul.type == 1) - bul.image_blend = global.joycon_color[0] - if (bul.type == 2) - bul.image_blend = global.joycon_color[1] - } - curbullet += 1 - if (curbullet >= maxbullet) - { - break - active = false - } - } -} -bultimer += 1 -if (bultimer >= (maxtimer - 10)) - darkness = 0 -if (bultimer >= maxtimer) -{ - with (obj_halfbullet) - instance_destroy() - instance_destroy() -} -if (shift_timer_max >= -1) -{ - shift_timer += 1 - if (shift_timer == shift_timer_max) - { - with (obj_hearthalf) - vertical_ok = 1 - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index f9c3e45d6..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,21 +0,0 @@ -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -var msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (var i = 0; true; i++) -{ - var text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -var xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 08a409c88..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,444 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -var vspacing = 15 -if (global.language == "ja") - vspacing = 16 -var button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), string_hash_to_newline(itext)) - var xx = ((20 + string_width(string_hash_to_newline(itext))) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -var stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), string_hash_to_newline(stext)) - draw_set_color(c_white) -} -button_x += string_width(string_hash_to_newline(stext)) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, string_hash_to_newline(global.button0)) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), string_hash_to_newline(global.button1)) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), string_hash_to_newline(global.button2)) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var analog_text_width = string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")))) - draw_text_transformed(20, (135 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_choice"))) -if (global.joy_dir == 0) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_normal"))) -if (global.joy_dir == 1) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_analog"))) -if (global.joy_dir == 2) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_pov"))) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_reset"))) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_test"))) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_fall")), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 494a374b5..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - return; -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - return; - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index d63e8da5e..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,99 +0,0 @@ -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - return; -} -num_borders = 12 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (var i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -border_11 = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - var BW = ini_read_real("General", "BW", 0) - var BP = ini_read_real("General", "BP", 0) - var BH = ini_read_real("General", "BH", 0) - var DB = ini_read_real("General", "DB", 0) - var EndF = ini_read_real("EndF", "EndF", 0) - var M = ini_read_real("Alphys", "M", 0) - var R = ini_read_real("Alphys", "R", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (global.osflavor == 5) - { - if M - { - border_enabled[11] = 1 - border_11 = R - } - if DB - border_enabled[12] = 1 - } - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 8c37eb92b..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,302 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_fall")), 1, 1, -20) -} -var menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, string_hash_to_newline(scr_gettext("settings_language"))) -draw_text(92, 70, string_hash_to_newline(scr_gettext(("settings_language_" + global.language)))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_button"))) - var vspacing = 18 - var button_x = 0 - for (var i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - var itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), string_hash_to_newline(itext)) - draw_set_color(c_white) - var xx = (40 + string_width(string_hash_to_newline(itext))) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - var button = -4 - for (var b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check((obj_time.j_ch - 1), button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - var command = string_char_at("ZXC", (i + 1)) - var sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(scr_gettext("joyconfig_reset"))) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - var border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_label)) - if (global.screen_border_id == 0) - var border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == 11) - border_sel = scr_gettext(((("settings_border_" + string(global.screen_border_id)) + "_") + string(border_11))) - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(string_hash_to_newline(border_label))) + 20), ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_sel)) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_joyconfig"))) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 0210cdb97..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), string_hash_to_newline((s_value[(i * 2)] + "G - Ninechara"))) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), string_hash_to_newline((s_value[((i * 2) + 1)] + "G - Ninechara"))) - } - draw_text(30, 210, string_hash_to_newline(scr_gettext("shop_exit_submenu"))) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, string_hash_to_newline((("Really sell Ninechara for " + string(value[sellpos])) + "G?"))) - draw_text(80, 180, string_hash_to_newline("Yes")) - draw_text(190, 180, string_hash_to_newline("No")) - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_time_Create_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_time_Create_0.gml deleted file mode 100644 index 84fb4f418..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_time_Create_0.gml +++ /dev/null @@ -1,151 +0,0 @@ -if (os_type == os_windows) - global.osflavor = 1 -else if (os_type == os_ps4 || os_type == os_psvita) - global.osflavor = 4 -else if (os_type == os_switch_beta) - global.osflavor = 5 -else - global.osflavor = 2 -global.locale = ((os_get_language() + "_") + string_upper(os_get_region())) -if (global.osflavor >= 3) -{ - application_surface_enable(true) - application_surface_draw_enable(false) -} -if (os_type == os_switch_beta && (!variable_global_exists("switchlogin"))) - global.switchlogin = switch_accounts_select_account(1, 0, 0) -if (os_type == os_switch_beta) -{ - switch_controller_support_set_defaults() - switch_controller_support_set_singleplayer_only(1) - switch_controller_set_supported_styles(7) - missing_controller_timeout = 0 -} -global.savedata_async_id = -1 -global.savedata_async_load = 0 -global.savedata_error = 0 -global.savedata_debuginfo = "" -global.disable_os_pause = 0 -paused = 0 -idle = 0 -idle_time = 0 -up = 0 -down = 0 -left = 0 -right = 0 -quit = 0 -try_up = 0 -try_down = 0 -try_left = 0 -try_right = 0 -canquit = 1 -h_skip = 0 -j_xpos = 0 -j_ypos = 0 -j_dir = 0 -j_fr = 0 -j_fl = 0 -j_fu = 0 -j_fd = 0 -j_fr_p = 0 -j_fl_p = 0 -j_fu_p = 0 -j_fd_p = 0 -for (var i = 0; i < 12; i += 1) -{ - j_prev[i] = 0 - j_on[i] = 0 -} -global.button0 = 2 -global.button1 = 1 -global.button2 = 4 -global.analog_sense = 0.15 -global.analog_sense_sense = 0.01 -global.joy_dir = 0 -if (os_type == os_ps4 || os_type == os_psvita) -{ - if (substr(global.locale, 1, 2) == "ja") - { - global.button0 = 32770 - global.button1 = 32769 - } - else - { - global.button0 = 32769 - global.button1 = 32770 - } - global.button2 = 32772 -} -else if (os_type == os_switch_beta) -{ - global.button0 = 32770 - global.button1 = 32769 - global.button2 = 32772 -} -global.default_button0 = global.button0 -global.default_button1 = global.button1 -global.default_button2 = global.button2 -global.default_analog_sense = global.analog_sense -global.default_analog_sense_sense = global.analog_sense_sense -global.default_joy_dir = global.joy_dir -global.screen_border_id = 0 -global.screen_border_active = 0 -global.screen_border_alpha = 1 -global.screen_border_state = 0 -global.screen_border_dynamic_fade_id = 0 -global.screen_border_dynamic_fade_level = 0 -global.screen_border_activate_on_game_over = 0 -debug_r = 0 -debug_f = 0 -j1 = 0 -j2 = 0 -ja = 0 -j_ch = 0 -jt = 0 -if (global.osflavor >= 4) -{ - for (i = 0; i < gamepad_get_device_count(); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch == 0) - { - if (os_type == os_switch_beta) - { - if (switch_controller_support_show() == 0) - j_ch = (switch_controller_support_get_selected_id() + 1) - } - else - j_ch = 1 - } -} -spec_rtimer = 0 -global.endsong_loaded = 0 -control_init() -scr_kanatype_init() -if (!variable_global_exists("text_data_en")) - script_execute(textdata_en) -if (!variable_global_exists("text_data_ja")) - script_execute(textdata_ja) -if (os_type == os_switch_beta) - global.language = substr(switch_language_get_desired_language(), 1, 2) -else - global.language = substr(global.locale, 1, 2) -if (global.language != "ja") - global.language = "en" -if (!variable_global_exists("trophy_init_complete")) -{ - global.trophy_init_complete = 0 - trophy_ts = -1 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_time_Step_1.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_time_Step_1.gml deleted file mode 100644 index bca42138e..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_time_Step_1.gml +++ /dev/null @@ -1,400 +0,0 @@ -if (started <= 0) -{ - if (global.savedata_async_id >= 0) - return; - started = -1 - if (!trophy_init()) - { - if (trophy_ts < 0) - trophy_ts = current_time - return; - } - ossafe_ini_open("config.ini") - var lang = ini_read_string("General", "lang", "") - var sb_i = ini_read_real("General", "sb", -1) - var b0_i = ini_read_real("joypad1", "b0", -1) - var b1_i = ini_read_real("joypad1", "b1", -1) - var b2_i = ini_read_real("joypad1", "b2", -1) - var as_i = ini_read_real("joypad1", "as", -1) - var jd_i = ini_read_real("joypad1", "jd", -1) - if (string_length(lang) > 0) - global.language = lang - if (sb_i >= 0) - global.screen_border_id = sb_i - if (b0_i >= 0) - global.button0 = b0_i - if (b1_i >= 0) - global.button1 = b1_i - if (b2_i >= 0) - global.button2 = b2_i - if (as_i >= 0) - global.analog_sense = as_i - if (jd_i >= 0) - global.joy_dir = jd_i - ossafe_ini_close() - scr_enable_screen_border(global.osflavor >= 4) - if (global.osflavor >= 4) - { - global.analog_sense = 0.15 - if (os_type == os_psvita) - global.analog_sense = 0.9 - global.joy_dir = 0 - } - ossafe_ini_open("undertale.ini") - fskip = ini_read_real("FFFFF", "E", -1) - ftime = ini_read_real("FFFFF", "F", -1) - true_end = ini_read_real("EndF", "EndF", -1) - ossafe_ini_close() - sksk = 0 - if (ftime == 1) - { - sksk = 1 - room_goto(room_f_start) - } - if (true_end == 1 && sksk == 0) - { - sksk = 1 - room_goto(room_flowey_regret) - } - if (fskip >= 1 && sksk == 0) - { - global.filechoice = 8 - scr_load() - if (fskip == 1) - room_goto(room_flowey_endchoice) - if (fskip == 2) - room_goto(room_castle_exit) - } - else if (sksk == 0) - room_goto_next() - if (ossafe_file_exists("system_information_962") && (!ossafe_file_exists("system_information_963"))) - room_goto(room_nothingness) - started = 1 - return; -} -if (!paused) - time += 1 -if (global.osflavor <= 2) -{ - if (jt == 0) - { - if (j_ch != 2) - { - if joystick_exists(1) - j_ch = 1 - else if (j_ch == 1) - j_ch = 0 - } - } - if (jt == 4) - { - if (j_ch != 1) - { - if joystick_exists(2) - j_ch = 2 - else if (j_ch == 2) - j_ch = 0 - } - } - jt += 1 - if (jt >= 8) - jt = 0 -} -else if (os_type == os_switch_beta) -{ - if (j_ch > 0 && gamepad_is_connected((j_ch - 1))) - missing_controller_timeout = 0 - else - { - j_ch = 0 - for (var i = 0; (i < gamepad_get_device_count()); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch > 0) - missing_controller_timeout = 0 - else if (missing_controller_timeout == 0) - missing_controller_timeout = (current_time + 2000) - else if (current_time >= missing_controller_timeout) - { - if (switch_controller_support_show() == 0) - { - j_ch = (switch_controller_support_get_selected_id() + 1) - missing_controller_timeout = 0 - } - } - } -} -control_update() -if (j_ch > 0) -{ - j_fr_p = j_fr - j_fl_p = j_fl - j_fu_p = j_fu - j_fd_p = j_fd - j_fr = 0 - j_fl = 0 - j_fu = 0 - j_fd = 0 - if (global.osflavor >= 4) - { - if (gamepad_button_check((j_ch - 1), gp_padu) || gamepad_button_check((j_ch - 1), gp_padd) || gamepad_button_check((j_ch - 1), gp_padl) || gamepad_button_check((j_ch - 1), gp_padr)) - { - j_fu = gamepad_button_check((j_ch - 1), gp_padu) - j_fd = gamepad_button_check((j_ch - 1), gp_padd) - j_fl = gamepad_button_check((j_ch - 1), gp_padl) - j_fr = gamepad_button_check((j_ch - 1), gp_padr) - } - else if (global.joy_dir != 2) - { - var j_xpos = gamepad_axis_value((j_ch - 1), gp_axislh) - var j_ypos = gamepad_axis_value((j_ch - 1), gp_axislv) - var analog_sense = global.analog_sense - if (sqrt((sqr(j_xpos) + sqr(j_ypos))) >= analog_sense) - { - var angle = darctan2(j_ypos, j_xpos) - if (angle < 0) - angle += 360 - if (angle < 67.5 || angle > 292.5) - j_fr = 1 - if (angle > 22.5 && angle < 157.5) - j_fd = 1 - if (angle > 112.5 && angle < 247.5) - j_fl = 1 - if (angle > 202.5 && angle < 337.5) - j_fu = 1 - } - } - } - else - { - if (global.joy_dir == 0 || global.joy_dir == 1) - { - j_xpos = joystick_xpos(j_ch) - j_ypos = joystick_ypos(j_ch) - } - j_dir = joystick_direction(j_ch) - if (global.joy_dir == 0 || global.joy_dir == 1) - { - if (j_dir == 101) - { - if (j_xpos >= global.analog_sense) - j_fr = 1 - if (j_xpos <= (-global.analog_sense)) - j_fl = 1 - if (j_ypos >= global.analog_sense) - j_fd = 1 - if (j_ypos <= (-global.analog_sense)) - j_fu = 1 - } - } - if (j_dir != 101) - { - if (j_dir == 100) - j_fl = 1 - if (j_dir == 98) - j_fd = 1 - if (j_dir == 102) - j_fr = 1 - if (j_dir == 104) - j_fu = 1 - if (j_dir == 99) - { - j_fr = 1 - j_fd = 1 - } - if (j_dir == 97) - { - j_fd = 1 - j_fl = 1 - } - if (j_dir == 103) - { - j_fu = 1 - j_fl = 1 - } - if (j_dir == 105) - { - j_fu = 1 - j_fr = 1 - } - } - if (global.joy_dir == 0 || global.joy_dir == 2) - { - j_pov = joystick_pov(j_ch) - if (j_pov == 0) - j_fu = 1 - if (j_pov == 270) - j_fl = 1 - if (j_pov == 90) - j_fr = 1 - if (j_pov == 180) - j_fd = 1 - if (j_pov == 315) - { - j_fu = 1 - j_fl = 1 - } - if (j_pov == 45) - { - j_fu = 1 - j_fr = 1 - } - if (j_pov == 225) - { - j_fd = 1 - j_fl = 1 - } - if (j_pov == 135) - { - j_fd = 1 - j_fr = 1 - } - } - } - if (j_fr != j_fr_p && j_fr == 1) - keyboard_key_press(vk_right) - if (j_fl != j_fl_p && j_fl == 1) - keyboard_key_press(vk_left) - if (j_fd != j_fd_p && j_fd == 1) - keyboard_key_press(vk_down) - if (j_fu != j_fu_p && j_fu == 1) - keyboard_key_press(vk_up) - if (j_fr != j_fr_p && j_fr == 0) - keyboard_key_release(vk_right) - if (j_fl != j_fl_p && j_fl == 0) - keyboard_key_release(vk_left) - if (j_fd != j_fd_p && j_fd == 0) - keyboard_key_release(vk_down) - if (j_fu != j_fu_p && j_fu == 0) - keyboard_key_release(vk_up) -} -up = 0 -down = 0 -left = 0 -right = 0 -if keyboard_check(vk_up) - try_up = 1 -if keyboard_check_released(vk_up) - try_up = 0 -if keyboard_check(vk_down) - try_down = 1 -if keyboard_check_released(vk_down) - try_down = 0 -if keyboard_check(vk_right) - try_right = 1 -if keyboard_check_released(vk_right) - try_right = 0 -if keyboard_check(vk_left) - try_left = 1 -if keyboard_check_released(vk_left) - try_left = 0 -if (global.osflavor == 1) -{ - if try_up - up = keyboard_check_direct(vk_up) - if try_down - down = keyboard_check_direct(vk_down) - if try_left - left = keyboard_check_direct(vk_left) - if try_right - right = keyboard_check_direct(vk_right) -} -else -{ - if try_up - up = keyboard_check(vk_up) - if try_down - down = keyboard_check(vk_down) - if try_left - left = keyboard_check(vk_left) - if try_right - right = keyboard_check(vk_right) -} -if keyboard_check_released(vk_up) - up = 0 -if keyboard_check_released(vk_down) - down = 0 -if keyboard_check_released(vk_left) - left = 0 -if keyboard_check_released(vk_right) - right = 0 -var now_idle = (!(up || down || left || right || control_check(0) || control_check(1) || control_check(2))) -if (now_idle && (!idle)) - idle_time = current_time -idle = now_idle -if control_check(2) -{ - if (global.flag[28] == 1) - { - if (instance_exists(OBJ_WRITER) && (!instance_exists(obj_choicer))) - { - if (h_skip == 0) - { - keyboard_key_press(ord("X")) - keyboard_key_press(ord("Z")) - } - if (h_skip == 1) - { - keyboard_key_release(ord("Z")) - keyboard_key_release(ord("X")) - } - if (h_skip == 0) - h_skip = 1 - else - h_skip = 0 - } - } -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("F")) - room_speed = 200 -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("W")) - room_speed = 10 -} -if keyboard_check_pressed(vk_f4) -{ - if window_get_fullscreen() - window_set_fullscreen(false) - else - window_set_fullscreen(true) -} -if (canquit == 1) -{ - if (global.debug == 1) - { - if (keyboard_check_pressed(ord("R")) && instance_exists(obj_essaystuff) == 0) - { - debug_r += 1 - if (debug_r > 5) - game_restart() - spec_rtimer = 1 - } - } - spec_rtimer += 1 - if (spec_rtimer >= 6) - debug_r = 0 - if keyboard_check(vk_escape) - { - quit += 1 - if (instance_exists(obj_quittingmessage) == 0) - instance_create(0, 0, obj_quittingmessage) - } - else - quit = 0 -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 887b086f9..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - return; - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ee7a4ca81..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6623 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\\XLa, la.^3 &Time to wake&up and\\R smell\\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\\Y" - if (global.flag[22] == 2) - adder = "\\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 965: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_2") - global.msg[1] = scr_gettext("SCR_TEXT_mewmew_3") - global.msg[2] = " " - if (global.tempvalue[14] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_6") - with (obj_mewmew_npc) - con = 1 - } - break - case 966: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_4") - with (obj_mewmew_npc) - con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_5") - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1077: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_0") - if instance_exists(obj_mewmew_boss) - { - if (obj_mewmew_boss.true_battle >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_1") - } - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index bd067ef6b..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, false, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_joystick_pov.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_joystick_pov.gml deleted file mode 100644 index 6c8efecf4..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_joystick_pov.gml +++ /dev/null @@ -1,7 +0,0 @@ -var jid = __joystick_2_gamepad(argument0) -var mask = 0 -mask |= (gamepad_button_value(jid, gp_padu) > 0 ? 1 : 0) -mask |= (gamepad_button_value(jid, gp_padr) > 0 ? 2 : 0) -mask |= (gamepad_button_value(jid, gp_padd) > 0 ? 4 : 0) -mask |= (gamepad_button_value(jid, gp_padl) > 0 ? 8 : 0) -return global.__jstick_povangle[mask]; diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 5baecfc3f..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,43 +0,0 @@ -var lines; -if (global.osflavor <= 2) - return file_text_open_read(argument0); -else -{ - var name = string_lower(argument0) - var file = ds_map_find_value(global.savedata, name) - if is_undefined(file) - return undefined; - var data = file - var num_lines = 0 - while (string_byte_length(data) > 0) - { - var newline_pos = string_pos(chr($0A), data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == chr($0D)) - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line - } - handle = ds_map_create() - ds_map_set(handle, "is_write", 0) - ds_map_set(handle, "text", lines) - ds_map_set(handle, "num_lines", num_lines) - ds_map_set(handle, "line", 0) - ds_map_set(handle, "line_read", 0) - return handle; -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index f76acbdc9..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,23 +0,0 @@ -var xx = argument0 -var yy = argument1 -if (global.language == "ja") -{ - var use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (var i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, string_hash_to_newline(global.charname)) -return string_width(string_hash_to_newline(global.charname)); diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_draw_screen_border.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_draw_screen_border.gml deleted file mode 100644 index ddd3cc787..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_draw_screen_border.gml +++ /dev/null @@ -1,259 +0,0 @@ -var overlay; -var border_id = argument0 -draw_enable_alphablend(0) -if (border_id == 1) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_line_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_line_544, 0, 0) -} -if (border_id == 2) -{ - var fade_time = 60 - if instance_exists(obj_stalkerflowey) - { - global.screen_border_state += (1 / fade_time) - if (global.screen_border_state > 1) - global.screen_border_state = 1 - } - else - { - global.screen_border_state -= (1 / fade_time) - if (global.screen_border_state < 0) - global.screen_border_state = 0 - } - var idle_min = 300000 - var idle_time = 0 - if (obj_time.idle && current_time >= (obj_time.idle_time + idle_min)) - idle_time = (current_time - (obj_time.idle_time + idle_min)) - var idle_frame = (floor((idle_time / 100)) % 3) - var base = -4 - for (var i = 0; i < 9; i++) - { - overlay[i, 0] = -4 - overlay[i, 1] = spr_undertaletitle - overlay[i, 2] = spr_undertaletitle - } - if (os_type == os_ps4 || os_type == os_switch_beta) - { - base = bg_border_sepia_1080 - overlay[0, 1] = spr_blconbelow - overlay[0, 2] = spr_truechara_laugh - overlay[1, 1] = spr_superbone - overlay[1, 2] = buttonL_nx_zr - overlay[2, 1] = spr_barktry_ja - overlay[2, 2] = spr_finalfroggit - overlay[3, 1] = spr_undertaletitle - overlay[3, 2] = spr_undynex_example - overlay[4, 1] = spr_vegetoid - overlay[4, 2] = spr_blconbelow - overlay[5, 1] = spr_bookshelf - overlay[5, 2] = spr_undertaletitle - overlay[6, 1] = spr_forcefield_right_middle - overlay[6, 2] = spr_alphyshelper_embarrass - overlay[7, 1] = spr_chipdoor_chippart - overlay[7, 2] = spr_gb_npc - overlay[8, 1] = spr_undynea_ut - overlay[8, 2] = spr_uppbutton - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_1080_1a - overlay[1, 0] = bg_border_sepia_1080_2a - overlay[2, 0] = bg_border_sepia_1080_3a - overlay[3, 0] = bg_border_sepia_1080_4a - overlay[4, 0] = bg_border_sepia_1080_5a - overlay[5, 0] = bg_border_sepia_1080_6a - overlay[6, 0] = bg_border_sepia_1080_7a - overlay[7, 0] = bg_border_sepia_1080_8a - overlay[8, 0] = bg_border_sepia_1080_9a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_1080_1b - overlay[1, 0] = bg_border_sepia_1080_2b - overlay[2, 0] = bg_border_sepia_1080_3b - overlay[3, 0] = bg_border_sepia_1080_4b - overlay[4, 0] = bg_border_sepia_1080_5b - overlay[5, 0] = bg_border_sepia_1080_6b - overlay[6, 0] = bg_border_sepia_1080_7b - overlay[7, 0] = bg_border_sepia_1080_8b - overlay[8, 0] = bg_border_sepia_1080_9b - } - if (global.screen_border_state > 0) - overlay1 = 2839 - } - else if (os_type == os_psvita) - { - base = bg_border_sepia_544 - overlay[0, 1] = spr_talkbt - overlay[0, 2] = spr_undyneb_face3 - overlay[1, 1] = spr_heartorange - overlay[1, 2] = spr_wizard_orbhurt - overlay[2, 1] = spr_undertaletitle - overlay[2, 2] = spr_oolbone_ja - overlay[3, 1] = button_ps4_l3 - overlay[3, 2] = spr_undertaletitle - overlay[4, 1] = buttonL_nx_zl - overlay[4, 2] = spr_whimsunhurt - overlay[5, 1] = buttonL_vita_triangle - overlay[5, 2] = spr_vulkinface5 - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_544_1a - overlay[1, 0] = bg_border_sepia_544_2a - overlay[2, 0] = bg_border_sepia_544_3a - overlay[3, 0] = bg_border_sepia_544_4a - overlay[4, 0] = bg_border_sepia_544_5a - overlay[5, 0] = bg_border_sepia_544_6a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_544_1b - overlay[1, 0] = bg_border_sepia_544_2b - overlay[2, 0] = bg_border_sepia_544_3b - overlay[3, 0] = bg_border_sepia_544_4b - overlay[4, 0] = bg_border_sepia_544_5b - overlay[5, 0] = bg_border_sepia_544_6b - } - if (global.screen_border_state > 0) - overlay1 = 2853 - } - if (base != -4) - { - scr_draw_background_ps4(base, 0, 0) - if (overlay[0, 0] != -4) - { - if (global.screen_border_state > 0) - { - draw_enable_alphablend(1) - draw_set_alpha((global.screen_border_state * 0.5)) - } - scr_draw_background_ps4(overlay[0, 0], overlay[0, 1], overlay[0, 2]) - if (global.screen_border_state > 0) - { - draw_set_alpha(1) - draw_enable_alphablend(0) - } - } - for (i = 1; i < 9; i++) - { - if (overlay[i, 0] != -4) - scr_draw_background_ps4(overlay[i, 0], overlay[i, 1], overlay[i, 2]) - } - } -} -if (border_id == 3) -{ - var room_id = global.currentroom - if ((room_id >= 4 && room_id <= 43) || (room >= room_introstory && room <= room_intromenu) || (room >= room_settings && room <= room_controltest)) - border_id = 4 - if ((room_id >= 44 && room_id <= 81) || room_id == 311 || (room_id >= 265 && room_id <= 266)) - border_id = 5 - if ((room_id >= 82 && room_id <= 136) || room_id == 312 || room_id == 315) - border_id = 6 - if ((room_id >= 137 && room_id <= 215) || room_id == 313 || room_id == 314 || (room_id >= 242 && room_id <= 243)) - border_id = 7 - if (room_id >= 216 && room_id <= 240) - border_id = 8 - if (room_id >= 244 && room_id <= 263) - border_id = 9 - if (room_id == 136 || room_id == 213 || room_id == 215 || room_id == 242 || room_id == 243 || room_id == 316 || room_id == 335 || room_id == 336 || room_id == 337) - border_id = 3.5 - if (global.flag[479] == 0 && (room_id == 244 || room_id == 245)) - border_id = 3.5 - if (border_id != global.screen_border_state) - { - if (global.screen_border_state != 0) - { - if (global.screen_border_dynamic_fade_id == border_id) - global.screen_border_dynamic_fade_level = (1 - global.screen_border_dynamic_fade_level) - else - global.screen_border_dynamic_fade_level = 1 - global.screen_border_dynamic_fade_id = global.screen_border_state - } - global.screen_border_state = border_id - } - if (global.screen_border_dynamic_fade_level > 0) - { - fade_time = 30 - global.screen_border_dynamic_fade_level -= (1 / fade_time) - if (global.screen_border_dynamic_fade_level > 0) - { - scr_draw_screen_border(global.screen_border_dynamic_fade_id) - draw_set_alpha((1 - global.screen_border_dynamic_fade_level)) - } - else - { - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - } - } -} -if (border_id == 3.5) -{ - draw_set_color(c_black) - ossafe_fill_rectangle(0, 0, (window_get_width() - 1), (window_get_height() - 1)) - draw_set_color(c_white) -} -if (border_id == 4) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_ruins_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_ruins_544, 0, 0) -} -if (border_id == 5) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_tundra_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_tundra_544, 0, 0) -} -if (border_id == 6) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_water1_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_water1_544, 0, 0) -} -if (border_id == 7) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_fire_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_fire_544, 0, 0) -} -if (border_id == 8) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_castle_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_castle_544, 0, 0) -} -if (border_id == 9) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_truelab_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_truelab_544, 0, 0) -} -if (border_id == 10) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_rad_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_rad_544, 0, 0) -} -if (border_id == 11) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_anime_1080, 0, 0) -} -if (border_id == 12) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_dog_1080, 0, 0) -} -draw_set_alpha(1) -draw_enable_alphablend(1) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 30f82a28b..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,8 +0,0 @@ -global.msg[0] = scr_gettext("scr_itemdesc_2") -for (var i = 0; true; i++) -{ - var desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 4c986d2f8..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,39 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -var bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 69fc16d1e..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,901 +0,0 @@ -var credamt = 0 -if (global.osflavor <= 2) -{ - var credits_path = (working_directory + "credits.txt") - var credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - var thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew \"Southrop\" Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara \"Svenna\" Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean \"Ariamaki\" Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin \"BenaSPACE\" McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn \"Xisuu\" Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan \"ChessboardMan\" Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles \"Chip Champion\" Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary \"ZarroTsu\" Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will \"Radnar\" Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin \"AT\" Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves \"TehLazyOne\"" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke \"Association\" Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index 910c48cca..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var lines; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - var xx = (name_x - (q / 3)) - if (global.language == "ja") - { - var kana_count = 0 - for (var i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - var confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - return; - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, string_hash_to_newline(spec_m)) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (var row = 0; row < rows; row++) - { - var yy = ymap[row] - for (var col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), string_hash_to_newline(charmap[row, col])) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - var menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, string_hash_to_newline(menu_text0)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - var menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, string_hash_to_newline(menu_text1)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - var menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, string_hash_to_newline(menu_text2)) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - var charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, string_hash_to_newline(charset_text0)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - var charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, string_hash_to_newline(charset_text1)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - var charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, string_hash_to_newline(charset_text2)) - } - var old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - var best = 0 - var bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - var diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, string_hash_to_newline(charname)) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - var roomname = scr_roomname(roome) - var lvtext = scr_gettext("save_menu_lv", string(love)) - var timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - var namesize = string_width(string_hash_to_newline(substr(name, 1, 6))) - var lvsize = string_width(string_hash_to_newline(lvtext)) - var timesize = string_width(string_hash_to_newline(timetext)) - var x_center = 160 - var lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - var namepos = 70 - var timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, string_hash_to_newline(name)) - draw_text(lvpos, 62, string_hash_to_newline(lvtext)) - draw_text((timepos - timesize), 62, string_hash_to_newline(timetext)) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, string_hash_to_newline(roomname)) - if (selected3 == 0) - draw_set_color(c_yellow) - var continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, string_hash_to_newline(continue_text)) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - var reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, string_hash_to_newline(reset_text)) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - var action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, string_hash_to_newline(scr_gettext("instructions_title"))) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\\*Z") - draw_text(115, 50, string_hash_to_newline(scr_gettext("instructions_confirm_label"))) - scr_drawtext_icons(85, 70, "\\*X") - draw_text(115, 70, string_hash_to_newline(scr_gettext("instructions_cancel_label"))) - scr_drawtext_icons(85, 90, "\\*C") - draw_text(115, 90, string_hash_to_newline(scr_gettext("instructions_menu_label"))) - draw_text(86, 130, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - var num_lines = 5 - if (global.language == "ja") - { - var label_x = 0 - for (i = 0; i < num_lines; i++) - { - var key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), string_hash_to_newline(key)) - xx = ((50 + string_width(string_hash_to_newline(key))) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - var label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), string_hash_to_newline(label)) - } - draw_text(50, 145, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), string_hash_to_newline(((key + " - ") + label))) - } - draw_text(85, 140, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, string_hash_to_newline(scr_gettext("instructions_begin"))) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - var yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, string_hash_to_newline(scr_gettext("settings_name"))) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/427520a97db28c87da4220abb3a334c1/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 0ba119150..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,54 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - show_debug_message((((((("layer: " + string(__i)) + " ") + __name) + "[") + string(__numels)) + "]")) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - var __inst = layer_instance_get_instance(__id) - __name = object_get_name(__inst.object_index) - show_debug_message((((" instance:" + string(__j)) + ": ") + __name)) - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - show_debug_message((" tile: " + string(__j))) - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index 1c4a7918f..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,923 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - if (global.submenu >= 30 && global.submenu <= 33) - { - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(abs((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_0") - if window_get_fullscreen() - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_1") - draw_sprite(spr_heart, 0, (xx + 145), ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text((xx + 170), (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text((xx + 430), (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text((xx + 170), (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text((xx + 170), (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text((xx + 430), (yy + 220), string_hash_to_newline(flashoff)) - draw_text((xx + 170), (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_93_0"))) - draw_text((xx + 430), (yy + 255), string_hash_to_newline(fullscreenoff)) - draw_text((xx + 170), (yy + 290), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text((xx + 430), (yy + 290), string_hash_to_newline(runoff)) - draw_text((xx + 170), (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_95_0"))) - draw_text((xx + 170), (yy + 360), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - draw_set_color(c_white) - draw_text((xx + 105), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - draw_text((xx + 325), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_114_0"))) - if obj_time.gamepad_active - draw_text((xx + 435), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), ((yy + 150) + (global.submenucoord[35] * 28))) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), ((yy + 140) + (i * 28)), string_hash_to_newline(function[i])) - if (i < 7) - { - draw_text((xx + 325), ((yy + 140) + (i * 28)), string_hash_to_newline(global.asc_def[global.input_k[i]])) - if obj_time.gamepad_active - draw_text((xx + 495), ((yy + 140) + (i * 28)), string_hash_to_newline(string(global.input_g[i]))) - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index bd6ba38ef..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1232 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 6) - global.submenucoord[30] = 6 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - with (obj_time) - fullscreen_toggle = 1 - } - if (global.submenucoord[30] == 4) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 5) - global.submenu = 34 - if (global.submenucoord[30] == 6) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - m_quit = 1 - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - game_end() - if (button2_p() && twobuffer < 0) - { - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - gamepad_exists = obj_time.gamepad_active - gamepad_id = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if keyboard_check_pressed(vk_anykey) - { - for (i = 48; i <= 90; i += 1) - { - if keyboard_check_pressed(i) - { - new_key = i - control_select_con = 2 - } - } - if keyboard_check_pressed(ord(";")) - { - new_key = 59 - control_select_con = 2 - } - if keyboard_check_pressed(vk_printscreen) - { - new_key = 44 - control_select_con = 2 - } - if keyboard_check_pressed(vk_delete) - { - new_key = 46 - control_select_con = 2 - } - if keyboard_check_pressed(ord("/")) - { - new_key = 47 - control_select_con = 2 - } - if keyboard_check_pressed(ord("\\")) - { - new_key = 92 - control_select_con = 2 - } - if keyboard_check_pressed(ord("]")) - { - new_key = 93 - control_select_con = 2 - } - if keyboard_check_pressed(ord("[")) - { - new_key = 91 - control_select_con = 2 - } - if keyboard_check_pressed(vk_numpad0) - { - new_key = 96 - control_select_con = 2 - } - if keyboard_check_pressed(vk_insert) - { - new_key = 45 - control_select_con = 2 - } - if keyboard_check_pressed(ord("=")) - { - new_key = 61 - control_select_con = 2 - } - if keyboard_check_pressed(vk_left) - { - new_key = 37 - control_select_con = 2 - } - if keyboard_check_pressed(vk_right) - { - new_key = 39 - control_select_con = 2 - } - if keyboard_check_pressed(vk_up) - { - new_key = 38 - control_select_con = 2 - } - if keyboard_check_pressed(vk_down) - { - new_key = 40 - control_select_con = 2 - } - if keyboard_check_pressed(vk_return) - { - new_key = 13 - control_select_con = 2 - } - if keyboard_check_pressed(vk_shift) - { - new_key = 16 - control_select_con = 2 - } - if keyboard_check_pressed(vk_control) - { - new_key = 17 - control_select_con = 2 - } - if keyboard_check_pressed(vk_backspace) - { - new_key = 8 - control_select_con = 2 - } - if keyboard_check_pressed(vk_alt) - { - new_key = 18 - control_select_con = 2 - } - if keyboard_check_pressed(vk_escape) - { - new_key = -1 - control_select_con = 0 - } - } - if (gamepad_exists == 1 && control_select_con == 1) - { - gpc = gamepad_button_count(gamepad_id) - if (gpc >= 40) - gpc = 40 - for (i = 0; i <= gpc; i += 1) - { - if gamepad_button_check_pressed(gamepad_id, i) - { - new_gamepad_key = i - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - onebuffer = 2 - twobuffer = 2 - ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_close() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - global.submenucoord[21] -= 1 - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - global.submenucoord[21] += 1 - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 1 - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - else if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[2] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 1 - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[4] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 2 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - global.submenu = 5 - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - deschaver = 1 - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - } - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - pagemax[0] -= 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - pagemax[1] -= 1 - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - pagemax[0] += 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - pagemax[1] += 1 - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - scr_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 5008a9c96..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,634 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } -} -if (global.interact == 0) -{ - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), (y + py), obj_solidblock) - xymeet = 1 - if place_meeting((x + px), y, obj_solidblock) - { - if place_meeting((x + px), y, obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - snd_play(snd_step1) - stepped = true - } - if (image_index == 0 || image_index == 2) - stepped = false - if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} -if scr_debug() -{ - if keyboard_check_pressed(ord("P")) - room_speed = 60 - if keyboard_check_pressed(ord("O")) - room_speed = 3 - if (keyboard_check(ord("3")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_dark1) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 2 - global.interact = 0 - global.darkzone = true - room_goto(room_field_checkers5) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_castle_tutorial) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_field1) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_area3) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_fightsusie) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("D"))) - { - global.char[0] = 2 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.plot = 154 - room_goto(room_cc_prison_cells) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.plot = 165 - scr_keyitemget(5) - global.tempflag[4] = 1 - repeat (13) - scr_weaponget(5) - room_goto(room_cc_prison_prejoker) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.flag[248] = 0 - room_goto(room_cc_kingbattle) - } - if (keyboard_check(ord("2")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_town_krisyard) - } - if (keyboard_check(ord("3")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_schooldoor) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_school_unusedroom) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_school) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_north) - } - if keyboard_check_pressed(vk_insert) - room_goto_next() - if keyboard_check_pressed(vk_delete) - room_goto_previous() -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 0ba119150..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,54 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - show_debug_message((((((("layer: " + string(__i)) + " ") + __name) + "[") + string(__numels)) + "]")) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - var __inst = layer_instance_get_instance(__id) - __name = object_get_name(__inst.object_index) - show_debug_message((((" instance:" + string(__j)) + ": ") + __name)) - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - show_debug_message((" tile: " + string(__j))) - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index 1c4a7918f..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,923 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - if (global.submenu >= 30 && global.submenu <= 33) - { - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(abs((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_0") - if window_get_fullscreen() - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_1") - draw_sprite(spr_heart, 0, (xx + 145), ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text((xx + 170), (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text((xx + 430), (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text((xx + 170), (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text((xx + 170), (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text((xx + 430), (yy + 220), string_hash_to_newline(flashoff)) - draw_text((xx + 170), (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_93_0"))) - draw_text((xx + 430), (yy + 255), string_hash_to_newline(fullscreenoff)) - draw_text((xx + 170), (yy + 290), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text((xx + 430), (yy + 290), string_hash_to_newline(runoff)) - draw_text((xx + 170), (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_95_0"))) - draw_text((xx + 170), (yy + 360), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - draw_set_color(c_white) - draw_text((xx + 105), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - draw_text((xx + 325), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_114_0"))) - if obj_time.gamepad_active - draw_text((xx + 435), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), ((yy + 150) + (global.submenucoord[35] * 28))) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), ((yy + 140) + (i * 28)), string_hash_to_newline(function[i])) - if (i < 7) - { - draw_text((xx + 325), ((yy + 140) + (i * 28)), string_hash_to_newline(global.asc_def[global.input_k[i]])) - if obj_time.gamepad_active - draw_text((xx + 495), ((yy + 140) + (i * 28)), string_hash_to_newline(string(global.input_g[i]))) - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index bd6ba38ef..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1232 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 6) - global.submenucoord[30] = 6 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - with (obj_time) - fullscreen_toggle = 1 - } - if (global.submenucoord[30] == 4) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 5) - global.submenu = 34 - if (global.submenucoord[30] == 6) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - m_quit = 1 - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - game_end() - if (button2_p() && twobuffer < 0) - { - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - gamepad_exists = obj_time.gamepad_active - gamepad_id = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if keyboard_check_pressed(vk_anykey) - { - for (i = 48; i <= 90; i += 1) - { - if keyboard_check_pressed(i) - { - new_key = i - control_select_con = 2 - } - } - if keyboard_check_pressed(ord(";")) - { - new_key = 59 - control_select_con = 2 - } - if keyboard_check_pressed(vk_printscreen) - { - new_key = 44 - control_select_con = 2 - } - if keyboard_check_pressed(vk_delete) - { - new_key = 46 - control_select_con = 2 - } - if keyboard_check_pressed(ord("/")) - { - new_key = 47 - control_select_con = 2 - } - if keyboard_check_pressed(ord("\\")) - { - new_key = 92 - control_select_con = 2 - } - if keyboard_check_pressed(ord("]")) - { - new_key = 93 - control_select_con = 2 - } - if keyboard_check_pressed(ord("[")) - { - new_key = 91 - control_select_con = 2 - } - if keyboard_check_pressed(vk_numpad0) - { - new_key = 96 - control_select_con = 2 - } - if keyboard_check_pressed(vk_insert) - { - new_key = 45 - control_select_con = 2 - } - if keyboard_check_pressed(ord("=")) - { - new_key = 61 - control_select_con = 2 - } - if keyboard_check_pressed(vk_left) - { - new_key = 37 - control_select_con = 2 - } - if keyboard_check_pressed(vk_right) - { - new_key = 39 - control_select_con = 2 - } - if keyboard_check_pressed(vk_up) - { - new_key = 38 - control_select_con = 2 - } - if keyboard_check_pressed(vk_down) - { - new_key = 40 - control_select_con = 2 - } - if keyboard_check_pressed(vk_return) - { - new_key = 13 - control_select_con = 2 - } - if keyboard_check_pressed(vk_shift) - { - new_key = 16 - control_select_con = 2 - } - if keyboard_check_pressed(vk_control) - { - new_key = 17 - control_select_con = 2 - } - if keyboard_check_pressed(vk_backspace) - { - new_key = 8 - control_select_con = 2 - } - if keyboard_check_pressed(vk_alt) - { - new_key = 18 - control_select_con = 2 - } - if keyboard_check_pressed(vk_escape) - { - new_key = -1 - control_select_con = 0 - } - } - if (gamepad_exists == 1 && control_select_con == 1) - { - gpc = gamepad_button_count(gamepad_id) - if (gpc >= 40) - gpc = 40 - for (i = 0; i <= gpc; i += 1) - { - if gamepad_button_check_pressed(gamepad_id, i) - { - new_gamepad_key = i - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - onebuffer = 2 - twobuffer = 2 - ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_close() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - global.submenucoord[21] -= 1 - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - global.submenucoord[21] += 1 - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 1 - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - else if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[2] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 1 - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[4] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 2 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - global.submenu = 5 - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - deschaver = 1 - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - } - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - pagemax[0] -= 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - pagemax[1] -= 1 - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - pagemax[0] += 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - pagemax[1] += 1 - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - scr_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 5008a9c96..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,634 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } -} -if (global.interact == 0) -{ - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), (y + py), obj_solidblock) - xymeet = 1 - if place_meeting((x + px), y, obj_solidblock) - { - if place_meeting((x + px), y, obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - snd_play(snd_step1) - stepped = true - } - if (image_index == 0 || image_index == 2) - stepped = false - if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} -if scr_debug() -{ - if keyboard_check_pressed(ord("P")) - room_speed = 60 - if keyboard_check_pressed(ord("O")) - room_speed = 3 - if (keyboard_check(ord("3")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_dark1) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 2 - global.interact = 0 - global.darkzone = true - room_goto(room_field_checkers5) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_castle_tutorial) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_field1) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_area3) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_fightsusie) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("D"))) - { - global.char[0] = 2 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.plot = 154 - room_goto(room_cc_prison_cells) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.plot = 165 - scr_keyitemget(5) - global.tempflag[4] = 1 - repeat (13) - scr_weaponget(5) - room_goto(room_cc_prison_prejoker) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.flag[248] = 0 - room_goto(room_cc_kingbattle) - } - if (keyboard_check(ord("2")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_town_krisyard) - } - if (keyboard_check(ord("3")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_schooldoor) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_school_unusedroom) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_school) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_north) - } - if keyboard_check_pressed(vk_insert) - room_goto_next() - if keyboard_check_pressed(vk_delete) - room_goto_previous() -} diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/56305194391ad7c548ee55a8891179cc/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/582795ad2037d06cdc8db0c72d9360d5/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/5903fc5cb042a728d4ad8ee9e949c6eb/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index c5aa48faf..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,949 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if (os_type == os_ps4 || os_type == os_switch) - { - var gamepad_text = (global.lang == "en" ? "Button" : "ボタン") - var buttonXPos = ((os_type == os_switch && global.lang == "en") ? (xx + 445) : (xx + 435)) - var buttonYPos = (os_type == os_switch ? ((yy + 100) + _yOffset) : ((yy + 95) + _yOffset)) - if obj_gamecontroller.gamepad_active - draw_text(buttonXPos, buttonYPos, gamepad_text) - } - else if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 95) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - if (_sprite == button_switch_lStickClick_0 || _sprite == button_switch_rStickClick_0) - _xPos -= 3 - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index c78ee795e..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1271 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - if (new_gamepad_key == 32775) - obj_gamecontroller.gamepad_shoulderlb_reassign = 1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_write_real("SHOULDERLB_REASSIGN", "SHOULDERLB_REASSIGN", obj_gamecontroller.gamepad_shoulderlb_reassign) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 1a8bb3323..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,494 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - if instance_exists(obj_overworldc) - { - if (!menuOpened) - { - menuOpened = 1 - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - else - menuOpened = 0 - } - else - { - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index c5aa48faf..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,949 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if (os_type == os_ps4 || os_type == os_switch) - { - var gamepad_text = (global.lang == "en" ? "Button" : "ボタン") - var buttonXPos = ((os_type == os_switch && global.lang == "en") ? (xx + 445) : (xx + 435)) - var buttonYPos = (os_type == os_switch ? ((yy + 100) + _yOffset) : ((yy + 95) + _yOffset)) - if obj_gamecontroller.gamepad_active - draw_text(buttonXPos, buttonYPos, gamepad_text) - } - else if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 95) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - if (_sprite == button_switch_lStickClick_0 || _sprite == button_switch_rStickClick_0) - _xPos -= 3 - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index c78ee795e..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1271 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - if (new_gamepad_key == 32775) - obj_gamecontroller.gamepad_shoulderlb_reassign = 1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_write_real("SHOULDERLB_REASSIGN", "SHOULDERLB_REASSIGN", obj_gamecontroller.gamepad_shoulderlb_reassign) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 1a8bb3323..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,494 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - if instance_exists(obj_overworldc) - { - if (!menuOpened) - { - menuOpened = 1 - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - else - menuOpened = 0 - } - else - { - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/5c8f4533f6e0629d45766830f5f5ca72/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index f2890f546..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,939 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index 169e54ff6..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1277 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - ossafe_savedata_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 4d10561e9..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,479 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_84_debug.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_84_debug.gml deleted file mode 100644 index da6bc884f..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_84_debug.gml +++ /dev/null @@ -1,847 +0,0 @@ -var strings; -var process = argument0 -if (!variable_global_exists("chemg_menu_depth")) -{ - global.chemg_menu_indices = array_create(0) - global.chemg_menu_indices[0] = 0 - global.chemg_menu_depth = 0 - global.chemg_god_mode = 0 - global.chemg_show_room = 1 - global.chemg_font_test = 0 - var parent = ds_list_create() - show_debug_message("init debug") - var group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Options") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[loadj]", "", "reload japanese") - scr_84_add_menu_item(parent, "[lang]", "ja", "use japanese") - scr_84_add_menu_item(parent, "[lang]", "en", "use english") - scr_84_add_menu_item(parent, "[showroom]", "", "toggle room name") - scr_84_add_menu_item(parent, "[restart]", "", "restart room") - scr_84_add_menu_item(parent, "[god]", "", "god mode") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[item]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[item]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[item]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[item]", 4, "Manual") - scr_84_add_menu_item(parent, "[item]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[item]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[item]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[item]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[item]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[item]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[item]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[item]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[item]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[item]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[item]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give light item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[lightitem]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[lightitem]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[lightitem]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[lightitem]", 4, "Manual") - scr_84_add_menu_item(parent, "[lightitem]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[lightitem]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[lightitem]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[lightitem]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[lightitem]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[lightitem]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[lightitem]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[lightitem]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[lightitem]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[lightitem]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[lightitem]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give key item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[keyitem]", 1, "Cell Phone") - scr_84_add_menu_item(parent, "[keyitem]", 2, "Egg") - scr_84_add_menu_item(parent, "[keyitem]", 3, "BrokenCake") - scr_84_add_menu_item(parent, "[keyitem]", 4, "Broken Key A") - scr_84_add_menu_item(parent, "[keyitem]", 5, "Door Key") - scr_84_add_menu_item(parent, "[keyitem]", 6, "Broken Key B") - scr_84_add_menu_item(parent, "[keyitem]", 7, "Broken Key C") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give weapon") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[weaponitem]", 1, "Wood Blade") - scr_84_add_menu_item(parent, "[weaponitem]", 2, "Mane Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 3, "Red Scarf") - scr_84_add_menu_item(parent, "[weaponitem]", 4, "EverybodyWeapon") - scr_84_add_menu_item(parent, "[weaponitem]", 5, "Spookysword") - scr_84_add_menu_item(parent, "[weaponitem]", 6, "Brave Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 7, "Devilsknife") - scr_84_add_menu_item(parent, "[weaponitem]", 8, "Trefoil") - scr_84_add_menu_item(parent, "[weaponitem]", 9, "Ragger") - scr_84_add_menu_item(parent, "[weaponitem]", 10, "DaintyScarf") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give armor") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[armoritem]", 1, "Amber Card") - scr_84_add_menu_item(parent, "[armoritem]", 2, "Dice Brace") - scr_84_add_menu_item(parent, "[armoritem]", 3, "Pink Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 4, "White Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 5, "IronShackle") - scr_84_add_menu_item(parent, "[armoritem]", 6, "MouseToken") - scr_84_add_menu_item(parent, "[armoritem]", 7, "Jevilstail") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[phone]", "", "give phone number") - scr_84_add_menu_item(parent, "[gold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[gold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[lightgold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[lightgold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[fonttest]", "", "font test") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Rooms") - scr_84_push(parent) - parent = group - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - scr_84_add_menu_item(parent, "[room]", 145, "room_splashscreen") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "rooms") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 0, "ROOM_INITIALIZE") - scr_84_add_menu_item(parent, "[room]", 1, "PLACE_CONTACT") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[room]", 141, "room_empty") - scr_84_add_menu_item(parent, "[room]", 142, "room_man") - scr_84_add_menu_item(parent, "[roomdark]", 143, "room_DARKempty") - scr_84_add_menu_item(parent, "[room]", 144, "room_battletest") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - parent = scr_84_pop() - global.chemg_menus = parent -} -if process - return global.chemg_menu_depth > 0; -if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_stickr) -{ - global.chemg_menu_depth = 1 - global.chemg_interact = global.interact - global.chemg_yoffset = 0 - global.interact = 0 -} -if (global.chemg_menu_depth > 0) -{ - parent = global.chemg_menus - var change = 0 - var depth_ndx = (global.chemg_menu_depth - 1) - var i = 0 - do - { - var choice_ndx = global.chemg_menu_indices[i] - var choice = ds_list_find_value(parent, choice_ndx * 3) - var choice_data = ds_list_find_value(parent, choice_ndx * 3 + 1) - var choice_name = ds_list_find_value(parent, choice_ndx * 3 + 2) - i += 1 - if i == global.chemg_menu_depth - { - break; - } - parent = choice_data - } - until false; - var num_choices = (ds_list_size(parent) / 3) - if (keyboard_check_pressed(vk_up) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padu)) - change = -1 - else if (keyboard_check_pressed(vk_down) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padd)) - change = 1 - else if (keyboard_check_pressed(vk_return) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face2)) - { - if (choice == "[group]") - { - global.chemg_menu_indices[global.chemg_menu_depth] = 0 - global.chemg_menu_depth += 1 - } - else if (choice == "[loadj]") - { - var type = scr_84_lang_load() - show_debug_message((("loaded " + type) + " lang file")) - show_message((("loaded " + type) + " lang file")) - global.chemg_menu_depth = 0 - } - else if (choice == "[room]") - { - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[roomdark]") - { - show_debug_message(("room_goto: " + choice_name)) - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[lang]") - { - show_debug_message(("switch lang: " + choice_data)) - global.lang = choice_data - global.chemg_menu_depth = 0 - scr_84_init_localization() - room_restart() - } - else if (choice == "[restart]") - { - show_debug_message("restart room") - room_restart() - global.chemg_menu_depth = 0 - } - else if (choice == "[god]") - global.chemg_god_mode = (1 - global.chemg_god_mode) - else if (choice == "[lightitem]") - { - if (scr_litemcheck(choice_data) == 0) - scr_litemget(choice_data) - } - else if (choice == "[item]") - { - if (scr_itemcheck(choice_data) == 0) - scr_itemget(choice_data) - } - else if (choice == "[keyitem]") - { - if (scr_keyitemcheck(choice_data) == 0) - scr_keyitemget(choice_data) - } - else if (choice == "[weaponitem]") - { - if (scr_weaponcheck_inventory(choice_data) == 0) - scr_weaponget(choice_data) - } - else if (choice == "[armoritem]") - { - if (scr_armorcheck_inventory(choice_data) == 0) - scr_armorget(choice_data) - } - else if (choice == "[phone]") - scr_phoneadd(202) - else if (choice == "[gold]") - global.gold = max(0, (global.gold + choice_data)) - else if (choice == "[lightgold]") - global.lgold = max(0, (global.lgold + choice_data)) - else if (choice == "[showroom]") - global.chemg_show_room = (!global.chemg_show_room) - else if (choice == "[fonttest]") - { - global.chemg_font_test = (!global.chemg_font_test) - global.chemg_menu_depth = 0 - } - else - show_debug_message(("unknown menu cmd:" + choice)) - } - else if (keyboard_check_pressed(vk_escape) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face1)) - { - if (global.chemg_menu_depth > 0) - global.chemg_menu_depth -= 1 - if (global.chemg_menu_depth == 0) - global.interact = global.chemg_interact - } - for (i = 0; i < 10; i += 1) - { - global.input_pressed[i] = 0 - global.input_held[i] = 0 - global.input_released[i] = 0 - } - keyboard_clear(vk_up) - keyboard_clear(vk_down) - keyboard_clear(vk_left) - keyboard_clear(vk_right) - keyboard_clear(vk_escape) - keyboard_clear(vk_return) - if (change != 0) - global.chemg_menu_indices[depth_ndx] = (((global.chemg_menu_indices[depth_ndx] + num_choices) + change) % num_choices) - draw_set_font(fnt_main) - draw_set_colour(c_white) - draw_set_halign(fa_left) - draw_set_valign(fa_top) - var yy = global.chemg_yoffset - var vspacing = 15 - scr_84_draw_text_outline(10, yy, (((("====[ menu ]====[ gold: " + string(global.gold)) + " light gold: ") + string(global.lgold)) + " ]")) - yy += vspacing - global.chemg_max_depth = -1 - global.chemg_cursor_y = 0 - scr_84_draw_menu(global.chemg_menus, 10, yy, vspacing, global.chemg_menu_indices, 0, (global.chemg_menu_depth - 1)) - global.chemg_yoffset = min(10, (400 - (global.chemg_cursor_y - global.chemg_yoffset))) -} -var chemg_room_name = room_get_name(room) -if (global.chemg_god_mode > 0) - chemg_room_name = (chemg_room_name + "[god]") -if global.chemg_show_room -{ - draw_set_font(fnt_main) - draw_set_colour(c_white) - var chemg_x = (635 - string_width(chemg_room_name)) - var chemg_y = 5 - scr_84_draw_text_outline(chemg_x, chemg_y, chemg_room_name) -} -if global.chemg_font_test -{ - if (!variable_global_exists("chemg_font_init")) - { - global.chemg_font_init = 1 - var ft = fnt_tinynoelle - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = "NORMAL FONT" - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = "SLOWER, SILENT" - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = "normal enemy font." - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = "battle dialogue" - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = "NORMAL MAIN FONT" - ft[array_length_1d(ft)] = fnt_ja_small - ft[array_length_1d(ft)] = "NORMAL FONT BIG" - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = "toriel font" - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = "toriel font slow" - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = "susie font" - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = "ralsei font" - ft[array_length_1d(ft)] = 12 - ft[array_length_1d(ft)] = "noelle font" - ft[array_length_1d(ft)] = 13 - ft[array_length_1d(ft)] = "berdly font" - ft[array_length_1d(ft)] = 14 - ft[array_length_1d(ft)] = "sans font" - ft[array_length_1d(ft)] = 15 - ft[array_length_1d(ft)] = "pap font" - ft[array_length_1d(ft)] = 16 - ft[array_length_1d(ft)] = ")??? font" - ft[array_length_1d(ft)] = 17 - ft[array_length_1d(ft)] = "undyne font" - ft[array_length_1d(ft)] = 18 - ft[array_length_1d(ft)] = "asgore font" - ft[array_length_1d(ft)] = 19 - ft[array_length_1d(ft)] = "lancer font" - ft[array_length_1d(ft)] = 20 - ft[array_length_1d(ft)] = "alphys font" - ft[array_length_1d(ft)] = 21 - ft[array_length_1d(ft)] = "temmie font" - ft[array_length_1d(ft)] = 22 - ft[array_length_1d(ft)] = "alphys font small" - ft[array_length_1d(ft)] = 23 - ft[array_length_1d(ft)] = "noelle font small" - ft[array_length_1d(ft)] = 30 - ft[array_length_1d(ft)] = "susie dark world" - ft[array_length_1d(ft)] = 31 - ft[array_length_1d(ft)] = "ralsei dark world" - ft[array_length_1d(ft)] = 32 - ft[array_length_1d(ft)] = "lancer dark world" - ft[array_length_1d(ft)] = 33 - ft[array_length_1d(ft)] = "king dark world" - ft[array_length_1d(ft)] = 35 - ft[array_length_1d(ft)] = "joker dark world" - ft[array_length_1d(ft)] = 36 - ft[array_length_1d(ft)] = "NORMAL FONT SILENT" - ft[array_length_1d(ft)] = 37 - ft[array_length_1d(ft)] = "susie dark world slow, spaced." - ft[array_length_1d(ft)] = 40 - ft[array_length_1d(ft)] = "inteo" - ft[array_length_1d(ft)] = 41 - ft[array_length_1d(ft)] = "intro slower" - ft[array_length_1d(ft)] = 42 - ft[array_length_1d(ft)] = "big silent slower" - ft[array_length_1d(ft)] = 45 - ft[array_length_1d(ft)] = "battle dialogue ral" - ft[array_length_1d(ft)] = 46 - ft[array_length_1d(ft)] = "battle dialogue lan" - ft[array_length_1d(ft)] = 47 - ft[array_length_1d(ft)] = "battle dialogue sus" - ft[array_length_1d(ft)] = 48 - ft[array_length_1d(ft)] = "king dark world battle" - ft[array_length_1d(ft)] = 50 - ft[array_length_1d(ft)] = "enemy" - ft[array_length_1d(ft)] = 51 - ft[array_length_1d(ft)] = "hellish yak text" - ft[array_length_1d(ft)] = 52 - ft[array_length_1d(ft)] = "hellish yak text 2" - ft[array_length_1d(ft)] = 53 - ft[array_length_1d(ft)] = "enemy: Susie" - ft[array_length_1d(ft)] = 54 - ft[array_length_1d(ft)] = "enemy: Susie 2" - ft[array_length_1d(ft)] = 55 - ft[array_length_1d(ft)] = "rudy font" - ft[array_length_1d(ft)] = 60 - ft[array_length_1d(ft)] = "SLOWER, SILENT 2" - ft[array_length_1d(ft)] = 666 - ft[array_length_1d(ft)] = "GLOW TEXT" - ft[array_length_1d(ft)] = 667 - ft[array_length_1d(ft)] = "GLOW TEXT 2" - ft[array_length_1d(ft)] = -1 - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = -2 - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = -3 - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = -4 - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = -5 - ft[array_length_1d(ft)] = fnt_tinynoelle - ft[array_length_1d(ft)] = -6 - ft[array_length_1d(ft)] = fnt_ja_tinynoelle - ft[array_length_1d(ft)] = -7 - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = -8 - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = -9 - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = -10 - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = -11 - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = -12 - ft[array_length_1d(ft)] = fnt_ja_small - global.chemg_font_types = ft - global.chemg_font_type_ndx = 0 - } - ft = global.chemg_font_types - var num_types = (array_length_1d(ft) / 2) - change = 0 - if (keyboard_check_pressed(vk_right) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padr)) - change = 1 - else if (keyboard_check_pressed(vk_left) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padl)) - change = -1 - global.chemg_font_type_ndx = (((global.chemg_font_type_ndx + change) + num_types) % num_types) - var fndx = (global.chemg_font_type_ndx * 2) - var xx = 10 - yy = 250 - strings[0] = "Pack my box with five" - strings[1] = "dozen liquor jugs." - strings[2] = "これは日本語です。" - strings[3] = "魔物に食われない!" - var typer = ft[fndx] - if (typer >= 0) - { - global.typer = typer - scr_texttype() - var font = myfont - var msg = ((((("(" + string(global.typer)) + ") ") + ft[(fndx + 1)]) + ", font: ") + font_get_name(myfont)) - vspacing = vspace - } - else - { - font = ft[(fndx + 1)] - msg = ("font: " + font_get_name(font)) - vspacing = (font_get_size(font) + 2) - } - draw_set_font(font) - draw_set_colour(c_white) - for (i = 0; i < array_length_1d(strings); i += 1) - { - var str = strings[i] - if (typer >= 0) - { - var len = string_length(str) - var wx = xx - for (var j = 1; j <= len; j += 1) - { - var mychar = string_copy(str, j, 1) - draw_text(wx, ((yy + 20) + (i * vspacing)), mychar) - wx += hspace - if (global.lang == "ja") - { - if (ord(mychar) < 256 || (ord(mychar) >= 65377 && ord(mychar) <= 65439)) - wx -= (hspace / 2) - } - } - } - else - draw_text(xx, ((yy + 20) + (i * vspacing)), str) - } - draw_set_colour(c_white) - draw_set_font(fnt_main) - draw_text(xx, yy, ("<-/-> to change typer: " + msg)) -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index f2890f546..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,939 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index 169e54ff6..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1277 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - ossafe_savedata_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 4d10561e9..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,479 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_84_debug.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_84_debug.gml deleted file mode 100644 index da6bc884f..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_84_debug.gml +++ /dev/null @@ -1,847 +0,0 @@ -var strings; -var process = argument0 -if (!variable_global_exists("chemg_menu_depth")) -{ - global.chemg_menu_indices = array_create(0) - global.chemg_menu_indices[0] = 0 - global.chemg_menu_depth = 0 - global.chemg_god_mode = 0 - global.chemg_show_room = 1 - global.chemg_font_test = 0 - var parent = ds_list_create() - show_debug_message("init debug") - var group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Options") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[loadj]", "", "reload japanese") - scr_84_add_menu_item(parent, "[lang]", "ja", "use japanese") - scr_84_add_menu_item(parent, "[lang]", "en", "use english") - scr_84_add_menu_item(parent, "[showroom]", "", "toggle room name") - scr_84_add_menu_item(parent, "[restart]", "", "restart room") - scr_84_add_menu_item(parent, "[god]", "", "god mode") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[item]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[item]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[item]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[item]", 4, "Manual") - scr_84_add_menu_item(parent, "[item]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[item]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[item]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[item]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[item]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[item]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[item]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[item]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[item]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[item]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[item]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give light item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[lightitem]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[lightitem]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[lightitem]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[lightitem]", 4, "Manual") - scr_84_add_menu_item(parent, "[lightitem]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[lightitem]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[lightitem]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[lightitem]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[lightitem]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[lightitem]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[lightitem]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[lightitem]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[lightitem]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[lightitem]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[lightitem]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give key item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[keyitem]", 1, "Cell Phone") - scr_84_add_menu_item(parent, "[keyitem]", 2, "Egg") - scr_84_add_menu_item(parent, "[keyitem]", 3, "BrokenCake") - scr_84_add_menu_item(parent, "[keyitem]", 4, "Broken Key A") - scr_84_add_menu_item(parent, "[keyitem]", 5, "Door Key") - scr_84_add_menu_item(parent, "[keyitem]", 6, "Broken Key B") - scr_84_add_menu_item(parent, "[keyitem]", 7, "Broken Key C") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give weapon") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[weaponitem]", 1, "Wood Blade") - scr_84_add_menu_item(parent, "[weaponitem]", 2, "Mane Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 3, "Red Scarf") - scr_84_add_menu_item(parent, "[weaponitem]", 4, "EverybodyWeapon") - scr_84_add_menu_item(parent, "[weaponitem]", 5, "Spookysword") - scr_84_add_menu_item(parent, "[weaponitem]", 6, "Brave Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 7, "Devilsknife") - scr_84_add_menu_item(parent, "[weaponitem]", 8, "Trefoil") - scr_84_add_menu_item(parent, "[weaponitem]", 9, "Ragger") - scr_84_add_menu_item(parent, "[weaponitem]", 10, "DaintyScarf") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give armor") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[armoritem]", 1, "Amber Card") - scr_84_add_menu_item(parent, "[armoritem]", 2, "Dice Brace") - scr_84_add_menu_item(parent, "[armoritem]", 3, "Pink Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 4, "White Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 5, "IronShackle") - scr_84_add_menu_item(parent, "[armoritem]", 6, "MouseToken") - scr_84_add_menu_item(parent, "[armoritem]", 7, "Jevilstail") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[phone]", "", "give phone number") - scr_84_add_menu_item(parent, "[gold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[gold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[lightgold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[lightgold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[fonttest]", "", "font test") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Rooms") - scr_84_push(parent) - parent = group - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - scr_84_add_menu_item(parent, "[room]", 145, "room_splashscreen") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "rooms") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 0, "ROOM_INITIALIZE") - scr_84_add_menu_item(parent, "[room]", 1, "PLACE_CONTACT") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[room]", 141, "room_empty") - scr_84_add_menu_item(parent, "[room]", 142, "room_man") - scr_84_add_menu_item(parent, "[roomdark]", 143, "room_DARKempty") - scr_84_add_menu_item(parent, "[room]", 144, "room_battletest") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - parent = scr_84_pop() - global.chemg_menus = parent -} -if process - return global.chemg_menu_depth > 0; -if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_stickr) -{ - global.chemg_menu_depth = 1 - global.chemg_interact = global.interact - global.chemg_yoffset = 0 - global.interact = 0 -} -if (global.chemg_menu_depth > 0) -{ - parent = global.chemg_menus - var change = 0 - var depth_ndx = (global.chemg_menu_depth - 1) - var i = 0 - do - { - var choice_ndx = global.chemg_menu_indices[i] - var choice = ds_list_find_value(parent, choice_ndx * 3) - var choice_data = ds_list_find_value(parent, choice_ndx * 3 + 1) - var choice_name = ds_list_find_value(parent, choice_ndx * 3 + 2) - i += 1 - if i == global.chemg_menu_depth - { - break; - } - parent = choice_data - } - until false; - var num_choices = (ds_list_size(parent) / 3) - if (keyboard_check_pressed(vk_up) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padu)) - change = -1 - else if (keyboard_check_pressed(vk_down) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padd)) - change = 1 - else if (keyboard_check_pressed(vk_return) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face2)) - { - if (choice == "[group]") - { - global.chemg_menu_indices[global.chemg_menu_depth] = 0 - global.chemg_menu_depth += 1 - } - else if (choice == "[loadj]") - { - var type = scr_84_lang_load() - show_debug_message((("loaded " + type) + " lang file")) - show_message((("loaded " + type) + " lang file")) - global.chemg_menu_depth = 0 - } - else if (choice == "[room]") - { - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[roomdark]") - { - show_debug_message(("room_goto: " + choice_name)) - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[lang]") - { - show_debug_message(("switch lang: " + choice_data)) - global.lang = choice_data - global.chemg_menu_depth = 0 - scr_84_init_localization() - room_restart() - } - else if (choice == "[restart]") - { - show_debug_message("restart room") - room_restart() - global.chemg_menu_depth = 0 - } - else if (choice == "[god]") - global.chemg_god_mode = (1 - global.chemg_god_mode) - else if (choice == "[lightitem]") - { - if (scr_litemcheck(choice_data) == 0) - scr_litemget(choice_data) - } - else if (choice == "[item]") - { - if (scr_itemcheck(choice_data) == 0) - scr_itemget(choice_data) - } - else if (choice == "[keyitem]") - { - if (scr_keyitemcheck(choice_data) == 0) - scr_keyitemget(choice_data) - } - else if (choice == "[weaponitem]") - { - if (scr_weaponcheck_inventory(choice_data) == 0) - scr_weaponget(choice_data) - } - else if (choice == "[armoritem]") - { - if (scr_armorcheck_inventory(choice_data) == 0) - scr_armorget(choice_data) - } - else if (choice == "[phone]") - scr_phoneadd(202) - else if (choice == "[gold]") - global.gold = max(0, (global.gold + choice_data)) - else if (choice == "[lightgold]") - global.lgold = max(0, (global.lgold + choice_data)) - else if (choice == "[showroom]") - global.chemg_show_room = (!global.chemg_show_room) - else if (choice == "[fonttest]") - { - global.chemg_font_test = (!global.chemg_font_test) - global.chemg_menu_depth = 0 - } - else - show_debug_message(("unknown menu cmd:" + choice)) - } - else if (keyboard_check_pressed(vk_escape) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face1)) - { - if (global.chemg_menu_depth > 0) - global.chemg_menu_depth -= 1 - if (global.chemg_menu_depth == 0) - global.interact = global.chemg_interact - } - for (i = 0; i < 10; i += 1) - { - global.input_pressed[i] = 0 - global.input_held[i] = 0 - global.input_released[i] = 0 - } - keyboard_clear(vk_up) - keyboard_clear(vk_down) - keyboard_clear(vk_left) - keyboard_clear(vk_right) - keyboard_clear(vk_escape) - keyboard_clear(vk_return) - if (change != 0) - global.chemg_menu_indices[depth_ndx] = (((global.chemg_menu_indices[depth_ndx] + num_choices) + change) % num_choices) - draw_set_font(fnt_main) - draw_set_colour(c_white) - draw_set_halign(fa_left) - draw_set_valign(fa_top) - var yy = global.chemg_yoffset - var vspacing = 15 - scr_84_draw_text_outline(10, yy, (((("====[ menu ]====[ gold: " + string(global.gold)) + " light gold: ") + string(global.lgold)) + " ]")) - yy += vspacing - global.chemg_max_depth = -1 - global.chemg_cursor_y = 0 - scr_84_draw_menu(global.chemg_menus, 10, yy, vspacing, global.chemg_menu_indices, 0, (global.chemg_menu_depth - 1)) - global.chemg_yoffset = min(10, (400 - (global.chemg_cursor_y - global.chemg_yoffset))) -} -var chemg_room_name = room_get_name(room) -if (global.chemg_god_mode > 0) - chemg_room_name = (chemg_room_name + "[god]") -if global.chemg_show_room -{ - draw_set_font(fnt_main) - draw_set_colour(c_white) - var chemg_x = (635 - string_width(chemg_room_name)) - var chemg_y = 5 - scr_84_draw_text_outline(chemg_x, chemg_y, chemg_room_name) -} -if global.chemg_font_test -{ - if (!variable_global_exists("chemg_font_init")) - { - global.chemg_font_init = 1 - var ft = fnt_tinynoelle - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = "NORMAL FONT" - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = "SLOWER, SILENT" - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = "normal enemy font." - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = "battle dialogue" - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = "NORMAL MAIN FONT" - ft[array_length_1d(ft)] = fnt_ja_small - ft[array_length_1d(ft)] = "NORMAL FONT BIG" - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = "toriel font" - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = "toriel font slow" - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = "susie font" - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = "ralsei font" - ft[array_length_1d(ft)] = 12 - ft[array_length_1d(ft)] = "noelle font" - ft[array_length_1d(ft)] = 13 - ft[array_length_1d(ft)] = "berdly font" - ft[array_length_1d(ft)] = 14 - ft[array_length_1d(ft)] = "sans font" - ft[array_length_1d(ft)] = 15 - ft[array_length_1d(ft)] = "pap font" - ft[array_length_1d(ft)] = 16 - ft[array_length_1d(ft)] = ")??? font" - ft[array_length_1d(ft)] = 17 - ft[array_length_1d(ft)] = "undyne font" - ft[array_length_1d(ft)] = 18 - ft[array_length_1d(ft)] = "asgore font" - ft[array_length_1d(ft)] = 19 - ft[array_length_1d(ft)] = "lancer font" - ft[array_length_1d(ft)] = 20 - ft[array_length_1d(ft)] = "alphys font" - ft[array_length_1d(ft)] = 21 - ft[array_length_1d(ft)] = "temmie font" - ft[array_length_1d(ft)] = 22 - ft[array_length_1d(ft)] = "alphys font small" - ft[array_length_1d(ft)] = 23 - ft[array_length_1d(ft)] = "noelle font small" - ft[array_length_1d(ft)] = 30 - ft[array_length_1d(ft)] = "susie dark world" - ft[array_length_1d(ft)] = 31 - ft[array_length_1d(ft)] = "ralsei dark world" - ft[array_length_1d(ft)] = 32 - ft[array_length_1d(ft)] = "lancer dark world" - ft[array_length_1d(ft)] = 33 - ft[array_length_1d(ft)] = "king dark world" - ft[array_length_1d(ft)] = 35 - ft[array_length_1d(ft)] = "joker dark world" - ft[array_length_1d(ft)] = 36 - ft[array_length_1d(ft)] = "NORMAL FONT SILENT" - ft[array_length_1d(ft)] = 37 - ft[array_length_1d(ft)] = "susie dark world slow, spaced." - ft[array_length_1d(ft)] = 40 - ft[array_length_1d(ft)] = "inteo" - ft[array_length_1d(ft)] = 41 - ft[array_length_1d(ft)] = "intro slower" - ft[array_length_1d(ft)] = 42 - ft[array_length_1d(ft)] = "big silent slower" - ft[array_length_1d(ft)] = 45 - ft[array_length_1d(ft)] = "battle dialogue ral" - ft[array_length_1d(ft)] = 46 - ft[array_length_1d(ft)] = "battle dialogue lan" - ft[array_length_1d(ft)] = 47 - ft[array_length_1d(ft)] = "battle dialogue sus" - ft[array_length_1d(ft)] = 48 - ft[array_length_1d(ft)] = "king dark world battle" - ft[array_length_1d(ft)] = 50 - ft[array_length_1d(ft)] = "enemy" - ft[array_length_1d(ft)] = 51 - ft[array_length_1d(ft)] = "hellish yak text" - ft[array_length_1d(ft)] = 52 - ft[array_length_1d(ft)] = "hellish yak text 2" - ft[array_length_1d(ft)] = 53 - ft[array_length_1d(ft)] = "enemy: Susie" - ft[array_length_1d(ft)] = 54 - ft[array_length_1d(ft)] = "enemy: Susie 2" - ft[array_length_1d(ft)] = 55 - ft[array_length_1d(ft)] = "rudy font" - ft[array_length_1d(ft)] = 60 - ft[array_length_1d(ft)] = "SLOWER, SILENT 2" - ft[array_length_1d(ft)] = 666 - ft[array_length_1d(ft)] = "GLOW TEXT" - ft[array_length_1d(ft)] = 667 - ft[array_length_1d(ft)] = "GLOW TEXT 2" - ft[array_length_1d(ft)] = -1 - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = -2 - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = -3 - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = -4 - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = -5 - ft[array_length_1d(ft)] = fnt_tinynoelle - ft[array_length_1d(ft)] = -6 - ft[array_length_1d(ft)] = fnt_ja_tinynoelle - ft[array_length_1d(ft)] = -7 - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = -8 - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = -9 - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = -10 - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = -11 - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = -12 - ft[array_length_1d(ft)] = fnt_ja_small - global.chemg_font_types = ft - global.chemg_font_type_ndx = 0 - } - ft = global.chemg_font_types - var num_types = (array_length_1d(ft) / 2) - change = 0 - if (keyboard_check_pressed(vk_right) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padr)) - change = 1 - else if (keyboard_check_pressed(vk_left) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padl)) - change = -1 - global.chemg_font_type_ndx = (((global.chemg_font_type_ndx + change) + num_types) % num_types) - var fndx = (global.chemg_font_type_ndx * 2) - var xx = 10 - yy = 250 - strings[0] = "Pack my box with five" - strings[1] = "dozen liquor jugs." - strings[2] = "これは日本語です。" - strings[3] = "魔物に食われない!" - var typer = ft[fndx] - if (typer >= 0) - { - global.typer = typer - scr_texttype() - var font = myfont - var msg = ((((("(" + string(global.typer)) + ") ") + ft[(fndx + 1)]) + ", font: ") + font_get_name(myfont)) - vspacing = vspace - } - else - { - font = ft[(fndx + 1)] - msg = ("font: " + font_get_name(font)) - vspacing = (font_get_size(font) + 2) - } - draw_set_font(font) - draw_set_colour(c_white) - for (i = 0; i < array_length_1d(strings); i += 1) - { - var str = strings[i] - if (typer >= 0) - { - var len = string_length(str) - var wx = xx - for (var j = 1; j <= len; j += 1) - { - var mychar = string_copy(str, j, 1) - draw_text(wx, ((yy + 20) + (i * vspacing)), mychar) - wx += hspace - if (global.lang == "ja") - { - if (ord(mychar) < 256 || (ord(mychar) >= 65377 && ord(mychar) <= 65439)) - wx -= (hspace / 2) - } - } - } - else - draw_text(xx, ((yy + 20) + (i * vspacing)), str) - } - draw_set_colour(c_white) - draw_set_font(fnt_main) - draw_text(xx, yy, ("<-/-> to change typer: " + msg)) -} diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/6e1abb8e627c7a36cd8e6db11a829889/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index ad4546d6f..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,102 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index f2890f546..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,939 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index 81f18b2ac..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1277 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - ossafe_savedata_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 4d10561e9..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,479 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_get_element.gml deleted file mode 100644 index 0cccd2b46..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_84_debug.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_84_debug.gml deleted file mode 100644 index da6bc884f..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_84_debug.gml +++ /dev/null @@ -1,847 +0,0 @@ -var strings; -var process = argument0 -if (!variable_global_exists("chemg_menu_depth")) -{ - global.chemg_menu_indices = array_create(0) - global.chemg_menu_indices[0] = 0 - global.chemg_menu_depth = 0 - global.chemg_god_mode = 0 - global.chemg_show_room = 1 - global.chemg_font_test = 0 - var parent = ds_list_create() - show_debug_message("init debug") - var group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Options") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[loadj]", "", "reload japanese") - scr_84_add_menu_item(parent, "[lang]", "ja", "use japanese") - scr_84_add_menu_item(parent, "[lang]", "en", "use english") - scr_84_add_menu_item(parent, "[showroom]", "", "toggle room name") - scr_84_add_menu_item(parent, "[restart]", "", "restart room") - scr_84_add_menu_item(parent, "[god]", "", "god mode") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[item]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[item]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[item]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[item]", 4, "Manual") - scr_84_add_menu_item(parent, "[item]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[item]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[item]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[item]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[item]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[item]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[item]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[item]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[item]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[item]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[item]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give light item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[lightitem]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[lightitem]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[lightitem]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[lightitem]", 4, "Manual") - scr_84_add_menu_item(parent, "[lightitem]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[lightitem]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[lightitem]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[lightitem]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[lightitem]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[lightitem]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[lightitem]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[lightitem]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[lightitem]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[lightitem]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[lightitem]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give key item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[keyitem]", 1, "Cell Phone") - scr_84_add_menu_item(parent, "[keyitem]", 2, "Egg") - scr_84_add_menu_item(parent, "[keyitem]", 3, "BrokenCake") - scr_84_add_menu_item(parent, "[keyitem]", 4, "Broken Key A") - scr_84_add_menu_item(parent, "[keyitem]", 5, "Door Key") - scr_84_add_menu_item(parent, "[keyitem]", 6, "Broken Key B") - scr_84_add_menu_item(parent, "[keyitem]", 7, "Broken Key C") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give weapon") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[weaponitem]", 1, "Wood Blade") - scr_84_add_menu_item(parent, "[weaponitem]", 2, "Mane Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 3, "Red Scarf") - scr_84_add_menu_item(parent, "[weaponitem]", 4, "EverybodyWeapon") - scr_84_add_menu_item(parent, "[weaponitem]", 5, "Spookysword") - scr_84_add_menu_item(parent, "[weaponitem]", 6, "Brave Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 7, "Devilsknife") - scr_84_add_menu_item(parent, "[weaponitem]", 8, "Trefoil") - scr_84_add_menu_item(parent, "[weaponitem]", 9, "Ragger") - scr_84_add_menu_item(parent, "[weaponitem]", 10, "DaintyScarf") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give armor") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[armoritem]", 1, "Amber Card") - scr_84_add_menu_item(parent, "[armoritem]", 2, "Dice Brace") - scr_84_add_menu_item(parent, "[armoritem]", 3, "Pink Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 4, "White Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 5, "IronShackle") - scr_84_add_menu_item(parent, "[armoritem]", 6, "MouseToken") - scr_84_add_menu_item(parent, "[armoritem]", 7, "Jevilstail") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[phone]", "", "give phone number") - scr_84_add_menu_item(parent, "[gold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[gold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[lightgold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[lightgold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[fonttest]", "", "font test") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Rooms") - scr_84_push(parent) - parent = group - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - scr_84_add_menu_item(parent, "[room]", 145, "room_splashscreen") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "rooms") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 0, "ROOM_INITIALIZE") - scr_84_add_menu_item(parent, "[room]", 1, "PLACE_CONTACT") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[room]", 141, "room_empty") - scr_84_add_menu_item(parent, "[room]", 142, "room_man") - scr_84_add_menu_item(parent, "[roomdark]", 143, "room_DARKempty") - scr_84_add_menu_item(parent, "[room]", 144, "room_battletest") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - parent = scr_84_pop() - global.chemg_menus = parent -} -if process - return global.chemg_menu_depth > 0; -if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_stickr) -{ - global.chemg_menu_depth = 1 - global.chemg_interact = global.interact - global.chemg_yoffset = 0 - global.interact = 0 -} -if (global.chemg_menu_depth > 0) -{ - parent = global.chemg_menus - var change = 0 - var depth_ndx = (global.chemg_menu_depth - 1) - var i = 0 - do - { - var choice_ndx = global.chemg_menu_indices[i] - var choice = ds_list_find_value(parent, choice_ndx * 3) - var choice_data = ds_list_find_value(parent, choice_ndx * 3 + 1) - var choice_name = ds_list_find_value(parent, choice_ndx * 3 + 2) - i += 1 - if i == global.chemg_menu_depth - { - break; - } - parent = choice_data - } - until false; - var num_choices = (ds_list_size(parent) / 3) - if (keyboard_check_pressed(vk_up) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padu)) - change = -1 - else if (keyboard_check_pressed(vk_down) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padd)) - change = 1 - else if (keyboard_check_pressed(vk_return) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face2)) - { - if (choice == "[group]") - { - global.chemg_menu_indices[global.chemg_menu_depth] = 0 - global.chemg_menu_depth += 1 - } - else if (choice == "[loadj]") - { - var type = scr_84_lang_load() - show_debug_message((("loaded " + type) + " lang file")) - show_message((("loaded " + type) + " lang file")) - global.chemg_menu_depth = 0 - } - else if (choice == "[room]") - { - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[roomdark]") - { - show_debug_message(("room_goto: " + choice_name)) - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[lang]") - { - show_debug_message(("switch lang: " + choice_data)) - global.lang = choice_data - global.chemg_menu_depth = 0 - scr_84_init_localization() - room_restart() - } - else if (choice == "[restart]") - { - show_debug_message("restart room") - room_restart() - global.chemg_menu_depth = 0 - } - else if (choice == "[god]") - global.chemg_god_mode = (1 - global.chemg_god_mode) - else if (choice == "[lightitem]") - { - if (scr_litemcheck(choice_data) == 0) - scr_litemget(choice_data) - } - else if (choice == "[item]") - { - if (scr_itemcheck(choice_data) == 0) - scr_itemget(choice_data) - } - else if (choice == "[keyitem]") - { - if (scr_keyitemcheck(choice_data) == 0) - scr_keyitemget(choice_data) - } - else if (choice == "[weaponitem]") - { - if (scr_weaponcheck_inventory(choice_data) == 0) - scr_weaponget(choice_data) - } - else if (choice == "[armoritem]") - { - if (scr_armorcheck_inventory(choice_data) == 0) - scr_armorget(choice_data) - } - else if (choice == "[phone]") - scr_phoneadd(202) - else if (choice == "[gold]") - global.gold = max(0, (global.gold + choice_data)) - else if (choice == "[lightgold]") - global.lgold = max(0, (global.lgold + choice_data)) - else if (choice == "[showroom]") - global.chemg_show_room = (!global.chemg_show_room) - else if (choice == "[fonttest]") - { - global.chemg_font_test = (!global.chemg_font_test) - global.chemg_menu_depth = 0 - } - else - show_debug_message(("unknown menu cmd:" + choice)) - } - else if (keyboard_check_pressed(vk_escape) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face1)) - { - if (global.chemg_menu_depth > 0) - global.chemg_menu_depth -= 1 - if (global.chemg_menu_depth == 0) - global.interact = global.chemg_interact - } - for (i = 0; i < 10; i += 1) - { - global.input_pressed[i] = 0 - global.input_held[i] = 0 - global.input_released[i] = 0 - } - keyboard_clear(vk_up) - keyboard_clear(vk_down) - keyboard_clear(vk_left) - keyboard_clear(vk_right) - keyboard_clear(vk_escape) - keyboard_clear(vk_return) - if (change != 0) - global.chemg_menu_indices[depth_ndx] = (((global.chemg_menu_indices[depth_ndx] + num_choices) + change) % num_choices) - draw_set_font(fnt_main) - draw_set_colour(c_white) - draw_set_halign(fa_left) - draw_set_valign(fa_top) - var yy = global.chemg_yoffset - var vspacing = 15 - scr_84_draw_text_outline(10, yy, (((("====[ menu ]====[ gold: " + string(global.gold)) + " light gold: ") + string(global.lgold)) + " ]")) - yy += vspacing - global.chemg_max_depth = -1 - global.chemg_cursor_y = 0 - scr_84_draw_menu(global.chemg_menus, 10, yy, vspacing, global.chemg_menu_indices, 0, (global.chemg_menu_depth - 1)) - global.chemg_yoffset = min(10, (400 - (global.chemg_cursor_y - global.chemg_yoffset))) -} -var chemg_room_name = room_get_name(room) -if (global.chemg_god_mode > 0) - chemg_room_name = (chemg_room_name + "[god]") -if global.chemg_show_room -{ - draw_set_font(fnt_main) - draw_set_colour(c_white) - var chemg_x = (635 - string_width(chemg_room_name)) - var chemg_y = 5 - scr_84_draw_text_outline(chemg_x, chemg_y, chemg_room_name) -} -if global.chemg_font_test -{ - if (!variable_global_exists("chemg_font_init")) - { - global.chemg_font_init = 1 - var ft = fnt_tinynoelle - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = "NORMAL FONT" - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = "SLOWER, SILENT" - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = "normal enemy font." - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = "battle dialogue" - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = "NORMAL MAIN FONT" - ft[array_length_1d(ft)] = fnt_ja_small - ft[array_length_1d(ft)] = "NORMAL FONT BIG" - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = "toriel font" - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = "toriel font slow" - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = "susie font" - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = "ralsei font" - ft[array_length_1d(ft)] = 12 - ft[array_length_1d(ft)] = "noelle font" - ft[array_length_1d(ft)] = 13 - ft[array_length_1d(ft)] = "berdly font" - ft[array_length_1d(ft)] = 14 - ft[array_length_1d(ft)] = "sans font" - ft[array_length_1d(ft)] = 15 - ft[array_length_1d(ft)] = "pap font" - ft[array_length_1d(ft)] = 16 - ft[array_length_1d(ft)] = ")??? font" - ft[array_length_1d(ft)] = 17 - ft[array_length_1d(ft)] = "undyne font" - ft[array_length_1d(ft)] = 18 - ft[array_length_1d(ft)] = "asgore font" - ft[array_length_1d(ft)] = 19 - ft[array_length_1d(ft)] = "lancer font" - ft[array_length_1d(ft)] = 20 - ft[array_length_1d(ft)] = "alphys font" - ft[array_length_1d(ft)] = 21 - ft[array_length_1d(ft)] = "temmie font" - ft[array_length_1d(ft)] = 22 - ft[array_length_1d(ft)] = "alphys font small" - ft[array_length_1d(ft)] = 23 - ft[array_length_1d(ft)] = "noelle font small" - ft[array_length_1d(ft)] = 30 - ft[array_length_1d(ft)] = "susie dark world" - ft[array_length_1d(ft)] = 31 - ft[array_length_1d(ft)] = "ralsei dark world" - ft[array_length_1d(ft)] = 32 - ft[array_length_1d(ft)] = "lancer dark world" - ft[array_length_1d(ft)] = 33 - ft[array_length_1d(ft)] = "king dark world" - ft[array_length_1d(ft)] = 35 - ft[array_length_1d(ft)] = "joker dark world" - ft[array_length_1d(ft)] = 36 - ft[array_length_1d(ft)] = "NORMAL FONT SILENT" - ft[array_length_1d(ft)] = 37 - ft[array_length_1d(ft)] = "susie dark world slow, spaced." - ft[array_length_1d(ft)] = 40 - ft[array_length_1d(ft)] = "inteo" - ft[array_length_1d(ft)] = 41 - ft[array_length_1d(ft)] = "intro slower" - ft[array_length_1d(ft)] = 42 - ft[array_length_1d(ft)] = "big silent slower" - ft[array_length_1d(ft)] = 45 - ft[array_length_1d(ft)] = "battle dialogue ral" - ft[array_length_1d(ft)] = 46 - ft[array_length_1d(ft)] = "battle dialogue lan" - ft[array_length_1d(ft)] = 47 - ft[array_length_1d(ft)] = "battle dialogue sus" - ft[array_length_1d(ft)] = 48 - ft[array_length_1d(ft)] = "king dark world battle" - ft[array_length_1d(ft)] = 50 - ft[array_length_1d(ft)] = "enemy" - ft[array_length_1d(ft)] = 51 - ft[array_length_1d(ft)] = "hellish yak text" - ft[array_length_1d(ft)] = 52 - ft[array_length_1d(ft)] = "hellish yak text 2" - ft[array_length_1d(ft)] = 53 - ft[array_length_1d(ft)] = "enemy: Susie" - ft[array_length_1d(ft)] = 54 - ft[array_length_1d(ft)] = "enemy: Susie 2" - ft[array_length_1d(ft)] = 55 - ft[array_length_1d(ft)] = "rudy font" - ft[array_length_1d(ft)] = 60 - ft[array_length_1d(ft)] = "SLOWER, SILENT 2" - ft[array_length_1d(ft)] = 666 - ft[array_length_1d(ft)] = "GLOW TEXT" - ft[array_length_1d(ft)] = 667 - ft[array_length_1d(ft)] = "GLOW TEXT 2" - ft[array_length_1d(ft)] = -1 - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = -2 - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = -3 - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = -4 - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = -5 - ft[array_length_1d(ft)] = fnt_tinynoelle - ft[array_length_1d(ft)] = -6 - ft[array_length_1d(ft)] = fnt_ja_tinynoelle - ft[array_length_1d(ft)] = -7 - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = -8 - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = -9 - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = -10 - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = -11 - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = -12 - ft[array_length_1d(ft)] = fnt_ja_small - global.chemg_font_types = ft - global.chemg_font_type_ndx = 0 - } - ft = global.chemg_font_types - var num_types = (array_length_1d(ft) / 2) - change = 0 - if (keyboard_check_pressed(vk_right) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padr)) - change = 1 - else if (keyboard_check_pressed(vk_left) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padl)) - change = -1 - global.chemg_font_type_ndx = (((global.chemg_font_type_ndx + change) + num_types) % num_types) - var fndx = (global.chemg_font_type_ndx * 2) - var xx = 10 - yy = 250 - strings[0] = "Pack my box with five" - strings[1] = "dozen liquor jugs." - strings[2] = "これは日本語です。" - strings[3] = "魔物に食われない!" - var typer = ft[fndx] - if (typer >= 0) - { - global.typer = typer - scr_texttype() - var font = myfont - var msg = ((((("(" + string(global.typer)) + ") ") + ft[(fndx + 1)]) + ", font: ") + font_get_name(myfont)) - vspacing = vspace - } - else - { - font = ft[(fndx + 1)] - msg = ("font: " + font_get_name(font)) - vspacing = (font_get_size(font) + 2) - } - draw_set_font(font) - draw_set_colour(c_white) - for (i = 0; i < array_length_1d(strings); i += 1) - { - var str = strings[i] - if (typer >= 0) - { - var len = string_length(str) - var wx = xx - for (var j = 1; j <= len; j += 1) - { - var mychar = string_copy(str, j, 1) - draw_text(wx, ((yy + 20) + (i * vspacing)), mychar) - wx += hspace - if (global.lang == "ja") - { - if (ord(mychar) < 256 || (ord(mychar) >= 65377 && ord(mychar) <= 65439)) - wx -= (hspace / 2) - } - } - } - else - draw_text(xx, ((yy + 20) + (i * vspacing)), str) - } - draw_set_colour(c_white) - draw_set_font(fnt_main) - draw_text(xx, yy, ("<-/-> to change typer: " + msg)) -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index 1d09600a3..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,21 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) - - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index f6477c8d7..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,395 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index ad4546d6f..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,102 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index f2890f546..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,939 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index 81f18b2ac..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1277 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - ossafe_savedata_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 4d10561e9..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,479 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index 0cccd2b46..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_84_debug.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_84_debug.gml deleted file mode 100644 index da6bc884f..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_84_debug.gml +++ /dev/null @@ -1,847 +0,0 @@ -var strings; -var process = argument0 -if (!variable_global_exists("chemg_menu_depth")) -{ - global.chemg_menu_indices = array_create(0) - global.chemg_menu_indices[0] = 0 - global.chemg_menu_depth = 0 - global.chemg_god_mode = 0 - global.chemg_show_room = 1 - global.chemg_font_test = 0 - var parent = ds_list_create() - show_debug_message("init debug") - var group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Options") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[loadj]", "", "reload japanese") - scr_84_add_menu_item(parent, "[lang]", "ja", "use japanese") - scr_84_add_menu_item(parent, "[lang]", "en", "use english") - scr_84_add_menu_item(parent, "[showroom]", "", "toggle room name") - scr_84_add_menu_item(parent, "[restart]", "", "restart room") - scr_84_add_menu_item(parent, "[god]", "", "god mode") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[item]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[item]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[item]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[item]", 4, "Manual") - scr_84_add_menu_item(parent, "[item]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[item]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[item]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[item]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[item]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[item]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[item]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[item]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[item]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[item]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[item]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give light item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[lightitem]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[lightitem]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[lightitem]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[lightitem]", 4, "Manual") - scr_84_add_menu_item(parent, "[lightitem]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[lightitem]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[lightitem]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[lightitem]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[lightitem]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[lightitem]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[lightitem]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[lightitem]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[lightitem]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[lightitem]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[lightitem]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give key item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[keyitem]", 1, "Cell Phone") - scr_84_add_menu_item(parent, "[keyitem]", 2, "Egg") - scr_84_add_menu_item(parent, "[keyitem]", 3, "BrokenCake") - scr_84_add_menu_item(parent, "[keyitem]", 4, "Broken Key A") - scr_84_add_menu_item(parent, "[keyitem]", 5, "Door Key") - scr_84_add_menu_item(parent, "[keyitem]", 6, "Broken Key B") - scr_84_add_menu_item(parent, "[keyitem]", 7, "Broken Key C") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give weapon") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[weaponitem]", 1, "Wood Blade") - scr_84_add_menu_item(parent, "[weaponitem]", 2, "Mane Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 3, "Red Scarf") - scr_84_add_menu_item(parent, "[weaponitem]", 4, "EverybodyWeapon") - scr_84_add_menu_item(parent, "[weaponitem]", 5, "Spookysword") - scr_84_add_menu_item(parent, "[weaponitem]", 6, "Brave Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 7, "Devilsknife") - scr_84_add_menu_item(parent, "[weaponitem]", 8, "Trefoil") - scr_84_add_menu_item(parent, "[weaponitem]", 9, "Ragger") - scr_84_add_menu_item(parent, "[weaponitem]", 10, "DaintyScarf") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give armor") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[armoritem]", 1, "Amber Card") - scr_84_add_menu_item(parent, "[armoritem]", 2, "Dice Brace") - scr_84_add_menu_item(parent, "[armoritem]", 3, "Pink Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 4, "White Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 5, "IronShackle") - scr_84_add_menu_item(parent, "[armoritem]", 6, "MouseToken") - scr_84_add_menu_item(parent, "[armoritem]", 7, "Jevilstail") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[phone]", "", "give phone number") - scr_84_add_menu_item(parent, "[gold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[gold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[lightgold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[lightgold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[fonttest]", "", "font test") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Rooms") - scr_84_push(parent) - parent = group - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - scr_84_add_menu_item(parent, "[room]", 145, "room_splashscreen") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "rooms") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 0, "ROOM_INITIALIZE") - scr_84_add_menu_item(parent, "[room]", 1, "PLACE_CONTACT") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[room]", 141, "room_empty") - scr_84_add_menu_item(parent, "[room]", 142, "room_man") - scr_84_add_menu_item(parent, "[roomdark]", 143, "room_DARKempty") - scr_84_add_menu_item(parent, "[room]", 144, "room_battletest") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - parent = scr_84_pop() - global.chemg_menus = parent -} -if process - return global.chemg_menu_depth > 0; -if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_stickr) -{ - global.chemg_menu_depth = 1 - global.chemg_interact = global.interact - global.chemg_yoffset = 0 - global.interact = 0 -} -if (global.chemg_menu_depth > 0) -{ - parent = global.chemg_menus - var change = 0 - var depth_ndx = (global.chemg_menu_depth - 1) - var i = 0 - do - { - var choice_ndx = global.chemg_menu_indices[i] - var choice = ds_list_find_value(parent, choice_ndx * 3) - var choice_data = ds_list_find_value(parent, choice_ndx * 3 + 1) - var choice_name = ds_list_find_value(parent, choice_ndx * 3 + 2) - i += 1 - if i == global.chemg_menu_depth - { - break; - } - parent = choice_data - } - until false; - var num_choices = (ds_list_size(parent) / 3) - if (keyboard_check_pressed(vk_up) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padu)) - change = -1 - else if (keyboard_check_pressed(vk_down) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padd)) - change = 1 - else if (keyboard_check_pressed(vk_return) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face2)) - { - if (choice == "[group]") - { - global.chemg_menu_indices[global.chemg_menu_depth] = 0 - global.chemg_menu_depth += 1 - } - else if (choice == "[loadj]") - { - var type = scr_84_lang_load() - show_debug_message((("loaded " + type) + " lang file")) - show_message((("loaded " + type) + " lang file")) - global.chemg_menu_depth = 0 - } - else if (choice == "[room]") - { - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[roomdark]") - { - show_debug_message(("room_goto: " + choice_name)) - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[lang]") - { - show_debug_message(("switch lang: " + choice_data)) - global.lang = choice_data - global.chemg_menu_depth = 0 - scr_84_init_localization() - room_restart() - } - else if (choice == "[restart]") - { - show_debug_message("restart room") - room_restart() - global.chemg_menu_depth = 0 - } - else if (choice == "[god]") - global.chemg_god_mode = (1 - global.chemg_god_mode) - else if (choice == "[lightitem]") - { - if (scr_litemcheck(choice_data) == 0) - scr_litemget(choice_data) - } - else if (choice == "[item]") - { - if (scr_itemcheck(choice_data) == 0) - scr_itemget(choice_data) - } - else if (choice == "[keyitem]") - { - if (scr_keyitemcheck(choice_data) == 0) - scr_keyitemget(choice_data) - } - else if (choice == "[weaponitem]") - { - if (scr_weaponcheck_inventory(choice_data) == 0) - scr_weaponget(choice_data) - } - else if (choice == "[armoritem]") - { - if (scr_armorcheck_inventory(choice_data) == 0) - scr_armorget(choice_data) - } - else if (choice == "[phone]") - scr_phoneadd(202) - else if (choice == "[gold]") - global.gold = max(0, (global.gold + choice_data)) - else if (choice == "[lightgold]") - global.lgold = max(0, (global.lgold + choice_data)) - else if (choice == "[showroom]") - global.chemg_show_room = (!global.chemg_show_room) - else if (choice == "[fonttest]") - { - global.chemg_font_test = (!global.chemg_font_test) - global.chemg_menu_depth = 0 - } - else - show_debug_message(("unknown menu cmd:" + choice)) - } - else if (keyboard_check_pressed(vk_escape) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face1)) - { - if (global.chemg_menu_depth > 0) - global.chemg_menu_depth -= 1 - if (global.chemg_menu_depth == 0) - global.interact = global.chemg_interact - } - for (i = 0; i < 10; i += 1) - { - global.input_pressed[i] = 0 - global.input_held[i] = 0 - global.input_released[i] = 0 - } - keyboard_clear(vk_up) - keyboard_clear(vk_down) - keyboard_clear(vk_left) - keyboard_clear(vk_right) - keyboard_clear(vk_escape) - keyboard_clear(vk_return) - if (change != 0) - global.chemg_menu_indices[depth_ndx] = (((global.chemg_menu_indices[depth_ndx] + num_choices) + change) % num_choices) - draw_set_font(fnt_main) - draw_set_colour(c_white) - draw_set_halign(fa_left) - draw_set_valign(fa_top) - var yy = global.chemg_yoffset - var vspacing = 15 - scr_84_draw_text_outline(10, yy, (((("====[ menu ]====[ gold: " + string(global.gold)) + " light gold: ") + string(global.lgold)) + " ]")) - yy += vspacing - global.chemg_max_depth = -1 - global.chemg_cursor_y = 0 - scr_84_draw_menu(global.chemg_menus, 10, yy, vspacing, global.chemg_menu_indices, 0, (global.chemg_menu_depth - 1)) - global.chemg_yoffset = min(10, (400 - (global.chemg_cursor_y - global.chemg_yoffset))) -} -var chemg_room_name = room_get_name(room) -if (global.chemg_god_mode > 0) - chemg_room_name = (chemg_room_name + "[god]") -if global.chemg_show_room -{ - draw_set_font(fnt_main) - draw_set_colour(c_white) - var chemg_x = (635 - string_width(chemg_room_name)) - var chemg_y = 5 - scr_84_draw_text_outline(chemg_x, chemg_y, chemg_room_name) -} -if global.chemg_font_test -{ - if (!variable_global_exists("chemg_font_init")) - { - global.chemg_font_init = 1 - var ft = fnt_tinynoelle - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = "NORMAL FONT" - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = "SLOWER, SILENT" - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = "normal enemy font." - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = "battle dialogue" - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = "NORMAL MAIN FONT" - ft[array_length_1d(ft)] = fnt_ja_small - ft[array_length_1d(ft)] = "NORMAL FONT BIG" - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = "toriel font" - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = "toriel font slow" - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = "susie font" - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = "ralsei font" - ft[array_length_1d(ft)] = 12 - ft[array_length_1d(ft)] = "noelle font" - ft[array_length_1d(ft)] = 13 - ft[array_length_1d(ft)] = "berdly font" - ft[array_length_1d(ft)] = 14 - ft[array_length_1d(ft)] = "sans font" - ft[array_length_1d(ft)] = 15 - ft[array_length_1d(ft)] = "pap font" - ft[array_length_1d(ft)] = 16 - ft[array_length_1d(ft)] = ")??? font" - ft[array_length_1d(ft)] = 17 - ft[array_length_1d(ft)] = "undyne font" - ft[array_length_1d(ft)] = 18 - ft[array_length_1d(ft)] = "asgore font" - ft[array_length_1d(ft)] = 19 - ft[array_length_1d(ft)] = "lancer font" - ft[array_length_1d(ft)] = 20 - ft[array_length_1d(ft)] = "alphys font" - ft[array_length_1d(ft)] = 21 - ft[array_length_1d(ft)] = "temmie font" - ft[array_length_1d(ft)] = 22 - ft[array_length_1d(ft)] = "alphys font small" - ft[array_length_1d(ft)] = 23 - ft[array_length_1d(ft)] = "noelle font small" - ft[array_length_1d(ft)] = 30 - ft[array_length_1d(ft)] = "susie dark world" - ft[array_length_1d(ft)] = 31 - ft[array_length_1d(ft)] = "ralsei dark world" - ft[array_length_1d(ft)] = 32 - ft[array_length_1d(ft)] = "lancer dark world" - ft[array_length_1d(ft)] = 33 - ft[array_length_1d(ft)] = "king dark world" - ft[array_length_1d(ft)] = 35 - ft[array_length_1d(ft)] = "joker dark world" - ft[array_length_1d(ft)] = 36 - ft[array_length_1d(ft)] = "NORMAL FONT SILENT" - ft[array_length_1d(ft)] = 37 - ft[array_length_1d(ft)] = "susie dark world slow, spaced." - ft[array_length_1d(ft)] = 40 - ft[array_length_1d(ft)] = "inteo" - ft[array_length_1d(ft)] = 41 - ft[array_length_1d(ft)] = "intro slower" - ft[array_length_1d(ft)] = 42 - ft[array_length_1d(ft)] = "big silent slower" - ft[array_length_1d(ft)] = 45 - ft[array_length_1d(ft)] = "battle dialogue ral" - ft[array_length_1d(ft)] = 46 - ft[array_length_1d(ft)] = "battle dialogue lan" - ft[array_length_1d(ft)] = 47 - ft[array_length_1d(ft)] = "battle dialogue sus" - ft[array_length_1d(ft)] = 48 - ft[array_length_1d(ft)] = "king dark world battle" - ft[array_length_1d(ft)] = 50 - ft[array_length_1d(ft)] = "enemy" - ft[array_length_1d(ft)] = 51 - ft[array_length_1d(ft)] = "hellish yak text" - ft[array_length_1d(ft)] = 52 - ft[array_length_1d(ft)] = "hellish yak text 2" - ft[array_length_1d(ft)] = 53 - ft[array_length_1d(ft)] = "enemy: Susie" - ft[array_length_1d(ft)] = 54 - ft[array_length_1d(ft)] = "enemy: Susie 2" - ft[array_length_1d(ft)] = 55 - ft[array_length_1d(ft)] = "rudy font" - ft[array_length_1d(ft)] = 60 - ft[array_length_1d(ft)] = "SLOWER, SILENT 2" - ft[array_length_1d(ft)] = 666 - ft[array_length_1d(ft)] = "GLOW TEXT" - ft[array_length_1d(ft)] = 667 - ft[array_length_1d(ft)] = "GLOW TEXT 2" - ft[array_length_1d(ft)] = -1 - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = -2 - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = -3 - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = -4 - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = -5 - ft[array_length_1d(ft)] = fnt_tinynoelle - ft[array_length_1d(ft)] = -6 - ft[array_length_1d(ft)] = fnt_ja_tinynoelle - ft[array_length_1d(ft)] = -7 - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = -8 - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = -9 - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = -10 - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = -11 - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = -12 - ft[array_length_1d(ft)] = fnt_ja_small - global.chemg_font_types = ft - global.chemg_font_type_ndx = 0 - } - ft = global.chemg_font_types - var num_types = (array_length_1d(ft) / 2) - change = 0 - if (keyboard_check_pressed(vk_right) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padr)) - change = 1 - else if (keyboard_check_pressed(vk_left) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padl)) - change = -1 - global.chemg_font_type_ndx = (((global.chemg_font_type_ndx + change) + num_types) % num_types) - var fndx = (global.chemg_font_type_ndx * 2) - var xx = 10 - yy = 250 - strings[0] = "Pack my box with five" - strings[1] = "dozen liquor jugs." - strings[2] = "これは日本語です。" - strings[3] = "魔物に食われない!" - var typer = ft[fndx] - if (typer >= 0) - { - global.typer = typer - scr_texttype() - var font = myfont - var msg = ((((("(" + string(global.typer)) + ") ") + ft[(fndx + 1)]) + ", font: ") + font_get_name(myfont)) - vspacing = vspace - } - else - { - font = ft[(fndx + 1)] - msg = ("font: " + font_get_name(font)) - vspacing = (font_get_size(font) + 2) - } - draw_set_font(font) - draw_set_colour(c_white) - for (i = 0; i < array_length_1d(strings); i += 1) - { - var str = strings[i] - if (typer >= 0) - { - var len = string_length(str) - var wx = xx - for (var j = 1; j <= len; j += 1) - { - var mychar = string_copy(str, j, 1) - draw_text(wx, ((yy + 20) + (i * vspacing)), mychar) - wx += hspace - if (global.lang == "ja") - { - if (ord(mychar) < 256 || (ord(mychar) >= 65377 && ord(mychar) <= 65439)) - wx -= (hspace / 2) - } - } - } - else - draw_text(xx, ((yy + 20) + (i * vspacing)), str) - } - draw_set_colour(c_white) - draw_set_font(fnt_main) - draw_text(xx, yy, ("<-/-> to change typer: " + msg)) -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index 1d09600a3..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,21 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) - - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index f6477c8d7..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,395 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/741ad8ab49a08226af7e1b13b64d4e55/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml deleted file mode 100644 index bb5b6bacc..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_backgrounder_dock_Other_10.gml +++ /dev/null @@ -1,16 +0,0 @@ -gg = (room_width - view_wview[0]) -hh = (room_height - view_hview[0]) -if (view_xview[0] >= 0 && view_xview < gg) -{ - x = (xhome + floor((view_xview[0] - (view_xview[0] * scrollspeed)))) - g = (x - xprevious) - tile_layer_shift(1000100, g, 0) - tile_layer_shift(1000002, (g / 2), 0) -} -if (view_yview[0] >= 0 && view_yview[0] < hh) -{ - y = (yhome + floor((view_yview[0] - (view_yview[0] * scrollspeed)))) - h = (y - yprevious) - tile_layer_shift(1000100, 0, h) - tile_layer_shift(1000002, 0, (h / 2)) -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 27e597103..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,437 +0,0 @@ -var halfsize, n, ch, myletter, newtyper, sym, sym_s, icontype, sprite, spritex, spritey, icon_scale, choiceindex, nextch, letterx, offsetx, offsety, halfscale, unit, lastch, angle, display_scale, finalx, finaly; -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -halfsize = 0 -for (n = 1; n <= stringpos; n++) -{ - ch = string_char_at(originalstring, n) - myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = $FDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = $D4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - spritex = myx - spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (view_wview[view_current] == 640) - myx *= 2 - myx += view_xview[view_current] - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - letterx = myx - offsetx = 0 - offsety = 0 - halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(myletter) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - display_scale = (surface_get_width(application_surface) / view_wview[view_current]) - finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, myletter, (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(myletter) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index 4d4abdc76..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,22 +0,0 @@ -var msgid_base, i, text, xx; -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (i = 0; true; i++) -{ - text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_iceflag_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_iceflag_Draw_0.gml deleted file mode 100644 index 04d5e54f0..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_iceflag_Draw_0.gml +++ /dev/null @@ -1,12 +0,0 @@ -draw_self_custom(0, 9999, 0, (ystart + 40)) -if (yoff > 1) - y -= 1 -yoff -= 1 -if (x > (view_xview + view_wview[0])) - instance_destroy() -if (x < (view_xview - 10)) - instance_destroy() -if (y > ((view_yview + view_hview) + 30)) - instance_destroy() -if (y < view_yview) - instance_destroy() diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 0e0ce792f..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,445 +0,0 @@ -var vspacing, button_x, xx, stext, analog_text_width, sensebar_x; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, scr_gettext("joyconfig_title"), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, scr_gettext("joyconfig_title"), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -vspacing = 15 -if (global.language == "ja") - vspacing = 16 -button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), itext) - xx = ((20 + string_width(itext)) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), stext) - draw_set_color(c_white) -} -button_x += string_width(stext) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(scr_gettext("joyconfig_prompt_button"))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), scr_gettext("joyconfig_prompt_button")) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, scr_gettext("joyconfig_analog_sens")) -analog_text_width = string_width(scr_gettext("joyconfig_analog_sens")) -sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(scr_gettext("joyconfig_analog_sens_sq"))) - draw_text_transformed(20, (135 + vspacing), scr_gettext("joyconfig_analog_sens_sq"), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, scr_gettext("joyconfig_dir_choice")) -if (global.joy_dir == 0) - draw_text(100, 170, scr_gettext("joyconfig_dir_normal")) -if (global.joy_dir == 1) - draw_text(100, 170, scr_gettext("joyconfig_dir_analog")) -if (global.joy_dir == 2) - draw_text(100, 170, scr_gettext("joyconfig_dir_pov")) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), scr_gettext("joyconfig_reset")) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), scr_gettext("joyconfig_test")) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_test_fall"), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml deleted file mode 100644 index 8f35ee720..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_monsterkidtrigger7_Step_0.gml +++ /dev/null @@ -1,752 +0,0 @@ -if (con == 1) -{ - mkid = instance_create((view_xview[0] - 40), obj_mainchara.y, obj_mkid_actor) - mkid.image_speed = 0 - obj_mainchara.cutscene = true - view_object[0] = noone - mkid.sprite_index = mkid.rsprite - con = 0.1 - alarm[4] = 2 - vol = caster_get_volume(global.currentsong) - vol2 = vol -} -if (con == 1.1) -{ - con = 0.2 - alarm[4] = 2 -} -if (con == 1.2) -{ - con = 1.3 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_124") - scr_regulartext() -} -if (con == 1.3 && instance_exists(OBJ_WRITER) == 0) -{ - con = 2 - alarm[4] = 50 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - if (vol > 0) - vol -= 0.02 - caster_set_volume(global.currentsong, vol) - view_xview -= 2 -} -if (con == 3) -{ - global.facing = 3 - caster_pause(global.currentsong) - mkid.image_speed = 0.2 - mkid.hspeed = 1 - con = 4 - alarm[4] = 20 - if (global.tempvalue[13] == 1) - { - alarm[4] = 50 - con = 13 - mkid.image_speed = 0.25 - mkid.hspeed = 3 - mkid.sprite_index = mkid.rsprite - } -} -if (con == 5) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 6 - alarm[4] = 50 -} -if (con == 7) -{ - mkid.hspeed = 1 - mkid.image_speed = 0.2 - con = 8 - alarm[4] = 130 -} -if (con == 9) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 10 - alarm[4] = 30 -} -if (con == 10) -{ - mkid.sprite_index = mkid.dtsprite - con = 11 - alarm[4] = 30 -} -if (con == 12) -{ - mkid.sprite_index = mkid.rtsprite - con = 13 - alarm[4] = 40 -} -if (con == 14) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = mkid.rtsprite - global.msc = 623 - global.typer = 5 - global.facechoice = 0 - con = 15 - if (murder == 1) - { - con = 150 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_214") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_215") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_216") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_217") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_218") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_219") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_220") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_221") - if (global.tempvalue[13] == 1) - { - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_225") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_226") - con = 157 - } - } - instance_create(0, 0, obj_dialoguer) -} -if (con == 15 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = mkid.rsprite - con = 16 - alarm[4] = 30 -} -if (con == 17) -{ - mkid.hspeed = -1 - con = 18 - alarm[4] = 15 - mkid.image_speed = 0.2 -} -if (con == 19) -{ - mkid.hspeed = 0 - alarm[4] = 60 - mkid.image_speed = 0 - mkid.image_index = 0 - con = 20 -} -if (con == 21) -{ - mkid.sprite_index = mkid.lsprite - mkid.hspeed = -3 - alarm[4] = 15 - mkid.image_speed = 0.5 - con = 20.1 -} -if (con == 21.1) -{ - mkid.hspeed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_trip_l - mkid.image_speed = 0 - mkiddex = 0 - con = 22 - alarm[4] = 18 -} -if (con == 22) -{ - mkiddex += 0.25 - if (mkiddex >= 2) - mkiddex = 0 - if (mkiddex < 1) - mkid.image_index = 0 - else - mkid.image_index = 1 -} -if (con == 23) -{ - mkid.image_index = 0 - mkid.sprite_index = mkid.usprite - mkid.hspeed = -1 - mkid.vspeed = 2 - con = 24 - alarm[4] = 15 -} -if (con == 25) -{ - mkid.sprite_index = mkid.usprite - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.vspeed = 0 - con = 26 - alarm[4] = 10 -} -if (con == 27) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_309") - interact = instance_create(mkid.x, (mkid.y + 10), obj_readable_room1) - interact.image_xscale = 0.5 - interact.x += 5 - scr_regulartext() - con = 28 -} -if (con == 28 && instance_exists(OBJ_WRITER) == 0) -{ - undyne = instance_create((view_xview[0] - 40), 82, obj_undynea_actor) - undyne.sprite_index = undyne.rsprite - undyne.hspeed = 2 - undyne.image_speed = 0.2 - con = 29 - alarm[4] = 20 -} -if (con == 30) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 31 - alarm[4] = 30 -} -if (con == 32) -{ - undyne.sprite_index = spr_undyne_armraise - snd_play(snd_spearappear) - con = 33 - alarm[4] = 20 -} -if (con == 34) -{ - undyne.sprite_index = undyne.rsprite - global.interact = 0 - con = 35 - global.flag[17] = 1 - doorb = instance_create((view_xview - 20), (obj_mainchara.y + 10), obj_doorB) - doora = instance_create(((view_xview + view_wview) + 20), (obj_mainchara.y + 10), obj_doorA) - undynetimer = 0 - finaltimer = 0 - mkidtalk = 0 - charge = 0 - samex = obj_mainchara.x -} -if (con == 35) -{ - ll = 0 - finaltimer += 1 - undynetimer += 1 - if (undynetimer > 60) - { - undyne.hspeed = 1 - undyne.image_speed = 0.25 - } - if (undynetimer > 75) - { - undyne.hspeed = 0 - undyne.image_speed = 0 - undynetimer = 0 - } - if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs((obj_mainchara.x - samex)) < 10) - { - mkidtalk = 1 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_379") - scr_regulartext() - global.interact = 1 - } - if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0) - { - global.interact = 0 - mkidtalk = 2 - } - if (finaltimer > 500) - ll = 1 - if (obj_mainchara.x < (undyne.x + 40)) - { - ll = 1 - charge = 1 - } - able = 0 - if (ll == 1 && global.interact == 0) - able = 1 - if (ll == 1 && mkidtalk == 1) - able = 1 - if (able == 1) - { - with (obj_dialoguer) - instance_destroy() - with (OBJ_WRITER) - instance_destroy() - con = 50 - global.interact = 1 - } -} -if (con == 50) -{ - undyne.sprite_index = undyne.dsprite - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_417") - scr_regulartext() - con = 51 -} -if (con == 51 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.vspeed = 0.5 - con = 50.1 - alarm[4] = 20 -} -if (con == 51.1) -{ - mkid.vspeed = 0 - con = 50.2 - alarm[4] = 30 -} -if (con == 51.2) -{ - blcon = instance_create((undyne.x + 10), (undyne.y - 15), obj_cosmeticblcon) - mkid.vspeed = 4 - con = 54 - alarm[4] = 30 -} -if (con == 55) -{ - with (blcon) - instance_destroy() - undyne.sprite_index = spr_undyne_jump0 - con = 56 - alarm[4] = 30 -} -if (con == 57) -{ - undyne.sprite_index = spr_undyne_jump1 - snd_play(snd_spearrise) - undyne.vspeed = -8 - undyne.gravity = 0.6 - undyne.gravity_direction = 270 - undyne.hspeed = 0.5 - con = 58 - alarm[4] = 20 -} -if (con == 59) -{ - snd_play(snd_fall) - con = 60 - alarm[4] = 90 -} -if (con == 61) -{ - snd_play(snd_undynestep) - con = 62 - alarm[4] = 20 -} -if (con == 63) -{ - snd_play(snd_grab) - con = 69 - alarm[4] = 80 -} -if (con == 70) -{ - global.facing = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_490") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_491") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_492") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_493") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_494") - if (charge == 1) - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_495") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_496") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_497") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_498") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_499") - global.msg[9] = scr_gettext("obj_monsterkidtrigger7_500") - global.msg[10] = scr_gettext("obj_monsterkidtrigger7_501") - scr_regulartext() - con = 71 -} -if (con == 71 && instance_exists(OBJ_WRITER) == 0) -{ - global.flag[98] = 2 - con = 72 -} -if (con == 72 && instance_exists(OBJ_WRITER) == 0) -{ - con = 73 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (idealxview >= (room_width - view_wview[0])) - idealxview = ((room_width - view_wview[0]) - 2) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 74) -{ - if (xdir == 1) - view_xview[0] += 4 - else - view_xview[0] -= 4 - if (abs((view_xview[0] - idealxview)) <= 5) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 80) -{ - with (interact) - instance_destroy() - global.interact = 1 - con = 81 - alarm[4] = 30 -} -if (con == 82) -{ - if (undyne.x > (view_xview[0] + 20)) - { - undyne.hspeed = -1 - undyne.image_speed = 0.12 - } - if (mkid.x <= obj_mainchara.x) - mkid.hspeed = -0.8 - if (mkid.x > obj_mainchara.x) - mkid.hspeed = 0.8 - mkid.vspeed = -1 - con = 83 - alarm[4] = 28 -} -if (con == 84) -{ - undyne.hspeed = 0 - undyne.image_index = 0 - undyne.hspeed = 0 - mkid.vspeed = 0 - mkid.hspeed = 0 - mkid.x = round(mkid.x) - if (obj_mainchara.x > mkid.x) - mkid.sprite_index = mkid.rtsprite - else - mkid.sprite_index = mkid.ltsprite - mkid.image_index = 0 - mkid.image_speed = 0 - con = 85 - alarm[4] = 40 -} -if (con == 86) -{ - undyne.hspeed = 0.5 - undyne.image_speed = 0.25 - blcon = instance_create(mkid.x, (mkid.y - 10), obj_cosmeticblcon) - con = 87 - alarm[4] = 16 -} -if (con == 88) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - with (blcon) - instance_destroy() - mkid.sprite_index = mkid.lsprite - con = 89 - alarm[4] = 30 -} -if (con == 90) -{ - if (mkid.x > obj_mainchara.x) - mkid.hspeed = -5 - else - mkid.hspeed = -0.5 - mkid.image_speed = 0.25 - con = 91 - alarm[4] = 10 -} -if (con == 92) -{ - mkid.hspeed = 0 - mkid.image_speed = 0 - con = 93 - alarm[4] = 30 -} -if (con == 94) -{ - mkid.sprite_index = mkid.ltsprite - mkid.image_speed = 0.25 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_643") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_644") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_645") - scr_regulartext() - con = 95 -} -if (con == 95 && instance_exists(OBJ_WRITER) == 0) -{ - con = 96 - alarm[4] = 30 -} -if (con == 97) -{ - mkid.image_speed = 0 - mkid.image_index = 0 - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98 - alarm[4] = 20 -} -if (con == 99) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 98.1 - alarm[4] = 30 -} -if (con == 99.1) -{ - undyne.hspeed = -0.5 - undyne.image_speed = 0.2 - undyne.image_index = 0 - con = 98.2 - alarm[4] = 20 -} -if (con == 99.2) -{ - undyne.hspeed = 0 - undyne.image_speed = 0 - undyne.image_index = 0 - con = 100 - alarm[4] = 60 -} -if (con == 101) -{ - undyne.sprite_index = undyne.lsprite - undyne.hspeed = -2 - undyne.image_speed = 0.25 - con = 102 - alarm[4] = 90 -} -if (con == 103) -{ - with (undyne) - instance_destroy() - con = 104 - mkid.sprite_index = mkid.rtsprite - alarm[4] = 30 -} -if (con == 105) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_714") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_715") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_716") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_717") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_718") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_719") - con = 106 - scr_regulartext() -} -if (con == 106 && instance_exists(OBJ_WRITER) == 0) -{ - con = 107 - alarm[4] = 20 -} -if (con == 108) -{ - mkid.sprite_index = mkid.lsprite - mkid.image_speed = 0.25 - mkid.hspeed = -1 - con = 109 - alarm[4] = 30 -} -if (con == 110) -{ - mkid.image_speed = 0 - mkid.hspeed = 0 - mkid.image_index = 0 - con = 111 - alarm[4] = 30 -} -if (con == 112) -{ - mkid.sprite_index = mkid.rtsprite - con = 113 - alarm[4] = 30 -} -if (con == 114) -{ - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_757") - scr_regulartext() - con = 115 -} -if (con == 115 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 116 - idealxview = round(((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2))) - if (view_xview[0] > idealxview) - xdir = 0 - else - xdir = 1 - alarm[4] = 40 -} -if (con == 117) -{ - if (xdir == 1) - view_xview[0] += 2 - else - view_xview[0] -= 2 - if (abs((view_xview[0] - idealxview)) <= 2) - { - with (mkid) - instance_destroy() - view_object[0] = obj_mainchara - obj_mainchara.cutscene = false - with (doora) - instance_destroy() - with (doorb) - instance_destroy() - global.plot = 120 - global.flag[98] = 1 - caster_free(global.currentsong) - global.interact = 0 - instance_destroy() - } -} -if (con == 150 && instance_exists(OBJ_WRITER) == 1) -{ - if (OBJ_WRITER.stringno == 6) - global.facing = 2 -} -if (con == 150 && instance_exists(OBJ_WRITER) == 0) -{ - global.facing = 3 - obj_mainchara.hspeed = -2 - obj_mainchara.moving = 1 - obj_mainchara.image_speed = 0.25 - con = 151 - alarm[4] = 5 -} -if (con == 152) -{ - mkid.hspeed = -2 - mkid.sprite_index = spr_mkid_r - mkid.image_speed = 0.25 - con = 153 - alarm[4] = 10 -} -if (con == 154) -{ - obj_mainchara.hspeed = 0 - mkid.hspeed = 0 - mkid.image_speed = 0 - mkid.image_index = 0 - mkid.sprite_index = spr_mkid_rt - con = 155 - alarm[4] = 30 -} -if (con == 156) -{ - global.msc = 0 - global.typer = 5 - global.facechoice = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_836") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_837") - global.msg[2] = scr_gettext("obj_monsterkidtrigger7_838") - global.msg[3] = scr_gettext("obj_monsterkidtrigger7_839") - global.msg[4] = scr_gettext("obj_monsterkidtrigger7_840") - global.msg[5] = scr_gettext("obj_monsterkidtrigger7_841") - global.msg[6] = scr_gettext("obj_monsterkidtrigger7_842") - global.msg[7] = scr_gettext("obj_monsterkidtrigger7_843") - global.msg[8] = scr_gettext("obj_monsterkidtrigger7_844") - instance_create(0, 0, obj_dialoguer) - con = 157 -} -if (con == 157 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - mkid.sprite_index = spr_mkid_lt - if (OBJ_WRITER.stringno == 4) - mkid.sprite_index = spr_mkid_rt -} -if (con == 157 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.sprite_index = spr_mkid_rt - global.battlegroup = 91 - global.seriousbattle = 1 - global.mercy = 1 - instance_create(0, 0, obj_battler) - con = 158 - alarm[4] = 32 -} -if (con == 159) -{ - global.seriousbattle = 0 - global.mercy = 0 - global.interact = 1 - con = 160 - alarm[4] = 30 -} -if (con == 160) -{ - obj_mainchara.cutscene = false - view_object[0] = obj_mainchara - con = 160.1 - global.interact = 1 - alarm[4] = 30 - if (global.flag[350] == 1) - { - with (mkid) - instance_destroy() - con = 170 - alarm[4] = -1 - } - global.interact = 1 -} -if (con == 160.1) - global.interact = 1 -if (con == 161.1) -{ - global.interact = 1 - global.typer = 5 - global.facechoice = 0 - global.msc = 0 - global.msg[0] = scr_gettext("obj_monsterkidtrigger7_901") - global.msg[1] = scr_gettext("obj_monsterkidtrigger7_902") - instance_create(0, 0, obj_dialoguer) - con = 162 -} -if (con == 162) - global.interact = 1 -if (con == 162 && instance_exists(OBJ_WRITER) == 0) -{ - mkid.hspeed = -4 - mkid.image_speed = 0.5 - mkid.sprite_index = mkid.lsprite - con = 163 - alarm[4] = 40 -} -if (con == 164) - con = 170 -if (con == 170) -{ - global.facing = 0 - global.interact = 0 - if (global.plot < 120) - global.plot = 120 - con = 171 - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 945fd52bc..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index 8433d63d5..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,86 +0,0 @@ -var i, Won, CP, CH, BW, BP, BH, EndF; -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - exit -} -num_borders = 10 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - BW = ini_read_real("General", "BW", 0) - BP = ini_read_real("General", "BP", 0) - BH = ini_read_real("General", "BH", 0) - EndF = ini_read_real("EndF", "EndF", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 9205da15d..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,303 +0,0 @@ -var menu_max, vspacing, button_x, i, itext, xx, button, b, command, sprite, border_label, border_sel; -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_winter"), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_spring"), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_summer"), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), scr_gettext("joyconfig_fun_fall"), 1, 1, -20) -} -menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, scr_gettext("joyconfig_exit")) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, scr_gettext("settings_language")) -draw_text(92, 70, scr_gettext(("settings_language_" + global.language))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, scr_gettext("settings_button")) - vspacing = 18 - button_x = 0 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), itext) - draw_set_color(c_white) - xx = (40 + string_width(itext)) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - button = -4 - for (b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check(0, button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - command = string_char_at("ZXC", (i + 1)) - sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), scr_gettext("joyconfig_reset")) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), border_label) - if (global.screen_border_id == 0) - border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == -1) - border_sel = "@!%&" - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(border_label)) + 20), ((100 + (3 * vspacing)) + 50), border_sel) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, scr_gettext("settings_joyconfig")) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 2b5101147..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, scr_gettext("shop_exit_submenu")) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_undyneencounter1_Step_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_undyneencounter1_Step_0.gml deleted file mode 100644 index 7ef1c46aa..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_undyneencounter1_Step_0.gml +++ /dev/null @@ -1,136 +0,0 @@ -if (active == true) -{ - if instance_exists(obj_mainchara) - { - if (cn == 0 && global.interact == 0 && obj_mainchara.x > x) - { - global.interact = 1 - undyne.image_alpha = 0 - cn = 0.1 - ou = instance_create(0, 0, obj_musfadeout) - ou.fadespeed = 0.05 - snd_play(snd_arrow) - ar = instance_create((x + 30), -220, obj_npc_marker) - ar.visible = true - ar.sprite_index = spr_undynespear - ar.image_angle = -90 - ar.vspeed = 24 - ar.friction = -0.3 - } - } - if (cn == 0.1) - { - if (ar.y > 160) - { - ar.image_angle = 0 - ar.sprite_index = spr_undynespear_stabbed - ar.y += ar.vspeed - ar.vspeed = 0 - snd_play(snd_impact) - instance_create(0, 0, obj_flasher) - scr_shake(4, 4, 2) - cn = 0.2 - alarm[4] = 50 - instance_create(40, 180, obj_solidsmall) - instance_create(40, 200, obj_solidsmall) - instance_create(40, 220, obj_solidsmall) - yad = 0 - repeat (5) - { - ar2 = instance_create((50 - yad), (210 - (yad * 6)), obj_npc_marker) - ar2.visible = true - ar2.sprite_index = spr_undynespear_stabbed - yad += 2 - } - } - } - if (cn == 1.2) - { - if (ar.image_alpha > 0.02) - ar.image_alpha -= 0.1 - if (view_yview[0] > 10) - view_yview -= 5 - else - cn = 2 - } - if (cn == 2) - { - caster_play(ushock, 1, 1) - cn = 3 - alarm[4] = 30 - } - if (cn == 3) - { - if (undyne.image_alpha < 1) - undyne.image_alpha += 0.05 - } - if (cn == 4) - { - global.currentsong = usong - caster_loop(global.currentsong, 1, 1) - global.interact = 0 - global.flag[17] = 1 - global.flag[77] = global.armor - cn = 5 - } - if (cn == 5) - { - undyne.vspeed = 4 - undyne.image_speed = 0.25 - cn = 6 - alarm[4] = 6 - } - if (cn == 7) - { - undyne.image_speed = 0 - undyne.vspeed = 0 - sp = instance_create(undyne.x, undyne.y, obj_uspeargen) - cn = 8 - } - if (cn > 7) - { - sp.x = (undyne.x + 24) - sp.y = (undyne.y + 20) - } - if (cn == 8) - { - if (stk.image_alpha < 1) - stk.image_alpha += 0.1 - if (stopper == 1) - { - alarm[4] = -1 - cn = 10 - stopper = 0 - } - if (obj_mainchara.x > (undyne.x + 80) && undyne.x < room_width) - { - undyne.hspeed = 3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - if (obj_mainchara.x < (undyne.x - 60)) - { - undyne.hspeed = -3 - undyne.image_speed = 0.2 - alarm[4] = 20 - cn = 9 - } - } - if (cn == 10) - { - if (obj_mainchara.x > (undyne.x + 80) || obj_mainchara.x < (undyne.x - 60)) - cn = 8 - else - { - undyne.image_speed = 0 - undyne.hspeed = 0 - cn = 8 - } - } - if (cn == 9) - { - if (alarm[4] <= 0) - cn = 10 - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 915d6c2eb..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 082189db8..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6588 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y" - if (global.flag[22] == 2) - adder = "\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_conshake.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_conshake.gml deleted file mode 100644 index a15441510..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_conshake.gml +++ /dev/null @@ -1,3 +0,0 @@ -consiner += 1 -view_xview = (conshakex + (sin(consiner) * argument0)) -view_yview = (conshakey + (cos(consiner) * argument0)) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_conshakeend.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_conshakeend.gml deleted file mode 100644 index c77fee97d..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_conshakeend.gml +++ /dev/null @@ -1,4 +0,0 @@ -view_xview = conshakex -view_yview = conshakey -if instance_exists(obj_mainchara) - obj_mainchara.cutscene = false diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index 37c860d87..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,24 +0,0 @@ -var xx, yy, use_font, i; -xx = argument0 -yy = argument1 -if (global.language == "ja") -{ - use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, global.charname) -return string_width(global.charname); diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 54577d146..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,11 +0,0 @@ -var i, desc; -global.msg[0] = scr_gettext("scr_itemdesc_2") -i = 0 -while (true) -{ - desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc - i++ -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 87492e7d3..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,40 +0,0 @@ -var bc; -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 56ce2d2d1..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,902 +0,0 @@ -var credamt, credits_path, credfile, thiscred; -credamt = 0 -if (global.osflavor <= 2) -{ - credits_path = (working_directory + "credits.txt") - credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew " + chr(34) + "Southrop" + chr(34) + " Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara " + chr(34) + "Svenna" + chr(34) + " Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean " + chr(34) + "Ariamaki" + chr(34) + " Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin " + chr(34) + "BenaSPACE" + chr(34) + " McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn " + chr(34) + "Xisuu" + chr(34) + " Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan " + chr(34) + "ChessboardMan" + chr(34) + " Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles " + chr(34) + "Chip Champion" + chr(34) + " Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary " + chr(34) + "ZarroTsu" + chr(34) + " Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will " + chr(34) + "Radnar" + chr(34) + " Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin " + chr(34) + "AT" + chr(34) + " Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves " + chr(34) + "TehLazyOne" + chr(34) + "" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke " + chr(34) + "Association" + chr(34) + " Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index e5a4b22ab..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var xx, kana_count, i, Won, CP, CH, confirm, row, yy, col, menu_text0, menu_text1, menu_text2, charset_text0, charset_text1, charset_text2, old_col, best, bestdiff, diff, roomname, lvtext, timetext, namesize, lvsize, timesize, x_center, lvpos, namepos, timepos, continue_text, reset_text, action, lines, num_lines, label_x, key, label, yy2; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - Won = ini_read_real("General", "Won", 0) - CP = ini_read_real("General", "CP", 0) - CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - exit - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), charname, (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, spec_m) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (row = 0; row < rows; row++) - { - yy = ymap[row] - for (col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), charmap[row, col]) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, menu_text0) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, menu_text1) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, menu_text2) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, charset_text0) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, charset_text1) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, charset_text2) - } - old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, charname) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - roomname = scr_roomname(roome) - lvtext = scr_gettext("save_menu_lv", string(love)) - timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - namesize = string_width(substr(name, 1, 6)) - lvsize = string_width(lvtext) - timesize = string_width(timetext) - x_center = 160 - lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - namepos = 70 - timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, name) - draw_text(lvpos, 62, lvtext) - draw_text((timepos - timesize), 62, timetext) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, roomname) - if (selected3 == 0) - draw_set_color(c_yellow) - continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, continue_text) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, reset_text) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, scr_gettext("instructions_title")) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\*Z") - draw_text(115, 50, scr_gettext("instructions_confirm_label")) - scr_drawtext_icons(85, 70, "\*X") - draw_text(115, 70, scr_gettext("instructions_cancel_label")) - scr_drawtext_icons(85, 90, "\*C") - draw_text(115, 90, scr_gettext("instructions_menu_label")) - draw_text(86, 130, scr_gettext("instructions_hp0")) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - num_lines = 5 - if (global.language == "ja") - { - label_x = 0 - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), key) - xx = ((50 + string_width(key)) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), label) - } - draw_text(50, 145, scr_gettext("instructions_hp0")) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), ((key + " - ") + label)) - } - draw_text(85, 140, scr_gettext("instructions_hp0")) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, scr_gettext("instructions_begin")) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, scr_gettext("settings_name")) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/856219e69dd39e76deca0586a7f44307/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml deleted file mode 100644 index 7865cee5e..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml +++ /dev/null @@ -1,103 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - n += 2 - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "P") - script_execute(SCR_TEXTSETUP, 4, 255, x, y, (x + 150), 43, 4, 94, 10) - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - } - if (global.inbattle == 1) - halt = 5 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_OBJ_WRITER_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_OBJ_WRITER_Draw_0.gml deleted file mode 100644 index 241521ad2..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_OBJ_WRITER_Draw_0.gml +++ /dev/null @@ -1,255 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "L") - mycolor = $FFA914 - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "z") - { - sym = real(string_char_at(originalstring, (n + 2))) - sym_s = spr_infinitysign - if (sym == 4) - sym_s = spr_infinitysign - if (sym == 4) - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - if (myfont == fnt_comicsans) - { - if (myletter == "w") - myx += 2 - if (myletter == "m") - myx += 2 - if (myletter == "i") - myx -= 2 - if (myletter == "l") - myx -= 2 - if (myletter == "s") - myx -= 1 - if (myletter == "j") - myx -= 1 - } - if (myfont == fnt_papyrus) - { - if (myletter == "D") - myx += 1 - if (myletter == "Q") - myx += 3 - if (myletter == "M") - myx += 1 - if (myletter == "L") - myx -= 1 - if (myletter == "K") - myx -= 1 - if (myletter == "C") - myx += 1 - if (myletter == ".") - myx -= 3 - if (myletter == "!") - myx -= 3 - if (myletter == "O" || myletter == "W") - myx += 2 - if (myletter == "I") - myx -= 6 - if (myletter == "T") - myx -= 1 - if (myletter == "P") - myx -= 2 - if (myletter == "R") - myx -= 2 - if (myletter == "A") - myx += 1 - if (myletter == "H") - myx += 1 - if (myletter == "B") - myx += 1 - if (myletter == "G") - myx += 1 - if (myletter == "F") - myx -= 1 - if (myletter == "?") - myx -= 3 - if (myletter == "'") - myx -= 6 - if (myletter == "J") - myx -= 1 - } - n += nskip -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_flowey_writer_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_flowey_writer_Draw_0.gml deleted file mode 100644 index aa57ccad5..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_flowey_writer_Draw_0.gml +++ /dev/null @@ -1,181 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "f") - global.typer = 9 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else if (global.typer == 70 || global.typer == 71 || global.typer == 74 || global.typer == 75 || global.typer == 76 || global.typer == 77) - draw_text_transformed((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter, 2, 2, 0) - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - n += nskip -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 9a5ea7df7..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,398 +0,0 @@ -buffer -= 1 -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if keyboard_multicheck_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ini_close() - room_goto(room_intromenu) -} -draw_set_color(c_white) -draw_set_font(fnt_maintext) -if (weather != 3) - draw_text_transformed(100, 10, "JOYSTICK CONFIG", 2, 2, 0) -else - draw_text_transformed(10, 10, "JOYSTICK CONFIG", 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, "EXIT") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = "CONFIRM - [Z + ENTER] ::" - if (i == 2) - itext = "CANCEL - [X + SHIFT] ::" - if (i == 3) - itext = "MENU - [C + CTRL] ::" - draw_text(20, (60 + (i * 15)), itext) - draw_set_color(c_white) -} -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 75, 245, 90, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 75, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 90, 245, 105, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 90, "(PUSH BUTTON)") - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 90, global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 105, 245, 120, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 105, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 105, global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, "ANALOG SENSITIVITY:") -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense -= global.analog_sense_sense - if keyboard_check(vk_left) - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text_transformed(20, 150, "ANALOG SENSITIVITY SENSITIVITY:", 0.6, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense_sense -= 0.01 - if keyboard_check(vk_left) - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, "DIR CHOICE:") -if (global.joy_dir == 0) - draw_text(100, 170, "NORMAL") -if (global.joy_dir == 1) - draw_text(100, 170, "ANALOG ONLY") -if (global.joy_dir == 2) - draw_text(100, 170, "POV ONLY") -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, 185, r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, 185, "RESET TO DEFAULT") -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = "SPAGHETTI..." - else - r_line = "RESETTED..." - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 200, "CONTROL TEST") -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "cold outside#but stay warm#inside of you", 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "spring time#back to school", 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "try to withstand#the sun's life-#giving rays", 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "sweep a leaf#sweep away a#troubles", 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - draw_rectangle((168 - rectile), -10, -1, 250, false) - draw_set_color(c_black) - draw_rectangle((152 + rectile), -10, 330, 250, false) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 7b8438b88..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = "PET?" - if (gg == 1) - global.msg[0] = "PAT?" - if (gg == 2) - global.msg[0] = "POT?" - global.msg[1] = "%%%" - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_readable_room1_Alarm_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_readable_room1_Alarm_0.gml deleted file mode 100644 index ca62366f8..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_readable_room1_Alarm_0.gml +++ /dev/null @@ -1,480 +0,0 @@ -myinteract = 3 -global.msc = 0 -global.typer = 5 -global.facechoice = 0 -global.faceemotion = 0 -global.msg[0] = "%%" -if (room == room_ruins2) - global.msg[0] = "* Only the fearless may proceed.&* Brave ones, foolish ones.&* Both walk not the middle road./%%" -if (room == room_ruins3) - global.msg[0] = "* Stay on the path./%%" -if (room == room_ruins5) - global.msg[0] = "* The western room is the& eastern room's blueprint./%%" -if (room == room_ruins9) - global.msg[0] = "* Three out of four grey rocks& recommend you push them./%%" -if (room == room_ruins13) - global.msg[0] = "* (There's an ant-sized frog in& a crack in the wall...^1)&* (It waves at you.)/%%" -if (room == room_ruins14) - global.msg[0] = "* There is just one switch./%%" -if (room == room_ruins15A) - global.msg[0] = "* The far door is not an exit^1.&* It simply marks a rotation& in perspective./%%" -if (room == room_ruins15B) - global.msg[0] = "* If you can read this^1,& press the blue switch./%%" -if (room == room_ruins15C) - global.msg[0] = "* If you can read this^1,& press the red switch./%%" -if (room == room_ruins15D) - global.msg[0] = "* If you can read this^1,& press the green switch./%%" -if (room == room_torhouse1) - global.msg[0] = "* These books are worn...&* They must have been read& many times./%%" -if (room == room_asghouse1) -{ - global.msg[0] = "* (There's an old calendar from& the end of 201X.^1)&* (A date is circled on it.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (The date I came here.)/%%" -} -if (room == room_torhouse2) - global.msg[0] = "* The ends of the tools have& been filed down to& make them safer./%%" -if (room == room_asghouse2) - global.msg[0] = "* Seems like gardening tools./%%" -if (room == room_asrielroom) - global.msg[0] = "* Look at these cool toys^2!&* They don't interest you& at all./%%" -if (room == room_asrielroom_final) - global.msg[0] = "* (Dusty toys.)/%%" -if (room == room_castle_finalshoehorn) - global.msg[0] = "* Throne Room/%%" -if (room == room_castle_coffins2) -{ - global.msg[0] = "* (It's a coffin.^1)&* (There's a name engraved on& it.)/" - global.msg[1] = (('* ("' + global.charname) + '.")/') - global.msg[2] = "* (It's empty.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (The coffin is empty...?)/" - global.msg[1] = "* (You didn't notice before^1,& but there's something like...)/" - global.msg[2] = "* (... mummy wrappings at the& bottom of it.)/%%" - } - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (It's as comfortable as it& looks.)/%%" -} -if (room == room_torielroom) -{ - global.msc = 524 - if (x > 192) - { - global.msc = 0 - global.msg[0] = "* You peek inside..^2.&* Scandalous!/" - global.msg[1] = "* It's TORIEL's sock& collection./%%" - if (read > 0) - global.msg[0] = "* You can't stop looking& at the socks./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (You came all the way& back here to look at& Toriel's socks.)/" - global.msg[1] = "* (You have great priorities& in life.)/%%" - } - } -} -if (room == room_asgoreroom) -{ - global.msg[0] = "* It's a clothes drawer^1.&* There are robes^1, button-up& shirts.../" - global.msg[1] = "* ... and a pink^1, hand-knit& sweater that says& " + chr(34) + "Mr. Dad Guy." + chr(34) + "/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* Still has that sweater./%%" - if (y > 120) - global.msg[0] = "* (It's just a chair.)/%%" -} -if (room == room_castle_throneroom) - global.msg[0] = "* (It's a throne.)/%%" -if (room == room_torhouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_asghouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_kitchen) - global.msg[0] = "* For some reason^1, there& is a brand-name chocolate& bar in the fridge./%%" -if (room == room_kitchen_final) -{ - global.msg[0] = "* (The fridge is full of& unopened containers of& snails.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* No chocolate./%%" -} -if (room == room_tundra1) - global.msg[0] = "* ...!^1?&* There's a camera hidden& in the bushes./%%" -if (room == room_tundra8A) - global.msg[0] = "* (His.)/%%" -if (room == room_tundra_snowpuzz) -{ - if (global.plot <= 48) - global.msg[0] = "* There's a switch hidden& in the snow^1.&* Click!/%%" - if (global.plot > 48) - global.msg[0] = "* The switch is stuck now./%%" - if (global.flag[64] == 0) - global.flag[64] = 1 - if (global.plot <= 48) - global.plot = 49 - if (scr_murderlv() >= 3) - global.msg[0] = "* There's a switch here^1.&* It's been depressed with& vines./%%" -} -if (room == room_tundra_lesserdog) - global.msg[0] = "* On the floor inside is& a box of pomeraisins./%%" -if (room == 9999999) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are super crap./" - global.msg[2] = "* When monsters die^1, their& bodies turn into dust./" - global.msg[3] = "* One time this kid at my school& went missing for a week and& everyone thought he was dead.../" - global.msg[4] = "* But then he came back!!!/" - global.msg[5] = "* Turns out he was visiting his& girlfriend in Hotland and& and didn't tell anyone!/" - global.msg[6] = "* To be scientific^1, it sucks& that no one ever knows& if anyone's dead or alive./" - global.msg[7] = "* So yeah^1, what do we do at& funerals^1, anyway?/" - global.msg[8] = "* Professionally speaking:/" - global.msg[9] = "* DUH!!!/" - global.msg[10] = "* We pour the dust on whatever& that person liked./" - global.msg[11] = "* Then they will live on..^1.& ... in that object...& ... symbolically.../" - global.msg[12] = "* Uhhh^1, did I reach the page& minimum yet^1?&* I'm kinda sick of writing./%%" -} -if (room == room_tundra_library) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are cool as heck./" - global.msg[2] = "* When monsters get old and& kick the bucket^1, they turn& into dust./" - global.msg[3] = "* At funerals^1, we take that& dust and spread it on that& person's favorite thing./" - global.msg[4] = "* Then their essence will live& on in that thing.../" - global.msg[5] = "* Uhhh^1, am I at the page& minimum yet^1?&* I'm kinda sick of writing this./%%" -} -if (room == room_tundra_inn) -{ - global.msg[0] = "\W* Mom says that sleeping& can recover your health& \Yabove your maximum HP\W./" - global.msg[1] = "* ... what's maximum HP?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* Mom says that we can& go to the surface world& now!/" - global.msg[1] = "* ... what's so great about& that^1, anyway^1?&* I don't wanna move./%%" - } - if (scr_murderlv() >= 7) - global.msg[0] = "* (It's merely a decoy.)/%%" -} -if (room == room_water12) -{ - global.msg[0] = "* " + chr(34) + "The power to take their& SOULs." + chr(34) + "/" - global.msg[1] = "* " + chr(34) + "This is the power that& the humans feared." + chr(34) + "/%%" -} -if (room == room_water7) -{ - global.msg[0] = "* (Ancient writing covers the& walls..^1. you can just make& out the words.)/" - global.msg[1] = "* " + chr(34) + "The War of Humans and& Monsters." + chr(34) + "/%%" -} -if (room == room_water14) - global.msg[0] = "* The northern room hides a& great treasure./%%" -if (room == room_water15) -{ - global.msg[0] = "* Hurt, beaten, and fearful for& our lives, we surrendered& to the humans./" - global.msg[1] = "* Seven of their greatest& magicians sealed us underground& with a magic spell./" - global.msg[2] = "* Anything can enter through the& seal, but only beings with a& powerful SOUL can leave./%%" -} -if (room == room_water19) -{ - global.msg[0] = "* However...&* There is a prophecy./" - global.msg[1] = "* The Angel...&* The One Who Has Seen The& Surface.../" - global.msg[2] = "* They will return.&* And the underground will go& empty./%%" -} -if (room == room_water_nicecream) - global.msg[0] = "* The ancient glyphs have been& painted over with a list of& 21 different flavors./%%" -if (room == room_water_prebird) - global.msg[0] = "* Achoo^1!&* Tried to catch a bug^1, but& I just caught a cold.../%%" -if (room == room_water_preundyne) -{ - global.msg[0] = "* The humans, afraid of our& power^1, declared war on us./" - global.msg[1] = "* They attacked suddenly, and& without mercy./%%" -} -if (room == room_water17) - global.msg[0] = "* Without candles or magic to& guide them Home^1, the monsters& used crystals to navigate./%%" -if (room == room_water20) -{ - if instance_exists(obj_monsterkidtrigger7) - obj_monsterkidtrigger7.con = 80 - cantalk = 0 -} -if (room == room_fire_lab1) -{ - global.msg[0] = "* (It's a beat-up figurine& of a female human with& cat ears.)/%%" - if (global.plot < 126 && scr_murderlv() < 12) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" -} -if (room == room_fire_lab2) - global.msg[0] = "* (Scientific books.^1)&* (They seem very dusty.)/%%" -if (room == room_fire_cookingshow) -{ - global.msg[0] = "* (It's a fridge.^1)&* (It's strangely warm.)/%%" - if (global.plot < 134) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" - if instance_exists(obj_mettaton_npc) - { - global.typer = 27 - global.msg[0] = "* MILK^1? EGGS^1? IN THE FRIDGE?/" - global.msg[1] = "* NO WAY^1, DARLING^1!&* THEY'D GET COLD!!!/%%" - } - if (global.plot == 134) - { - snd_play(snd_phone) - global.typer = 5 - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* Um^1, is it really& a good idea to be& getting a snack?/" - global.msg[3] = "\E8* Well^1, I guess I& really shouldn't& judge you.../" - global.msg[4] = "\E0* After all^1, I'm the& one eating potato& chips in my PJs!/" - global.msg[5] = "\E5* Uhhh^1, I mean..^1.&* H-hey^1, go over to& the right!/%%" - if (specialread > 0) - { - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* H-hey^1!&* Head over to the& right!/%%" - } - specialread += 1 - } -} -if (room == room_water_undynehouse) -{ - global.typer = 37 - global.facechoice = 5 - global.faceemotion = 4 - global.msc = 0 - if (x > 180) - { - global.msg[0] = "* I hate cold food./" - global.msg[1] = "\E0* So Alphys fixed up& my fridge so it& heats up food instead!/" - global.msg[2] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - if (read > 0) - global.msg[0] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - } - else - { - global.faceemotion = 0 - global.msg[0] = "* This oven is some& top-of-the-line& MTT thing./" - global.msg[1] = "\E4* But^1, y'know^1, as much& as technology& advances.../" - global.msg[2] = "\E0* Nothing beats food& home-cooked with& fire magic./%%" - } -} -if (room == room_fire_spidershop) -{ - global.msg[0] = "* (It looks like some sort of& powerful bracelet...)/" - global.msg[1] = "* (Wait.^1)&* (It's just a croissant...)/%%" -} -if (room == room_fire_hotelfront_2) - global.msg[0] = "* (It's just a regular wall.)/%%" -if (room == room_fire_core_branch) - global.msg[0] = "* (East...)&* (The End.)/%%" -if (room == room_fire_core_left) - global.msg[0] = "* (Solve this puzzle,& and The End will open.)/%%" -if (room == room_fire_core_top) - global.msg[0] = "* (Traverse the northern& room^1, and The End will& open.)/%%" -if (room == room_fire_core_right) -{ - global.msg[0] = "* (I cannot fight.)&* (I cannot think.)/" - global.msg[1] = "* (But^1, with patience^1,& I will make my way& through.)/%%" -} -if (room == room_fire_core_center) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_treasureleft) - global.msg[0] = "* (Why not relax and have& a nice snack?)/%%" -if (room == room_fire_core_treasureright) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_metttest) -{ - global.msg[0] = "* (It's completely trashed.^1)&* (There's no way it could& ever be repaired.)/%%" - if (global.flag[425] == 0) - global.msg[0] = "* (It's out of batteries.)/%%" -} -if (room == room_truelab_hall1) -{ - global.msg[0] = "* ENTRY NUMBER 1/" - global.msg[1] = "* This is it..^1.&* Time to do what the King& has asked me to do./" - global.msg[2] = "* I will create the power to& free us all./" - global.msg[3] = "* I will unleash the power of& the SOUL./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hub) -{ - global.msg[0] = "* POWER ROOM/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall2) -{ - global.msg[0] = "* ENTRY NUMBER 6/" - global.msg[1] = "* ASGORE asked everyone& outside the city for monsters& that had " + chr(34) + "fallen down." + chr(34) + "/" - global.msg[2] = "* Their bodies came in today./" - global.msg[3] = "* They're still comatose..^1.&* And soon^1, they'll all& turn into dust./" - global.msg[4] = "* But what happens if I& inject " + chr(34) + "determination" + chr(34) + " into& them?/" - global.msg[5] = "* If their SOULS persist& after they perish^1, then.../" - global.msg[6] = "* Freedom might be closer& than we all thought./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_operatingroom) -{ - global.msg[0] = "* ENTRY NUMBER 9/" - global.msg[1] = "* things aren't going well./" - global.msg[2] = "* none of the bodies have& turned into dust^1, so I& can't get the SOULs./" - global.msg[3] = "* i told the families that& i would give them the& dust back for the funerals./" - global.msg[4] = "* people are starting to& ask me what's happening./" - global.msg[5] = "* what do i do?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_prebed) -{ - global.msg[0] = "* ENTRY NUMBER 12/" - global.msg[1] = "* nothing is happening^1.&* i don't know what to do./" - global.msg[2] = "* i'll just keep injecting& everything with& " + chr(34) + "determination." + chr(34) + "/" - global.msg[3] = "* i want this to work./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_bedroom) -{ - global.msg[0] = "* ENTRY NUMBER 14/" - global.msg[1] = "* Everyone that had fallen& down.../" - global.msg[2] = "* ... has woken up./" - global.msg[3] = "* They're all walking around& and talking like nothing& is wrong./" - global.msg[4] = "* I thought they were& goners...?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_mirror) -{ - global.msg[0] = "* ENTRY NUMBER 7/" - global.msg[1] = "* We'll need a vessel to& wield the monster SOULs& when the time comes./" - global.msg[2] = "* After all^1, a monster& cannot absorb the SOULs& of other monsters./" - global.msg[3] = "* Just as a human cannot& absorb a human SOUL.../" - global.msg[4] = "* So then.../" - global.msg[5] = "* What about something that's& neither human nor monster?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall3) -{ - global.msg[0] = "* ENTRY NUMBER 15/" - global.msg[1] = "* Seems like this research& was a dead end.../" - global.msg[2] = "* But at least we got a& happy ending out of it...?/" - global.msg[3] = "* I sent the SOULS back to& ASGORE^1, returned the& vessel to his garden..../" - global.msg[4] = "* And I called all of the& families and told them& everyone's alive./" - global.msg[5] = "* I'll send everyone back& tomorrow. :) /%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* ENTRY NUMBER 17/" - global.msg[1] = "* monsters' physical forms& can't handle " + chr(34) + "determination" + chr(34) + "& like humans' can./" - global.msg[2] = "* with too much determination^1,& our bodies begin to break& down./" - global.msg[3] = "* everyone's melted together.../%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* DT EXTRACTION MACHINE&* STATUS: INACTIVE/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_tv) -{ - global.msg[0] = "* ENTRY NUMBER 4/" - global.msg[1] = "* I've been researching humans& to see if I can find any& info about their SOULS./" - global.msg[2] = "* I ended up snooping around& the castle...&* And found these weird tapes./" - global.msg[3] = "* I don't feel like ASGORE's& watched them.../" - global.msg[4] = "* I don't think he should./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_fan) - global.msc = 780 -if (room == room_truelab_cooler) -{ - global.msg[0] = "* ENTRY NUMBER 19/" - global.msg[1] = "* the families keep calling& me to ask when everyone& is coming home./" - global.msg[2] = "* what am i supposed to say?/" - global.msg[3] = "* i don't even answer the& phone anymore./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" - if (global.flag[490] == 0) - global.msg[0] = "* (It's too dark to see near& the walls.)/%%" -} -if (room == room_truelab_prepower) -{ - global.msg[0] = "* (Seems to be turned off.)/%%" - if (global.flag[485] == 1) - { - global.msg[0] = "* ENTRY NUMBER 8/" - global.msg[1] = "* I've chosen a candidate./" - global.msg[2] = "* I haven't told ASGORE yet^1,& because I want to surprise& him with it.../" - global.msg[3] = "* In the center of his& garden^1, there's something& special./" - global.msg[4] = "* The first golden flower^1,& that grew before all the& others./" - global.msg[5] = "* The flower from the outside& world./" - global.msg[6] = "* It appeared just before& the queen left./" - global.msg[7] = "* I wonder.../" - global.msg[8] = "* What happens when something& without a SOUL gains& the will to live?/%%" - } -} -if (room == room_truelab_elevatorinside) - global.msg[0] = "* (None of the buttons work.^1)&* (It seems to have lost power.)/%%" -if (room == room_castle_elevatorout) - global.msg[0] = "* (The door is jammed shut& with vines.)/%%" -if (room == room_truelab_castle_elevator) - global.msg[0] = "* (Seems like another elevator& has lost its power.)/%%" -if (room == room_tundra_grillby) - global.msg[0] = "* (The jukebox is broken.)/%%" -if (room == room_water_blookyard) - global.msg[0] = "* (It's locked.)/%%" -if (room == room_tundra_sansroom) - global.msg[0] = "* (It's a worn mattress.^1)&* (The sheets are bunched up in a& weird^1, creasy ball.)/%%" -if (room == room_tundra_sansbasement) -{ - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (He looks happy.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (... and^1, one photo of you& standing with Sans and all& your friends.)/" - global.msg[3] = "* (He looks happy.)/%%" - } - if (global.flag[279] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of..^1. Huh?)/" - global.msg[2] = "* (A card is sticking out from& the back flap of the binder.)/" - global.msg[3] = "* (It's a poorly drawn picture& of three smiling people.^1)&* (Written on it...)/" - global.msg[4] = "* " + chr(34) + "don't forget." + chr(34) + "/%%" - } -} -if (room == room_fire_pacing) -{ - global.msg[0] = "* (It's a poster for Mettaton's& latest stage performance.)/" - global.msg[1] = "* (A tragic tale of two star-& crossed lovers^1, kept apart& by the tides of fate...)/" - global.msg[2] = "* (Looks like it's almost time& for the performance.)/%%" -} -if (room == room_fire_hoteldoors) - global.msg[0] = "* (It's locked from the inside.)/%%" -if (room == room_fire_hotellobby) -{ - global.msg[0] = "* (There's an inscription on& this fountain.)/" - global.msg[1] = "* Royal Memorial Fountain&* Built 201X&* (Mettaton Added Last Week)/%%" -} -if (room == room_fire_restaurant) -{ - global.msg[0] = "* (It's a Wall of Fame full of& quotes and photos from visiting& celebrities.)/" - global.msg[1] = "* " + chr(34) + "The food is to die for!^1" + chr(34) + "&* " + chr(34) + "Gorgeous style and fragrance!^1" + chr(34) + "&* " + chr(34) + "My face tastes beautiful!" + chr(34) + "/" - global.msg[2] = "* (... these are all Mettaton.)/%%" -} -if (room == room_fire_hotelbed) -{ - global.msg[0] = "* (It's a lamp.^1)&* (There's no lightswitch.)/" - global.msg[1] = "* (It says that stars make& their own light...)/%%" -} -if (room == room_water_temvillage) - global.msg[0] = "* (Rich history of Tem.)/%%" -read += 1 -if (cantalk == 1) - mydialoguer = instance_create(0, 0, obj_dialoguer) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index d03c73c02..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - draw_set_font(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, "Exit") - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if keyboard_check_pressed(vk_return) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - draw_set_font(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (keyboard_check_pressed(vk_return) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_truechara_Step_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_truechara_Step_0.gml deleted file mode 100644 index 0b3663c04..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_truechara_Step_0.gml +++ /dev/null @@ -1,192 +0,0 @@ -if (con == 1) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Greetings./" - global.msg[1] = (("I^2 am " + global.charname) + "./%%") - instance_create(220, 320, OBJ_WRITER) - con = 2 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - caster_loop(ch_sfx1, 1, 1) - con = 3 - alarm[4] = 60 -} -if (con == 4) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Thank you./" - global.msg[1] = "Your power awakened&me from death./" - global.msg[2] = 'My "human soul."/' - global.msg[3] = 'My "determination."/' - global.msg[4] = "They were not mine^1,&but YOURS./" - global.msg[5] = "At first^1, I&was so confused./" - global.msg[6] = "Our plan had failed^1,&hadn't it?/" - global.msg[7] = "Why was I brought&back to life?/" - global.msg[8] = ".../" - global.msg[9] = "You./" - global.msg[10] = "With your guidance./" - global.msg[11] = "I realized the purpose&of my reincarnation./" - global.msg[12] = "Power./" - global.msg[13] = "Together^1, we eradicated&the enemy and became&strong./" - global.msg[14] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[15] = "Every time a number&increases^1, that&feeling.../" - global.msg[16] = "That's me./" - global.msg[17] = (('"' + global.charname) + '."/') - global.msg[18] = "Now./" - global.msg[19] = "Now, we have reached&the absolute./" - global.msg[20] = "There is nothing&left for us here./" - global.msg[21] = "Let us erase this&pointless world^1, and&move on to the next./%%" - if file_exists("system_information_963") - { - global.msg[0] = (('"' + global.charname) + '."/') - global.msg[1] = "The demon that comes&when people call&its name./" - global.msg[2] = "It doesn't matter when./" - global.msg[3] = "It doesn't matter where./" - global.msg[4] = "Time after time,&I will appear./" - global.msg[5] = "And, with your help./" - global.msg[6] = "We will eradicate the&enemy and become&strong./" - global.msg[7] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[8] = "Every time a number&increases^1, that&feeling.../" - global.msg[9] = "That's me./" - global.msg[10] = (('"' + global.charname) + '."/') - global.msg[11] = ".../" - global.msg[12] = "But./" - global.msg[13] = "You and I are not&the same^1, are we?/" - global.msg[14] = "This SOUL resonates&with a strange&feeling./" - global.msg[15] = "There is a reason&you continue to&recreate this world./" - global.msg[16] = "There is a reason&you continue to&destroy it./" - global.msg[17] = "You./" - global.msg[18] = "You are wracked with&a perverted&sentimentality./" - global.msg[19] = "Hmm./" - global.msg[20] = "I cannot understand&these feelings&any more./" - global.msg[21] = "Despite this./" - global.msg[22] = "I feel obligated to&suggest./" - global.msg[23] = "Should you choose to&create this world&once more./" - global.msg[24] = "Another path would&be better suited./" - global.msg[25] = "Now, partner./" - global.msg[26] = "Let us send this&world back into the&abyss./%%" - } - instance_create(150, 320, OBJ_WRITER) - con = 5 -} -if (con == 5 && instance_exists(OBJ_WRITER) == 0) -{ - con = 6 - alarm[4] = 30 -} -if (con == 7) -{ - con = 8 - choicer = 1 -} -if (con == 20) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Right^1. You are a&great partner./" - global.msg[1] = "We'll be together&forever^1, won't we?/%%" - con = 22 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 22 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - sprite_index = spr_truechara_weird -} -if (con == 22 && instance_exists(OBJ_WRITER) == 0) - con = 60 -if (con == 30) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "No...?/" - global.msg[1] = "Hmm.../" - global.msg[2] = "How curious./" - global.msg[3] = "You must have&misunderstood./" - global.msg[4] = "SINCE WHEN WERE YOU&THE ONE IN CONTROL?/%%" - if file_exists("system_information_963") - { - global.msg[0] = "No...?/" - global.msg[1] = "Hmm...&This feeling you have./" - global.msg[2] = "This is what I&spoke of./" - global.msg[3] = "Unfortunately,®arding this.../" - global.msg[4] = "YOU MADE YOUR CHOICE&LONG AGO./%%" - } - con = 31 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 31 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 4) - sprite_index = spr_truechara_weird -} -if (con == 31 && instance_exists(OBJ_WRITER) == 0) - con = 40 -if (con == 40) -{ - caster_stop(-3) - caster_play(ch_sfx2, 1, 0.95) - sprite_index = spr_truechara_laugh - image_speed = 0.5 - con = 41 - flashred = 1 - alarm[4] = 120 - wx = 0 - wy = 0 - if (global.osflavor == 1) - { - window_set_fullscreen(false) - window_set_caption(" ") - window_center() - wx = window_get_x() - wy = window_get_y() - } -} -if (con == 41) -{ - x = (((room_width / 2) + random(4)) - random(4)) - y = (((room_height / 2) + random(4)) - random(4)) - image_xscale += 0.08 - image_yscale += 0.08 - if (global.osflavor == 1) - window_set_position(((wx + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4))), ((wy + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4)))) -} -if (con == 42) -{ - con = 60 - if (global.osflavor == 1) - window_center() - flashred = 0 -} -if (con == 60) -{ - caster_free(-3) - snd_play(snd_laz) - image_speed = 0 - image_index = 0 - sprite_index = spr_strike - image_xscale = 5 - image_yscale = 5 - y = ((room_height / 2) - (sprite_height / 2)) - x = ((room_width / 2) - (sprite_width / 2)) - image_speed = 0.1 - con = 61 -} -if (con == 61) -{ - if (image_index >= 5.5) - { - visible = false - con = 62 - alarm[4] = 40 - } -} -if (con == 63) -{ - snd_play(snd_damage) - instance_create(0, 0, obj_gameshake) - con = 64 -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index f424d711c..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = string("0") - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ccf249543..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6411 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = " " - adder = "\W " - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y " - if (global.flag[22] == 2) - adder = "\p " - } - global.msg[0] = adder - global.msg[0] += (" * " + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += " A" - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += " B" - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += " C" - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = " " - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y " - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p " - } - } - global.msg[0] += " * Spare" - if (global.mercy == 0) - global.msg[0] += "& \W * Flee" - break - case 9: - global.msg[0] = ((" * " + global.itemnameb[0]) + " ") - if (global.item[1] != 0) - global.msg[0] += ("* " + global.itemnameb[1]) - global.msg[0] += " &" - if (global.item[2] != 0) - global.msg[0] += ((" * " + global.itemnameb[2]) + " ") - if (global.item[3] != 0) - global.msg[0] += ("* " + global.itemnameb[3]) - global.msg[0] += " & PAGE 1" - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = ((" * " + global.itemnameb[4]) + " ") - if (global.item[5] != 0) - global.msg[0] += ("* " + global.itemnameb[5]) - global.msg[0] += " &" - if (global.item[6] != 0) - global.msg[0] += ((" * " + global.itemnameb[6]) + " ") - if (global.item[7] != 0) - global.msg[0] += ("* " + global.itemnameb[7]) - global.msg[0] += " & PAGE 2" - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += (("* You recovered " + string(global.item[8])) + " HP!/%") - else - global.msg[0] += "* Your HP was maxed out./%" - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = (("* You bid a quiet farewell& to the " + global.itemname[global.menucoord[1]]) + ".") - if (i == 1) - global.msg[0] = (("* You put the " + global.itemname[global.menucoord[1]]) + "& on the ground and gave it a& little pat.") - if (i == 2) - global.msg[0] = (("* You threw the " + global.itemname[global.menucoord[1]]) + "& on the ground like the piece& of trash it is.") - if (i == 3) - global.msg[0] = (("* You abandoned the & " + global.itemname[global.menucoord[1]]) + ".") - if (i > 3) - global.msg[0] = (("* The " + global.itemname[global.menucoord[1]]) + " was& thrown away.") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = " * I'm outta here." - if (i == 2) - global.msg[0] = " * I've got better to do." - if (i > 3) - global.msg[0] = " * Escaped..." - if (i == 3) - global.msg[0] = " * Don't slow me down." - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = ((((" * Ran away with " + string(global.xpreward[3])) + " EXP& and ") + string(global.goldreward[3])) + " GOLD.") - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = "* (The shadow of the ruins& looms above^1, filling you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins7) - { - global.msg[0] = "* (Playfully crinkling through& the leaves fills you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins12A) - { - global.msg[0] = "* (Knowing the mouse might one& day leave its hole and& get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_ruins19) - global.msg[0] = "* (Seeing such a cute^1, tidy& house in the RUINS gives& you determination.)/%%" - if (global.flag[202] >= 20) - global.msg[0] = "* Determination./%%" - if (room == room_tundra1) - global.msg[0] = "* (The cold atmosphere of a& new land... it fills you& with determination.)/%%" - if (room == room_tundra3) - global.msg[0] = "* (The convenience of that& lamp still fills you& with determination.)/%%" - if (room == room_tundra_spaghetti) - { - global.msg[0] = "* (Knowing the mouse might one& day find a way to heat& up the spaghetti...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = "* (Knowing that dog will& never give up trying to& make the perfect snowdog...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - if (global.flag[55] == 1) - { - global.msg[0] = "* (Snow can always be broken& down and rebuilt into& something more useful.)/" - global.msg[1] = "* (This simple fact fills& you with determination.)/%%" - } - } - if (room == room_tundra_town) - global.msg[0] = "* (The sight of such a friendly& town fills you with& determination.)/%%" - if (room == room_water2) - global.msg[0] = "* (The sound of rushing water& fills you with& determination.)/%%" - if (room == room_water4) - global.msg[0] = "* (A feeling of dread hangs& over you...^1)&* (But you stay determined.)/%%" - if (room == room_water_savepoint1) - { - global.msg[0] = "* (Knowing the mouse might one& day extract the cheese from& the mystical crystal...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_preundyne) - { - global.msg[0] = "* (The sound of muffled rain& on the cavetop...)/" - if (global.flag[86] == 1) - global.msg[0] = "* (The serene sound of a& distant music box...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_trashzone2) - global.msg[0] = "* (The feeling of your socks& squishing as you step& gives you determination.)/%%" - if (room == room_water_trashsavepoint) - { - global.msg[0] = "* (The waterfall here seems& to flow from the& ceiling of the cavern...)/" - global.msg[1] = "* (Occasionally^1, a piece of& trash will flow& through...)/" - global.msg[2] = "* (... and fall into the& bottomless abyss below.)/" - global.msg[3] = "* (Viewing this endless& cycle of worthless& garbage...)/" - global.msg[4] = "* (It fills you with& determination.)/%%" - if (global.flag[91] == 1) - global.msg[0] = "* (Partaking in worthless& garbage fills you& with determination.)/%%" - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = "* (You feel a calming& tranquility^1. You're filled& with determination...)/%%" - if (room == room_water_temvillage) - global.msg[0] = "* (You feel..^1. something.)&* (You're filled with& detemmienation.)/%%" - if (room == room_water_undynefinal) - { - global.msg[0] = "* (The wind is howling^1.&* You're filled with& determination...)/%%" - if (global.flag[99] > 0) - global.msg[0] = "* (The howling wind is& now a breeze^1. This gives& you determination...)/%%" - if (global.flag[350] == 1) - global.msg[0] = "* (The wind has stopped^1.&* You're filled with& determination...)/%%" - } - if (room == room_fire_prelab) - { - global.msg[0] = "* (Seeing such a strange& laboratory in a place like& this...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire6) - global.msg[0] = "* (The wooshing sound of steam& and cogs..^1. it fills you& with determination.)/%%" - if (room == room_fire_savepoint1) - { - global.msg[0] = "* (An ominous structure looms& in the distance...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_mewmew2) - { - global.msg[0] = "* (Knowing the mouse might one& day hack the computerized& safe and get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_fire_hotelfront_1) - global.msg[0] = "* (A huge structure lies north.^1)&* (You're filled with& determination.)/%%" - if (room == room_fire_hotellobby) - global.msg[0] = "* (The relaxing atmosphere& of this hotel..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_branch) - global.msg[0] = "* (The air is filled with& the smell of ozone..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_premett) - { - global.msg[0] = "* (Behind this door must be& the elevator to the King's& castle.)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_savepoint2) - { - global.msg[0] = "* (The smell of cobwebs fills& the air...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& put away.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& tossed inside recklessly.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& placed thoughtfully inside.") - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& grabbed impatiently.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out and held like a& small puppy.") - global.msg[0] += "/%" - break - case 18: - global.msg[0] = "* You can't carry any more./%%" - break - case 19: - global.msg[0] = "* The box is full./%%" - break - case 23: - global.msg[0] = "* You leave the Quiche on the& ground and tell it you'll& be right back./%%" - break - case 30: - global.msg[0] = "* Use the box?& & Yes No \C " - global.msg[1] = " " - global.msg[2] = " " - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = " %%" - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = "* You have no items^1.&* You put a little time into& the box./%%" - if (gx == 1) - global.msg[0] = "* You have no items^1.&* You put a little effort& into the box./%%" - if (gx == 2) - global.msg[0] = "* You have no items^1.&* You put a little feeling& into the box./%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 200: - global.msg[0] = "\W* Howdy^2!&* I'm\Y FLOWEY\W.^2 &* \YFLOWEY\W the \YFLOWER\W!/" - global.msg[1] = "* Hmmm.../" - global.msg[2] = "* You're new to the& UNDERGROUND^2, aren'tcha?/" - global.msg[3] = "* Golly^1, you must be& so confused./" - global.msg[4] = "* Someone ought to teach& you how things work& around here!/" - global.msg[5] = "* I guess little old me& will have to do./" - global.msg[6] = "* Ready^2?&* Here we go!/%%" - break - case 201: - global.msg[0] = "\E2* This way./%%" - global.msg[1] = "%%%" - break - case 202: - global.msg[0] = "\E2* Welcome to your new& home^1, innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of the& RUINS./%%" - break - case 203: - global.msg[0] = "\E2* The RUINS are full of& puzzles./" - global.msg[1] = "* Ancient fusions between & diversions and doorkeys./" - global.msg[2] = "* One must solve them& to move from room to& room./" - global.msg[3] = "* Please adjust yourself to the sight of them./%" - break - case 204: - global.msg[0] = "\E2* To make progress here,^1 & you will need to trigger& several switches./" - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./%" - if (global.flag[6] == 1) - { - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./" - global.msg[2] = "* ... eh^1?&* It seems that the& labelling has worn away./" - global.msg[3] = "* Oh dear./" - global.msg[4] = "* This might be far more& challenging than I& anticipated.../%%" - } - break - case 205: - global.msg[0] = "\E2* The first switch is over& on the wall./%" - break - case 206: - global.msg[0] = "\E1* Do you need some help..^1?&* Press the switch on the wall./" - global.msg[1] = "\E0* Come on^1, you can do it!/%" - break - case 207: - global.msg[0] = "\E2* Go on^1, press the switch& on the left./%" - if (global.flag[6] == 1) - global.msg[0] = "\E2* I believe it was& the switch on the& left./%" - break - case 208: - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/" - global.msg[1] = "\E0* Press the switch that I& labelled for you./%" - if (global.flag[6] == 1) - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/%%" - break - case 209: - global.msg[0] = "\E1* You are very curious,^1 & are you not?/" - global.msg[1] = "\E1* Please understand.^2 & \E0I only want the best& for you./%" - break - case 210: - global.msg[0] = "\E0* Splendid!^2 &* I am proud of you,^1 & little one./" - global.msg[1] = "* Let us move to the& next room./%" - break - case 211: - global.msg[0] = "\E1* As a human living in& the UNDERGROUND,^1 & monsters may attack you./" - global.msg[1] = "\E2* You will need to be& prepared for this& situation./" - global.msg[2] = "\E0* However, worry not!^2 &* The process is simple./" - global.msg[3] = "\E2* When you encounter a & monster,^1 you will enter& a FIGHT./" - global.msg[4] = "* While you are in a& FIGHT^1, strike up a& friendly conversation./" - global.msg[5] = "\E2* Stall for time.& I will come to resolve& the conflict./" - global.msg[6] = "\E2* Practice talking to& the dummy./%" - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = "\E1* Ahh,^1 the dummies are& not for fighting!^2 &* They are for talking!/" - global.msg[1] = "* We do not want to hurt& anybody, do we...?^2 \E0 &* Come now./%" - } - if (global.flag[10] == 1) - global.msg[0] = "\E0* Ah,^1 very good!^2 &* You are very good./%" - if (global.flag[11] == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E1* ... you ran away.../" - global.msg[2] = "\E0* Truthfully^1, that was& not a poor choice./" - global.msg[3] = "\E0* It is better to& avoid conflict& whenever possible./" - global.msg[4] = "\E1* That..^1. however^1, is& only a dummy^2.&* It cannot harm you./" - global.msg[5] = "\E1* It is made of cotton^1.&* It has no desire& for revenge.../" - global.msg[6] = "\E0* Nevermind^2.&* Stay close to me and& I will keep you safe./%" - } - if (global.flag[13] == 1) - { - global.msg[0] = "\E3* ^1.^1.^1./" - global.msg[1] = "\E4* ^1.^1.^1./" - global.msg[2] = "\E0* The next room awaits./%" - } - break - case 213: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E2 &* I do not think the dummy& will be bothered./%" - break - case 214: - global.msg[0] = "\E0* Do you need some& ideas for conversation& topics?/" - global.msg[1] = "* Well^1, I often start with& a simple 'how do you& do...'/" - global.msg[2] = "* You could ask them about& their favorite books.../" - global.msg[3] = "* Jokes can be useful for& 'breaking the ice.'/" - global.msg[4] = "* Listen to this one.../" - global.msg[5] = "* What did the skeleton& tile his roof with?/" - global.msg[6] = "* ... SHIN-gles!/" - global.msg[7] = "\E1* .../" - global.msg[8] = "\E0* Well^1, I thought it& was amusing./%" - break - case 215: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E0 &* The dummy will not& be bothered./%" - break - case 216: - global.msg[0] = "\E1* There is another puzzle& in this room.../" - global.msg[1] = "\E0* I wonder if you can& solve it?/%" - break - case 217: - global.msg[0] = "\E1* This is the puzzle^1,& but.../" - global.msg[1] = "\E0* Here^1, take my hand& for a moment./%" - break - case 218: - global.msg[0] = "\E1* Puzzles seem a little& too dangerous for& now./%" - break - case 219: - global.msg[0] = ".../%" - break - case 220: - global.msg[0] = "\E2* Greetings,^1 my child^2.&* Do not worry^1, I did& not leave you./" - global.msg[1] = "\E0* I was merely behind this& pillar the whole time./" - global.msg[2] = "* Thank you for trusting& me./" - global.msg[3] = "\E2* However^1, there was an& important reason for& this exercise./" - global.msg[4] = "* ... to test your& independence./" - global.msg[5] = "\E1* I must attend to some& business^1, and you must& stay alone for a while./" - global.msg[6] = "\E0* Please remain here^2.&*\E1 It's dangerous to& explore by yourself./" - global.msg[7] = "\E0* I have an idea^2.&* I will give you a& CELL PHONE./" - global.msg[8] = "* If you have a need for& anything^1, just call./" - global.msg[9] = "\E1* Be good^1, alright?/%" - break - case 221: - global.msg[0] = "\E0* You have done& excellently thus& far^1, my child./" - global.msg[1] = "\E2* However... I have a& difficult request to ask& of you./" - global.msg[2] = "* .../" - global.msg[3] = "* I would like you to walk& to the end of the room& by yourself./" - global.msg[4] = "\E1* Forgive me for this./%" - break - case 222: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?& Cinnamon Bscotch \C" - global.msg[5] = " " - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ini_close() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - global.msg[0] = "* Oh^1, I see.&* Thank you very much!/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* Click.../%%" - global.msg[5] = "* /" - break - case 224: - global.msg[0] = "* It's a fishing rod affixed& to the ground.../" - global.msg[1] = "* Reel it in?& & Yes No \C " - global.msg[2] = " " - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = "* All that's attached to& the end is a photo of a& weird-looking monster.../" - global.msg[1] = "* (Call Me!& Here's my number!)/" - global.msg[2] = "* You decide not to call./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* All that's attached to& the end is a note./" - global.msg[1] = "* (Nevermind^1, guys!)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* You leave it alone./%%" - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = "* I shouldn't have given myself& away so easily.../%%" - if (global.flag[56] == 4) - { - global.msg[0] = "* Did you just...&* Consume the part of me& I had given you?/" - global.msg[1] = "* In front of my very eyes!?/" - global.msg[2] = "* I have no words for you..^1.&* Begone!/%%" - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = "* Thank you for taking care& of me.../%%" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = "* Huh^1? Again...?/" - global.msg[1] = "* I'm sorry..^1. if I give you& any more^1, there will be& nothing left of me./" - global.msg[2] = "* I suppose it is true^1.&* Travelling beyond our limits& is but a fantasy./" - global.msg[3] = "* It's no different for& anyone else./" - global.msg[4] = "* All of monsterkind& are doomed to stay& underground^1, forever.../%%" - } - } - if (global.flag[56] == 1) - { - global.msg[0] = "* How am I doing^1?&* By " + chr(34) + "I" + chr(34) + " I mean the piece& of me I gave you.../" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = "* Huh^1? You lost it...^1?&* ... I suppose I can give& you another piece.../" - scr_itemget(16) - if (noroom == 1) - global.msg[2] = "* You don't have any room^1?&* OK..^1. I understand I am not& a priority for you^1, then./%%" - else - { - global.msg[2] = "* Please be careful this& time./" - global.msg[3] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = "* Hello^1.&* I am a snowman./" - global.msg[1] = "* I want to see the world..^1.&* But I cannot move./" - global.msg[2] = "* If you would be so kind^1,& traveller^1, please.../" - global.msg[3] = "* Take a piece of me and& bring it very far away.& Yes No \C " - global.msg[4] = " " - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = "* It seems you do not& have enough room for me./%%" - else - { - global.msg[0] = "* Thank you... good luck!/" - global.msg[1] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* I see^1.&* Good journey^1, then./%%" - break - case 228: - global.msg[0] = "SANS!!^1!&THAT DIDN'T DO&ANYTHING!/" - if (global.flag[254] == 0) - global.msg[0] = "SANS!!^1!&THEY DIDN'T EVEN&LOOK AT IT!/" - scr_sansface(1, 0) - global.msg[2] = "* whoops./" - global.msg[3] = "* i knew i should have& used today's crossword& instead./" - scr_papface(4, 1) - global.msg[5] = "WHAT!^1?&CROSSWORD!?/" - global.msg[6] = "I CAN'T BELIEVE&YOU SAID THAT!!/" - global.msg[7] = "IN MY OPINION.../" - global.msg[8] = "\E3JUNIOR JUMBLE&IS EASILY THE&HARDEST./" - scr_sansface(9, 0) - global.msg[10] = "* what^1? really^1, dude^1?&* that easy-peasy word& scramble?/" - global.msg[11] = "\E1* that's for baby bones./" - scr_papface(12, 3) - global.msg[13] = "UN^1. BELIEVABLE./" - global.msg[14] = "\E0HUMAN!!^1!&SOLVE THIS DISPUTE!/" - global.msg[15] = "\TS \F0 \E0 \T0 %" - global.msg[16] = "* (Which is harder?)& & Jumble Crossword \C " - global.msg[17] = " " - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = "HA^1! HA^1! YES!/" - global.msg[2] = "HUMANS MUST BE&VERY INTELLIGENT!/" - global.msg[3] = "IF THEY ALSO FIND&JUNIOR JUMBLE&SO DIFFICULT!/" - global.msg[4] = "NYEH^1! HEH^1! HEH HEH!/%%" - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = "YOU TWO ARE WEIRD!/" - global.msg[2] = "\E3CROSSWORDS ARE SO&EASY./" - global.msg[3] = "IT'S THE SAME&SOLUTION EVERY&TIME./" - global.msg[4] = "\E0I JUST FILL ALL&THE BOXES IN WITH&THE LETTER " + chr(34) + "Z" + chr(34) + ".../" - global.msg[5] = "BECAUSE EVERY TIME&I LOOK AT A&CROSSWORD.../" - global.msg[6] = "ALL I CAN DO IS&SNORE!!!/" - global.msg[7] = "NYEH HEH HEH!!!/%%" - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here you go^1!&* Have a super-duper day^1!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1?&* You don't have enough& money.../" - global.msg[1] = "* I wish I could make& Nice Cream for free.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Out in the middle of& the woods.../%%" - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hey^1, you have an umbrella^1,& just like my cart.../" - global.msg[1] = "* Such solidarity^1!&* I have no choice but to& give you a deal!/" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Umbrella solidarity!^1?&* I guess I have to give& you a deal.../" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - } - if (itemcount > 2) - { - global.msg[0] = "* Hey^1!&* You have 3 Punch Cards!/" - global.msg[1] = "* How about redeeming them& for some Nice Cream!?/" - global.msg[2] = "* It's free!& & Yes No \C" - global.msg[3] = " " - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Super^1! Here you go^1!&* Your Card's in the box!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1? No money^1?&* Sorry^1, I can't give it to& you for free./%%" - if (global.flag[85] == 1) - global.msg[0] = "* Huh^1? You can't afford it& even with the discount^1?&* I.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = "* Here^1! A free Nice Cream^1!&* (You lost 3 cards and got& a Nice Cream.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Hidden in the depths of a& watery cavern.../%%" - } - break - case 235: - global.msg[0] = "* i've been thinking& about selling treats& too./" - global.msg[1] = "* want some fried snow^1?&* it's just 5G.& Buy No\C" - global.msg[2] = " " - break - case 236: - if (global.choice == 0) - { - global.msg[0] = "* did i say 5G^1?&* i meant 50G^1.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* i should charge way& more than than that./%%" - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = "* really^1?&* how about 5000G?& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* that's still too low./%%" - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = "* 50000G^1.&* that's my final offer.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* i have to pay for& the raw materials& somehow./%%" - break - case 239: - if (global.choice == 0) - { - global.msg[0] = "* what^1?&* you don't have the& money?/" - global.msg[1] = "* hey^1, that's okay./" - global.msg[2] = "\E1* i don't have any snow./%%" - if (global.gold >= 50000) - { - global.msg[0] = "* wow^1, that's a lot& of cash./" - global.msg[1] = "\E3* that's why i'm sorry& to say.../" - global.msg[2] = "\E3* i can't sell you& this fried snow./" - global.msg[3] = "\E2* it's got too much& sentimental value./%%" - } - } - if (global.choice == 1) - global.msg[0] = "* don't you know a& good deal when you& hear one?/%%" - break - case 240: - global.msg[0] = "WHAT!^1?&HOW DID YOU&AVOID MY TRAP?/" - global.msg[1] = "\E3AND^1, MORE&IMPORTANTLY.../" - global.msg[2] = "\E0IS THERE ANY&LEFT FOR ME???/" - global.msg[3] = "\TS \F0 \E0 \T0 %" - global.msg[4] = "* (What do you tell Papyrus& about his spaghetti?)& Ate it Left it \C " - global.msg[5] = " " - break - case 241: - scr_papface(0, 0) - global.msg[1] = "REALLY!?/" - if (global.choice == 0) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "NO ONE'S EVER&ENJOYED MY&COOKING BEFORE.../" - global.msg[4] = "\E0WELL THEN!!/" - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "YOU RESISTED THE&FLAVOR OF MY&HOMECOOKED PASTA.../" - global.msg[4] = "JUST SO YOU&COULD SHARE&IT WITH ME???/" - global.flag[62] = 2 - } - global.msg[5] = "\E0FRET NOT HUMAN^1!&I^1, MASTER CHEF&PAPYRUS.../" - global.msg[6] = "WILL MAKE YOU ALL&THE PASTA YOU&COULD EVER WANT!/" - global.msg[7] = "HEH HEH HEH HEH&HEH HEH NYEH!/%%" - break - case 243: - global.msg[0] = "HEY!/" - global.msg[1] = "IT'S THE HUMAN!/" - global.msg[2] = "\E0YOU'RE GONNA&LOVE THIS&PUZZLE!/" - global.msg[3] = "IT WAS MADE&BY THE GREAT&DR. ALPHYS!/" - global.msg[4] = "YOU SEE&THESE TILES&!?/" - global.msg[5] = "ONCE I THROW&THIS SWITCH.../" - global.msg[6] = "THEY WILL&BEGIN TO&CHANGE COLOR!/" - global.msg[7] = "EACH COLOR HAS&A DIFFERENT&FUNCTION!/" - global.msg[8] = "RED TILES ARE&IMPASSABLE!/" - global.msg[9] = "YOU CANNOT&WALK ON THEM!/" - global.msg[10] = "YELLOW TILES&ARE ELECTRIC!/" - global.msg[11] = "THEY WILL&ELECTROCUTE&YOU!/" - global.msg[12] = "GREEN TILES&ARE ALARM&TILES!/" - global.msg[13] = "IF YOU STEP&ON THEM.../" - global.msg[14] = "YOU WILL HAVE&TO FIGHT A&MONSTER!!/" - global.msg[15] = "ORANGE TILES&ARE ORANGE-&SCENTED./" - global.msg[16] = "THEY WILL MAKE&YOU SMELL&DELICIOUS!/" - global.msg[17] = "BLUE TILES ARE&WATER TILES./" - global.msg[18] = "SWIM THROUGH&IF YOU LIKE^1,&BUT.../" - global.msg[19] = "IF YOU SMELL&LIKE ORANGES!/" - global.msg[20] = "THE PIRANHAS&WILL BITE&YOU./" - global.msg[21] = "ALSO^1, IF A&BLUE TILE IS&NEXT TO A,/" - global.msg[22] = "YELLOW TILE^1,&THE WATER WILL&ALSO ZAP YOU!/" - global.msg[23] = "PURPLE TILES&ARE SLIPPERY!/" - global.msg[24] = "YOU WILL SLIDE&TO THE NEXT&TILE!/" - global.msg[25] = "HOWEVER^1, THE&SLIPPERY&SOAP.../" - global.msg[26] = "SMELLS LIKE&LEMONS!!/" - global.msg[27] = "WHICH PIRANHAS&DO NOT LIKE!/" - global.msg[28] = "PURPLE AND&BLUE ARE OK!/" - global.msg[29] = "FINALLY^1,&PINK TILES./" - global.msg[30] = "THEY DON'T DO&ANYTHING./" - global.msg[31] = "STEP ON THEM&ALL YOU LIKE./" - global.msg[32] = "HOW WAS THAT!^1?&UNDERSTAND???/" - global.msg[33] = "\TS \F0 \E0 \T0 %" - global.msg[34] = "* (Understand the explanation?)& & Of course No \C " - global.msg[35] = " " - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "OKAY..^1.&I GUESS I'LL&REPEAT MYSELF.../" - global.msg[2] = "\E0RED TILES ARE&IMPASSABLE./" - global.msg[3] = "YELLOW TILES ARE&ELECTRIC AND&DANGEROUS./" - global.msg[4] = "BLUE TILES MAKE&YOU FIGHT A&MONSTER./" - global.msg[5] = "GREEN TILES ARE&WATER TILES./" - global.msg[6] = "ORANGE TILES ARE&ORANGE SCENTED./" - global.msg[7] = "IF YOU STEP ON&ORANGE^1, DON'T STEP&ON GREEN./" - global.msg[8] = "\E3BROWN TILES ARE.../" - global.msg[9] = "\E1WAIT!!^1!&THERE ARE NO&BROWN TILES.../" - global.msg[10] = "\E0PURPLE TILES&SMELL LIKE&LEMONS.../" - global.msg[11] = "\E3WHY DON'T THE&YELLOW ONES&SMELL LEMONY?/" - global.msg[12] = "\E3UMM.../" - global.msg[13] = "\E1WAIT!^1!&DID I MIX UP&GREEN AND BLUE!?/" - global.msg[14] = "THE BLUE ONES&ARE WATER ONES!/" - global.msg[15] = "\E3PINK TILES.../" - global.msg[16] = "I DON'T..^1.&REMEMBER???/" - global.msg[17] = "\E1WAIT!!!/" - global.msg[18] = "\E3THOSE ONES DON'T&DO ANYTHING./" - global.msg[19] = "\E0OKAY^1!&DO YOU UNDERSTAND&BETTER NOW!?/" - global.msg[20] = "\TS \F0 \E0 \T0 %" - global.msg[21] = "* (Understand the explanation?)& & Yes Even less \C " - global.msg[22] = " " - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "........../" - global.msg[2] = "OK^1, YOU KNOW&WHAT???/" - global.msg[3] = "HOW ABOUT..^1.&YOU JUST.../" - global.msg[4] = "DO THIS PUZZLE..^1.&ON YOUR OWN.../" - global.msg[5] = "I'LL LEAVE THE&INSTRUCTIONS.../" - global.msg[6] = "JUST READ THEM./" - global.msg[7] = "THEN WHEN YOU&UNDERSTAND IT.../" - global.msg[8] = "YOU CAN THROW&THE SWITCH./" - global.msg[9] = "AND DO IT AT&YOUR OWN PACE./" - global.msg[10] = "GOOD LUCK./" - global.msg[11] = "NYEH..^1.&HEH..^1.&HEH!/%%" - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = "* (There's a lone quiche& sitting underneath& this bench.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* It's just a bench./%%" - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Abandoned& Quiche.)/%%" - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = "* (You're carrying too much.)/" - global.msg[1] = "* (You aren't ready for the& responsibility.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* (The quiche was left all& alone...)/%%" - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = "* (There's a tutu lying on& the ground here.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Old Tutu.)/%%" - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = (("* (The box contains " + card) + " cards.)/") - if (global.flag[80] > 2) - global.msg[0] = (("* (Two bugs in the box are& playing a " + card) + "-card game.)/") - if (global.flag[80] > 4) - global.msg[0] = (("* (There's a smiley face made& of " + card) + " cards in the box.)/") - if (global.flag[80] > 6) - global.msg[0] = (("* (A house made of " + card) + " cards& sits in the box.)/") - if (global.flag[80] > 12) - global.msg[0] = "* (The box is overstuffed with& cards.)/" - global.msg[1] = "* (Take a card?)& & Take Leave \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's a box for storing Punch& Cards^1.)&* (It's empty right now.)/%%" - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = "* (You got a Punch Card.)/%%" - if (global.flag[80] > 2) - global.msg[0] = "* (All games must end one day.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 4) - global.msg[0] = "* (Happiness is fleeting.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 6) - global.msg[0] = "* (The house collapses.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 12) - global.msg[0] = "* (You got a Punch Card.)/%%" - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = "* (It's a pair of ballet shoes.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Ballet Shoes.)/%%" - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 254: - global.msg[0] = "* (This little bird wants to& carry you across.)/" - global.msg[1] = "* (Accept the bird's offer?)& & Get ride No \C " - global.msg[2] = " " - if (global.flag[85] == 1) - global.msg[0] = "* (Umbrellas and birds...^1)&* (A bad combination.)/%%" - break - case 255: - global.msg[0] = " %%" - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = "* (It's a legendary artifact.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The artifact is gone.)/%%" - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = "* (This will never happen.)/%%" - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - if (noroom == 2) - global.msg[0] = "* (You're carrying too many& dogs.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/" - global.msg[1] = "* (Take a package of noodles?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/%%" - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Instant Noodles.)/%%" - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* (You decide to stay healthy.)/%%" - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = "* (There's a frypan lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Burnt Pan.)/%%" - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = "* (There's an apron lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Stained Apron.)/%%" - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = "* (There's a Glamburger inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Glamburger.)/%%" - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = "* (There's 100G inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = "* (You got 100G.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = "* (There's a worn dagger& inside the box.)/" - else - global.msg[0] = "* (Knife inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Worn Dagger.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got the Real Knife.)/%%" - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = "* (There's a heart-shaped& locket inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Heart-shaped& Locket.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got The Locket.)/%%" - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 272: - global.msg[0] = "* (The box is empty.)/%%" - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = "* Hello...&* Would you like some& Nice Cream...?/" - global.msg[1] = "* It's the frozen treat...&* That warms your heart./" - global.msg[2] = "* Now only 12G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[250] >= 1) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1.&* It's the frozen treat^1.&* That warms your heart./" - global.msg[2] = "* Now just 12G.& & Yes No \C" - global.msg[3] = " " - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here^1.&* (You got the Nice Cream.)/%%" - if (afford == 0) - global.msg[0] = "* You don't have enough& money.../%%" - } - if (noroom == 1) - global.msg[0] = "* Drop something./%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* Life..^1. is suffering./%%" - } - break - case 500: - global.msg[0] = "* (Golden flowers.^1)&* (They must have& broken your fall.)/%%" - global.msg[1] = "%%%" - break - case 501: - global.msg[0] = "* " + chr(34) + "Press [Z] to read signs!" + chr(34) + "/%%" - break - case 502: - global.msg[0] = "* Just a regular old pillar./%%" - break - case 503: - global.msg[0] = "* Please don't step on the& leaves./%%" - break - case 504: - global.msg[0] = "* Didn't you read the sign& downstairs?/%%" - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* WHOA there^1, pardner^2!&* Who said you could push& me around?/" - global.msg[1] = "* HMM^2?&* So you're ASKIN' me to& move over?/" - global.msg[2] = "* Okay^1, just for you^1,& pumpkin./%%" - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You want me to move some& more?/" - global.msg[1] = "* Alrighty^1, how's this?/%%" - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* That was the wrong direction?/" - global.msg[1] = "* Okay^1, think I got it./%%" - } - if (conversation == 9) - global.msg[0] = "* Was that helpful?/%%" - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You wanted me to STAY there?/" - global.msg[1] = "* You're giving me a real& workout./%%" - } - } - else - { - global.msg[0] = "* Aren't things easier when& you just ask?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* The exit's open^1?&* Guess I better roll out.../" - global.msg[1] = "* Hey^1, y'mind giving me a& push^1, pumpkin?/%%" - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = "*'Take one.'&* Take a candy?& Yes No \C" - if (global.flag[34] == 0) - global.msg[0] = "* It says 'take one.'&* Take a piece of candy?& Yes No \C" - } - else - global.msg[0] = "* Look at what you've done./%%" - global.msg[1] = " " - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = "* You took a piece of candy.&* (Press [C] to open the menu.)/%%" - if (global.flag[34] == 2) - global.msg[0] = "* You took more candy^1.&* How disgusting../%%" - if (global.flag[34] == 3) - global.msg[0] = "* You take another piece.&* You feel like the& scum of the earth.../%%" - if (global.flag[34] == 4) - global.msg[0] = "* You took too much too fast.&* The candy spills onto& the floor./%%" - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = "* In this hellish world^1, you& can only take 3 pieces& of candy.../%%" - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - } - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 510: - global.msg[0] = "* zzzzzzzzzzzzzzz..^1.&* zzzzzzzzzzzzzz.../" - global.msg[1] = "* zzzzzzzzzz..^1.&* (are they gone yet^1)&* zzzzzzzzzzzzzzz.../" - global.msg[2] = "* (This ghost keeps saying 'z'& out loud repeatedly^1,& pretending to sleep.)/" - global.msg[3] = "* Move it with force?& & Yes No \C" - global.msg[4] = " " - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = "* It says 'Take them all.'&* Take a candy?& Yes No \C" - global.msg[1] = " " - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = "* You took a piece.&* Boy^1, that's heavy./%%" - if (haveit == 1) - global.msg[0] = "* You can't carry more.&* It's just too heavy./%%" - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 7G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 18G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = "* You found a Faded Ribbon./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = "* Nothing happened./%%" - if (global.choice == 1) - global.msg[0] = "%%" - if (global.flag[43] > 25) - global.msg[0] = "* You're making the switches& uncomfortable with all& this attention./%%" - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = "* You hear a clicking sound./%%" - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = "* You found the Toy Knife./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = "* It's TORIEL's diary.&* Read the circled passage?& Yes No \C" - global.msg[1] = " " - break - case 525: - if (global.choice == 0) - { - global.msg[0] = "* You read the passage.../" - global.msg[1] = "* " + chr(34) + "Why did the skeleton want& a friend?" + chr(34) + "/" - global.msg[2] = "* " + chr(34) + "Because she was feeling& BONELY..." + chr(34) + "/" - global.msg[3] = "* The rest of the page is& filled with jokes of& a similar caliber./%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& butterscotch-cinnamon& pie./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& snail pie.../%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - break - case 527: - global.msg[0] = "* Hello there^1,& little one!/" - global.msg[1] = "* The pie has not& cooled down yet./" - global.msg[2] = "* Perhaps you should& take a nap.& Yes No \C " - global.msg[3] = " " - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = "* Sweet dreams./%%" - else - { - global.msg[0] = "\E1* You'd rather stay& up and chat with& me^1, then?/" - if (global.flag[103] > 0) - global.msg[0] = "* Up already^1, I see?/" - global.msg[1] = "\E0* Um^1, I want you to know& how glad I am to& have someone here./" - global.msg[2] = "* There are so many& old books I want& to share./" - global.msg[3] = "* I want to show you& my favorite bug-& hunting spot./" - global.msg[4] = "* I've also prepared& a curriculum for& your education./" - global.msg[5] = "* This may come as& a surprise to you.../" - global.msg[6] = "* But I have always& wanted to be a& teacher./" - global.msg[7] = "\E1* ... actually^1, perhaps& that isn't very& surprising./" - global.msg[8] = "\E5* STILL./" - global.msg[9] = "\E0* I am glad to have& you living here./" - global.msg[10] = "\E1* Oh^1, did you& want something?/" - global.msg[11] = "* What is it?& When can& Nothing I go home?\C " - global.msg[12] = " " - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = "* Well^1, talk to me& again if you& need anything./%%" - else - { - global.msg[0] = "\E1* What^1?&* This..^1. this IS your& home now./" - global.msg[1] = "* Um..^1. would you like& to hear about this& book I am reading?/" - if (global.choice == -1) - { - global.msg[0] = "\E0* Oh^1, hello!/" - global.msg[1] = "* Did you want to& hear about the& book I am reading?/" - } - global.msg[2] = "\E0* It is called& " + chr(34) + "72 Uses for Snails." + chr(34) + "/" - global.msg[3] = "* How about it?& How to exit& Sure the RUINS\C " - global.msg[4] = " " - } - break - case 530: - global.plot = 19.3 - global.msg[0] = "* Here is an exciting& snail fact./" - if (global.choice == 1) - global.msg[0] = "\E1* Um^1.^1.^1.&*\E0 How about an exciting& snail fact?/" - global.msg[1] = "\E2* Did you know& that snails.../" - r = round(random(3)) - if (r == 0) - global.msg[2] = "\E0* Have a chainsaw-like& tongue called a& radula?/" - if (r == 1) - global.msg[2] = "\E0* Sometimes flip their& digestive systems& as they mature?/" - if (r == 2) - global.msg[2] = "\E0* Make terrible& shoelaces?/" - if (r == 3) - global.msg[2] = "\E0* Talk^2. Really^2. Slowly^2?&* Just kidding^1, snails& don't talk./" - global.msg[3] = "\E0* Interesting.& How to exit& Yeah the RUINS\C " - global.msg[4] = " " - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = "* Well^1, bother me& if you need anything& else./%%" - else - { - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something^1.&* Stay here./%%" - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = "\E0* What is it?& How to exit& Nothing the RUINS\C " - } - global.msg[1] = " " - break - case 532: - if (global.choice == 0) - global.msg[0] = "* If you need anything^1,& just ask./%%" - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something.&* Stay here./%%." - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = " " - break - case 540: - global.msg[0] = "\E2NYOO HOO HOO.../" - global.msg[1] = "I CAN'T EVEN&STOP SOMEONE AS&WEAK AS YOU.../" - global.msg[2] = "UNDYNE'S GOING TO&BE DISAPPOINTED&IN ME./" - global.msg[3] = "I'LL NEVER JOIN THE&ROYAL GUARD..^1.&AND.../" - global.msg[4] = "MY FRIEND QUANTITY&WILL REMAIN&STAGNANT!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (What should you say?)& Let's be What a& friends loser\C" - global.msg[7] = " " - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = "\E0WOWIE!^1!&YOU DID IT!!!/" - global.msg[1] = "YOU DIDN'T DO A&VIOLENCE!!!/" - global.msg[2] = "\E5TO BE HONEST^1,&I WAS A LITTLE&AFRAID.../" - global.msg[3] = "\E0BUT YOU'RE ALREADY&BECOMING A GREAT&PERSON!/" - global.msg[4] = "\E7I'M SO PROUD I&COULD CRY!!!/" - global.msg[5] = "\E3... WAIT^1, WASN'T I&SUPPOSED TO&CAPTURE YOU...?/" - global.msg[6] = "\E0WELL^1, FORGET IT!/" - global.msg[7] = "I JUST WANT YOU&TO BE THE BEST&PERSON YOU CAN BE./" - global.msg[8] = "SO LET'S LET&BYBONES BE&BYBONES./" - global.msg[9] = "I'LL EVEN TELL YOU&HOW TO LEAVE THE&UNDERGROUND!/" - global.msg[10] = "JUST KEEP GOING&EAST!/" - global.msg[11] = "EVENTUALLY YOU'LL&REACH THE KING'S&CASTLE./" - global.msg[12] = "THEN YOU CAN&LEAVE!/%%" - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "REALLY!^1?&YOU WANT TO BE&FRIENDS^1, WITH ME???/" - global.msg[2] = "WELL THEN.../" - global.msg[3] = "\E0I GUESS..^1./" - global.msg[4] = "I GUESS&I CAN MAKE AN&ALLOWANCE FOR YOU!/" - global.msg[5] = " %" - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "HUH^1?&WHY WOULD YOU.../" - global.msg[2] = "BERATE YOURSELF&SO LOUDLY???/" - global.msg[3] = "IS IT BECAUSE.../" - global.msg[4] = "\E3YOU DON'T THINK&YOU'RE GOOD ENOUGH&TO BE MY FRIEND?/" - global.msg[5] = "\E0NO!!^1!&YOU'RE GREAT!!^1!&I'LL BE YOUR FRIEND!/" - } - if (global.flag[66] == 1) - { - global.msg[6] = "WOWIE!^1!&WE HAVEN'T EVEN HAD&OUR FIRST DATE.../" - global.msg[7] = "AND I'VE ALREADY&MANAGED TO HIT&THE FRIEND ZONE!!!/" - global.msg[8] = "WHO KNEW THAT&ALL I NEEDED TO&MAKE PALS.../" - } - else - { - global.msg[6] = "WOW!!!/" - global.msg[7] = "I HAVE FRIENDS!!!/" - global.msg[8] = "AND WHO KNEW THAT&ALL I NEEDED TO&MAKE THEM.../" - } - global.msg[9] = "WAS TO GIVE PEOPLE&AWFUL PUZZLES AND&THEN FIGHT THEM??/" - global.msg[10] = "YOU TAUGHT ME A&LOT^1, HUMAN./" - global.msg[11] = "I HEREBY GRANT&YOU PERMISSION&TO PASS THROUGH!/" - global.msg[12] = "AND I'LL GIVE&YOU DIRECTIONS&TO THE SURFACE./" - global.msg[13] = "CONTINUE FORWARD&UNTIL YOU REACH THE&END OF THE CAVERN./" - global.msg[14] = "\WTHEN..^1. WHEN YOU&REACH THE CAPITAL^1,&CROSS \YTHE BARRIER\W./" - global.msg[15] = "THAT'S THE MAGICAL&SEAL TRAPPING US&ALL UNDERGROUND./" - global.msg[16] = "ANYTHING CAN ENTER&THROUGH IT^1, BUT&NOTHING CAN EXIT.../" - global.msg[17] = "... EXCEPT SOMEONE&WITH A POWERFUL&SOUL./" - global.msg[18] = "... LIKE YOU!!!/" - global.msg[19] = "THAT'S WHY THE&KING WANTS TO&ACQUIRE A HUMAN./" - global.msg[20] = "HE WANTS TO OPEN&THE BARRIER WITH&SOUL POWER./" - global.msg[21] = "THEN US MONSTERS&CAN RETURN TO&THE SURFACE!/%%" - break - case 544: - global.msg[0] = "YOU'RE BACK AGAIN?!?!/" - global.msg[1] = "I FINALLY REALIZE&THE TRUE REASON WHY./" - global.msg[2] = "YOU.../" - global.msg[3] = "JUST MISS SEEING MY&FACE SO MUCH.../" - global.msg[4] = "I'M NOT SURE I&CAN FIGHT SOMEONE&WHO FEELS THIS WAY./" - global.msg[5] = "BUT MOSTLY..^1. I'M GETTING&REALLY TIRED OF&CAPTURING YOU!/" - global.msg[6] = "SO..^1.&WHAT DO YOU SAY?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* (Fight Papyrus?)& & Yes No\C" - global.msg[8] = " " - break - case 545: - global.msg[0] = "\TP %" - if (global.choice == 0) - { - global.msg[1] = "OKAY.../" - global.msg[2] = "I GUESS./" - global.msg[3] = "IF YOU WANT ME TO&CAPTURE YOU./" - global.msg[4] = "I'LL TRY AGAIN!!!/%%" - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = "... OKAY.../" - global.msg[2] = "I GUESS I'LL ACCEPT&MY FAILURE.../%%" - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = "* Welcome to Snowed Inn^1!&* Snowdin's premier hotel!/" - global.msg[1] = "* One night is 80G.& & Stay Leave\C" - if (global.flag[72] == 2) - { - global.msg[0] = "* Back again^1?&* Well^1, stay as long as you& like./" - global.msg[1] = "* How about it?& & Stay Leave\C" - } - global.msg[2] = " " - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = "* What^1?&* No^1, you can't get a& second key!" - if (global.flag[7] == 1) - { - global.msg[0] = "* Hello^1!&* Sorry^1, no time for a& nap.../" - global.msg[1] = "* Snowed Inn is shutting& down so we can all go& to the surface./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Oh^1, there you are^1.&* I was worrying about& you!/" - global.msg[1] = "* Things are going to be OK^1,& you hear?/" - global.msg[2] = "* We're all going to the& surface world soon.../" - global.msg[3] = "* There's bound to be a& place you can stay there!/%%" - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = "Error./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = "* ... You don't even have 80G?/" - global.msg[1] = "* Oh^1! You poor thing^1.&* I can only imagine what& you've been through./" - global.msg[2] = "* One of the rooms upstairs& is empty^1./" - global.msg[3] = "* You can sleep there for& free^1, okay?/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = "* You aren't carrying enough& money./%%" - } - else - global.msg[0] = "* Well^1, feel free to come& back any time./%%" - break - case 549: - global.msg[0] = "* (Look through the telescope?)& & Yes No\C" - global.msg[1] = " " - break - case 550: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = "* i'm thinking about& getting into the& telescope business./" - global.msg[1] = "* it's normally 50000G& to use this premium& telescope.../" - global.msg[2] = "* but..^1.&*\E1 since i know you^1,& you can use it for free./" - global.msg[3] = "\E2* howzabout it?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Use the telescope?)& & Yes No\C" - } - else - { - global.msg[0] = "* huh^1?&* you aren't satisfied?/" - global.msg[1] = "\E1* don't worry./" - global.msg[2] = "\E2* i'll give you a& full refund./%%" - } - global.msg[6] = " " - break - case 552: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = "* well^1, come back& whenever you want./%%" - } - break - case 553: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - global.flag[75] = global.armor - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "\E3HOW DID I GET THIS&NUMBER...?/" - global.msg[4] = "\E0IT WAS EASY!!!/" - global.msg[5] = "\E0I JUST DIALED EVERYNUMBER SEQUENTIALLYUNTIL I GOT YOURS!!!/" - global.msg[6] = "NYEH HEH HEH HEH!!/" - global.msg[7] = "\E2SO..^1.&WHAT ARE YOU&WEARING...?/" - global.msg[8] = "\E3I'M..^1.&ASKING FOR A&FRIEND./" - global.msg[9] = (("\E0SHE THOUGHT SHE&SAW YOU WEARING A&" + armor) + "./") - global.msg[10] = (("\E3IS THAT TRUE^1?&ARE YOU WEARING A&" + armor) + "?/") - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* (What will you say?)& & Yes No\C" - global.msg[13] = " " - break - case 554: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = (("SO YOU ARE WEARING&A " + armor) + ".../") - global.msg[2] = "GOT IT!!^1!&WINK WINK!!!/" - global.msg[3] = "HAVE A NICE DAY!/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - } - else - { - global.flag[76] = 1 - global.msg[1] = (("SO YOU AREN'T&WEARING A&" + armor) + ".../") - global.msg[2] = "GOT IT!/" - global.msg[3] = "YOU'RE MY FRIEND^1,&SO I TRUST YOU&100-PERCENT./" - global.msg[4] = "HAVE A NICE DAY!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - break - case 556: - global.msg[0] = "* (There's an empty pie tin& inside the stove.)/%%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "\E0MY BROTHER ALWAYS&GOES OUT TO EAT^1.&BUT.../" - global.msg[2] = "\E3RECENTLY^1, HE TRIED&'BAKING' SOMETHING./" - global.msg[3] = "IT WAS LIKE..^1.&A QUICHE./" - global.msg[4] = "BUT FILLED WITH A&SUGARY^1, NON-EGG&SUBSTANCE./" - global.msg[5] = "\E0HOW ABSURD!/%%" - } - break - case 557: - global.msg[0] = "* (It's a joke book.)/" - global.msg[1] = "* (Take a look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 558: - if (global.choice == 0) - { - global.msg[0] = "* (Inside the joke book was& a quantum physics book.)/" - global.msg[1] = "* (You look inside...)/" - global.msg[2] = "* (Inside the quantum physics& book was another joke& book.)/" - global.msg[3] = "* (You look inside...)/" - global.msg[4] = "* (There's another quantum& physics book...)/" - global.msg[5] = "* (You decide to stop.)/%%" - } - else - global.msg[0] = " %%" - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THAT'S MY ROOM^1!/" - global.msg[2] = "IF YOU'VE&FINISHED LOOKING&AROUND.../" - global.msg[3] = "WE COULD GO IN&AND.../" - global.msg[4] = "" + chr(34) + "HANG-OUT" + chr(34) + " LIKE&A PAIR OF VERY&COOL FRIENDS?/" - if (global.flag[66] == 1) - global.msg[4] = "\E3DO WHATEVER&PEOPLE DO WHEN&THEY DATE???/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Go inside?)& & Yes No\C" - global.msg[7] = " %" - } - else - { - global.msg[0] = "* (It's the door to& Papyrus's room.)/" - global.msg[1] = "* (It's covered in many& labels...)/" - global.msg[2] = "\TP %" - global.msg[3] = "* (NO GIRLS ALLOWED!)/" - global.msg[4] = "* (NO BOYS ALLOWED!)/" - global.msg[5] = "* (PAPYRUS ALLOWED.)/%%" - } - break - case 560: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THERE ARE NO&SKELETONS INSIDE&MY CLOSET!!!/" - global.msg[2] = "\E3EXCEPT ME&SOMETIMES./" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Look in the closet?)& & Yes No\C" - global.msg[5] = " " - } - else - { - global.msg[0] = "* (Look in the closet?)& & Yes No\C" - global.msg[1] = " " - } - break - case 562: - if (global.choice == 0) - global.msg[0] = "* (Clothes are hung up& neatly inside.)/%%" - else - { - global.msg[0] = " %%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "IT'S OK TO BE&INTIMIDATED BY&MY FASHION SENSE./%%" - } - } - break - case 563: - global.msg[0] = "\E3SO^1, UM.../" - global.msg[1] = "\E3IF YOU'VE SEEN&EVERYTHING.../" - global.msg[2] = "\E2DO YOU WANT TO&START HANGING OUT?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the hangouts?)& & Yes No\C" - global.msg[5] = " " - if (global.flag[66] == 1) - { - global.msg[2] = "\E2DO YOU WANT TO&START THE DATE?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the date?)& & Yes No\C" - global.msg[5] = " " - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = "\E0OKAY!!^1!&DATING START!!!/%%" - if (global.flag[66] == 0) - global.msg[1] = "\E0OKAY!!^1!&LET'S HANG TEN!!/%%" - } - else - { - scr_papface(0, 2) - global.msg[1] = "\E2TAKE YOUR TIME..^1.&I'LL WAIT FOR&YOU./%%" - } - break - case 565: - global.msg[0] = "* (This mailbox is labelled& " + chr(34) + "PAPYRUS" + chr(34) + ".)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 566: - if (global.choice == 0) - global.msg[0] = "* (It's empty.)/%%" - else - global.msg[0] = "* (You realize that would& probably be illegal.)/%%" - break - case 567: - global.msg[0] = "* what^1?&* haven't you seen a guy& with two jobs before?/" - global.msg[1] = "\E1* fortunately^1, two jobs& means twice as many& legally-required breaks./" - global.msg[2] = "\E0* i'm going to grillby's.&* wanna come?& Yeah I'm busy \C" - global.msg[3] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - if (scr_murderlv() >= 7) - { - global.msg[0] = "\E2* hey^1, looks like you're& really turning yourself& around./" - global.msg[1] = "\E0* how about i treat you& to lunch at grillby's?/" - global.msg[2] = "\E1* ... when everyone you& scared away comes& back^1, i mean./%%" - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = "* well^1, if you insist..^1.&* i'll pry myself away& from my work.../%%" - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* OK^1. have fun./%%" - break - case 570: - global.msg[0] = "\E1* whoops^1, watch where& you sit down./" - global.msg[1] = "* sometimes weirdos put& whoopee cushions on& the seats./" - global.msg[2] = "\E0* anyway^1, let's order./" - global.msg[3] = "* whaddya want...?& & Fries Burger\C" - global.msg[4] = " " - break - case 571: - global.msg[0] = "* ok^1, coming right up./%%" - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& fries./%%" - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& burg./%%" - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = "* so^1, what do you& think.../" - global.msg[1] = "* of my brother?& & Cool Uncool\C" - global.msg[2] = " " - break - case 573: - if (global.choice == 0) - { - global.msg[0] = "* of course he's cool./" - global.msg[1] = "\E1* you'd be cool too& if you wore that& outfit every day./" - global.msg[2] = "\E0* he'd only take that& thing off if he& absolutely had to./" - global.msg[3] = "* oh well^1.&* at least he washes& it./" - global.msg[4] = "\E1* and by that i mean& he wears it in& the shower./%%" - } - else - { - global.msg[0] = "* hey^1, pal./" - global.msg[1] = "\E1* sarcasm isn't funny^1,& okay?/" - global.msg[2] = "\E0* my brother's a real& star./" - global.msg[3] = "* he's the person who& pushed me to get& this sentry job./" - global.msg[4] = "* maybe it's a little& strange^1, but& sometimes.../" - global.msg[5] = "* ... it's nice to have& someone call you out& on being lazy./" - global.msg[6] = "\E1* even though nothing& could be further& from the truth./%%" - } - break - case 574: - global.msg[0] = "* here comes the grub./" - global.msg[1] = "* want some ketchup^1?& & Yes No \C" - global.msg[2] = " " - break - case 575: - if (global.choice == 0) - global.msg[0] = "\E2* bone appetit./%%" - else - { - global.msg[0] = "\E2* more for me./%%" - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = "\W* have you ever heard& of a \Ytalking flower\W?& Yes No \C" - global.msg[1] = " " - break - case 577: - if (global.choice == 0) - global.msg[0] = "\E1* so you know all& about it./" - if (global.choice == 1) - global.msg[0] = "\E1* i'll tell you^1, then./" - global.msg[1] = "\W*\E0 the \Becho flower\W./" - global.msg[2] = "* they're all over the& marsh./" - global.msg[3] = "* say something to them^1,& and they'll repeat it& over and over.../" - global.msg[4] = "* what about it?/" - global.msg[5] = "* well^1, papyrus told& me something interesting& the other day./" - global.msg[6] = "* sometimes^1, when no& one else is around.../" - global.msg[7] = "* a flower appears and& whispers things to& him./" - global.msg[8] = "* flattery..^1.&* advice..^1.&* encouragement.../" - global.msg[9] = "* ... predictions./" - global.msg[10] = "* weird^1, huh?/" - global.msg[11] = "* someone must be using& an echo flower to& play a trick on him./" - global.msg[12] = "* keep an eye out^1, ok?/" - global.msg[13] = "* thanks./%%" - break - case 578: - global.msg[0] = "\E1* oh^1, by the way.../" - global.msg[1] = "\E0* i'm flat broke^1.&* can you foot the& bill?/" - global.msg[2] = "* it's just 10000G.& & Yes No \C" - global.msg[3] = " " - break - case 579: - global.msg[0] = " %%" - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = "* My mind is running wild^1!&* I haven't felt like this& in a long time.../%%" - if (global.flag[84] == 5) - global.msg[0] = "* Please leave./%%" - if (global.flag[84] < 2) - { - global.msg[0] = "* You..^1.&* You came from outside^1,& didn't you?/" - global.msg[1] = "* People like you are so& rare.../" - global.msg[2] = "* Please^1!* Stranger!/" - global.msg[3] = "* Tell me about outside...?& & Yes No\C" - global.msg[4] = " " - } - if (global.flag[84] == 2) - global.msg[0] = "* Well^1, what are you& waiting for?/%%" - if (global.flag[84] == 3) - { - global.msg[0] = "* Oh^1!&* You're back!/" - global.msg[1] = "* How's the room?& & Different Same\C" - global.msg[2] = " " - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = "* Huh^1?&* " + chr(34) + "SURFACE" + chr(34) + "^1?&* What do you mean?/" - global.msg[1] = "* I just meant outside this& room./" - global.msg[2] = "* If you haven't noticed^1, my& mycelium have bound me& to the ground./" - global.msg[3] = "* Please^1!&* Stranger!/" - global.msg[4] = "* I'll make this simple./" - global.msg[5] = "* I've spent my whole life& in the same spot^1,& in the same room./" - global.msg[6] = "* But I've long wondered& what lies inside the& room to the right./" - global.msg[7] = "* Long I've fantasized& about entering^1, and& changing my scenery.../" - global.msg[8] = "* No..^1.&* Changing my LIFE!/" - global.msg[9] = "* Please^1.&* Go and tell me what's& inside./%%" - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* Is everyone out there& like you^1?&* How terrible./%%" - } - else - { - if (global.choice == 0) - { - global.msg[0] = "* Oh^1, that's a relief^1!/" - global.msg[1] = "* That's all I need to& continue my fantasies^1.&* Thank you^1, stranger./%%" - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = "* So it's the same./" - global.msg[1] = "* The same.../" - global.msg[2] = "* Same.../" - global.msg[3] = "* .../" - global.msg[4] = "* OK./%%" - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = "* (Take an umbrella?)& & Take one Do not\C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (Return the umbrella?)& & Put back Do not\C" - global.msg[1] = " " - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You took an umbrella.)/%%" - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = " %%" - } - else if (global.choice == 0) - { - global.msg[0] = "* (You returned the umbrella.)/%%" - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 585: - global.msg[0] = "* (It's a statue^1.)&* (The structures at its& feet seem dry.)/%%" - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = "* (Put the umbrella on the& statue?)& Yes Do not\C" - global.msg[1] = " " - } - if (global.flag[86] == 1) - global.msg[0] = "* (The music continues^1, and& doesn't stop.)/%%" - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You place the umbrella& atop the statue.)/" - global.msg[1] = "* (Inside the statue^1, a music& box begins to play...)/%%" - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 587: - global.msg[0] = "* (It's a rusty old& fridge.)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 588: - if (global.choice == 0) - { - global.msg[0] = "* (You open the fridge.^1)&* (The air fills with a& rotten stench.)/" - global.msg[1] = "* (All the food inside here& spoiled long ago.)/%%" - } - else - global.msg[0] = " %%" - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = "* error/%%" - if (global.flag[108] > 2) - global.msg[0] = "* (The cooler is empty.)/%%" - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = "* (Take a space food bar& from the cooler?)& Yes No \C" - global.msg[1] = " " - } - if (global.flag[108] == 0) - { - global.msg[0] = "* (It's a cooler^1.&* It has no brand^1, and& shows no signs of wear...)/" - global.msg[1] = "* (Inside are a couple& of freeze-dried space& food bars.)/" - global.msg[2] = "* (Take one?)& & Yes No \C" - global.msg[3] = " " - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = "* (You got the Astronaut Food.)/%%" - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* %%" - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = "* (Seems like a regular& training dummy.)/" - global.msg[1] = "* (Do you want to beat it& up?)& Yes No \C" - global.msg[2] = " " - } - else - global.msg[0] = "* (You've had enough of& the dummy.)/%%" - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = "* (You tap the dummy with& your fist.)/" - global.msg[1] = "* (You feel bad.)/%%" - } - if (global.lv > 1) - { - global.msg[0] = "* (You hit the dummy& lightly.)/" - global.msg[1] = "* (You don't feel like& you learned anything.)/%%" - } - if (global.lv > 4) - { - global.msg[0] = "* (You sock the dummy.)/" - global.msg[1] = "* (Who cares?)/%%" - } - if (global.lv > 7) - { - global.msg[0] = "* (You punch the dummy at& full force.)/" - global.msg[1] = "* (Feels good.)/%%" - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = "* (You stare into each& other's eyes for a& moment...)/%%" - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = "* (It's a horse stable.)/" - global.msg[1] = "* (Do you want to go& inside?)& Yes No \C" - global.msg[2] = " " - break - case 594: - if (global.choice == 0) - { - global.msg[0] = "* (You jostle the door.)&* (It's locked.)/" - global.msg[1] = "* (Suddenly^1, from inside& the [redacted], you hear a&/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 1) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* (Spooktunes are dead.)/%%" - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 608: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 2) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 610: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 3) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 612: - global.msg[0] = "* (Look inside the fridge?)& & Open it No\C" - global.msg[1] = " " - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = "* (There's a lonely sandwich& inside.)/%%" - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = "* (It's empty.)/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 615: - global.msg[0] = "* this is a ghost sandwich.../" - global.msg[1] = "* do you want to try it...& & Yes No\C" - global.msg[2] = " " - break - case 616: - if (global.choice == 0) - { - global.msg[0] = "* (You attempt to bite& into the ghost sandwich.)/" - global.msg[1] = "* (You phase right through& it...)/" - global.msg[2] = "* oh.../" - global.msg[3] = "* nevermind.../%%" - } - if (global.choice == 1) - global.msg[0] = "* oh.....................& ....................& ................./%%" - break - case 617: - global.msg[0] = "* after a great meal i like& to lie on the ground and& feel like garbage.../" - global.msg[1] = "* it's a family tradition.../" - global.msg[2] = "* do you want..^1.&* ... to join me...& Yes No\C" - global.msg[3] = " " - break - case 618: - if (global.choice == 0) - global.msg[0] = "* okay..^1.&* follow my lead.../%%" - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = "* oh.....................& ....................& ................./%%" - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = "* do you want to play a game^1?&* it's called thundersnail./" - global.msg[1] = "* the snails will race^1, and if& the yellow snail wins^1, you& win./" - global.msg[2] = "* it's 10G to play.& & Play No\C" - global.msg[3] = " " - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = "* um..^1.&* you don't have any money?/" - global.msg[1] = "* n-no^1, you can still play^1,& don't worry about it.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = "* um..^1. that's less than 10G./" - global.msg[1] = "* but since you're my only& real customer^1, i guess i'll& just take what you have.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[1] = "* ready?/%%" - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* oh.........../%%" - break - case 621: - global.msg[0] = "* .../" - global.msg[1] = "* Seven./" - global.msg[2] = "* Seven human souls./" - global.msg[3] = "* With the power of seven& human souls^1, our king.../" - global.msg[4] = "\W* \YKing \RASGORE \YDreemurr\W.../" - global.msg[5] = "* ... will become a god./" - global.msg[6] = "\W* With that power^1, \RASGORE\W & can finally shatter the& barrier./" - global.msg[7] = "* He will finally take the& surface back from humanity.../" - global.msg[8] = "* And give them back the& suffering and pain that& we have endured./" - global.msg[9] = "* .../" - global.msg[10] = "* Understand^1, human?/" - global.msg[11] = "* This is your only chance& at redemption./" - global.msg[12] = "* Give up your soul.../" - global.msg[13] = "* Or I'll tear it from& your body./%%" - break - case 622: - if (global.choice == 0) - { - global.msg[0] = "* That spark in your eyes.../" - global.msg[1] = "* You're really eager to& die^1, aren't you?/%%" - } - if (global.choice == 1) - global.msg[0] = "* .../%%" - break - case 623: - global.msg[0] = "* Yo^1, I know I'm not supposed& to be here^1, but.../" - global.msg[1] = "* I wanna ask you something./" - global.msg[2] = "* .../" - global.msg[3] = "* Man^1, I've never had to ask& anyone this before.../" - global.msg[4] = "* Umm.../" - global.msg[5] = "* Yo..^1. You're human^1, right?&* Haha./" - global.msg[6] = "* Man^1! I knew it!/" - global.msg[7] = "* ... well^1, I know it now^1,& I mean.../" - global.msg[8] = "* Undyne told me^1, um^1, " + chr(34) + "stay& away from that human." + chr(34) + "/" - global.msg[9] = "* So^1, like^1, ummm.../" - global.msg[10] = "* I guess that makes us enemies& or something./" - global.msg[11] = "* But I kinda stink at that^1,& haha./" - global.msg[12] = "* Yo^1, say something mean so& I can hate you?/" - global.msg[13] = "* Please? & & Yes No \C" - global.msg[14] = " " - break - case 624: - if (global.choice == 0) - { - global.msg[0] = "* Huh...?/" - global.msg[1] = "* Yo^1, that's your idea of& something mean?/" - global.msg[2] = "* My sister says that to me& ALL THE TIME!/" - global.msg[3] = "* Guess I have to do it^1, haha./" - global.msg[4] = "* Yo^1, I..^1. I hate your guts./" - global.msg[5] = "* .../" - global.msg[6] = "* Man^1, I..^1. I'm such a turd./" - global.msg[7] = "* I'm..^1. I'm gonna go home& now./%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Yo^1, what^1?&* So I have to do it?/" - global.msg[1] = "* Here goes nothing.../" - global.msg[2] = "* Yo^1, I..^1. I hate your guts./" - global.msg[3] = "* .../" - global.msg[4] = "* Man^1, I..^1. I'm such a turd./" - global.msg[5] = "* I'm..^1. I'm gonna go home& now./%%" - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = "* (It's a water cooler.)&* (Take a cup of water?)& Yes No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There's no more water left& in the cooler.)/%%" - if instance_exists(obj_undynefall) - global.msg[0] = "* (Sadistically^1, you've poured& out all the water right in& front of Undyne's eyes.)/%%" - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = "* (You take a cup of water.)/%%" - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 627: - global.msg[0] = "* (Get rid of the water?)& & Yes No \C" - global.msg[1] = " " - break - case 628: - if (global.choice == 0) - { - global.msg[0] = "* (You pour the water on& the ground next to the& water cooler.)/%%" - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 629: - global.msg[0] = "* A rousing error./%%" - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = "* (Give Undyne the water?)& & Yes No \C" - global.msg[1] = " " - } - else - global.msg[0] = "* (She looks dry...)/%%" - } - break - case 630: - global.msg[0] = " %%" - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = "BEPIS." - armor2 = "BEPIS." - if (global.flag[75] == 4) - armor1 = "GROSS BANDAGE" - if (global.flag[75] == 12) - armor1 = "FADED RIBBON" - if (global.flag[75] == 15) - armor1 = "BANDANNA" - if (global.flag[75] == 24) - armor1 = "DUSTY TUTU" - if (global.flag[77] == 4) - armor2 = "GROSS BANDAGE" - if (global.flag[77] == 12) - armor2 = "FADED RIBBON" - if (global.flag[77] == 15) - armor2 = "BANDANNA" - if (global.flag[77] == 24) - armor2 = "DUSTY TUTU" - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "REMEMBER WHEN&I ASKED YOU&ABOUT CLOTHES?/" - global.msg[4] = "\E3WELL^1, THE FRIEND&WHO WANTED TO&KNOW.../" - global.msg[5] = "\E0HER OPINION OF&YOU IS VERY.../" - global.msg[6] = "\E3MURDERY./" - global.msg[7] = "\E0ERROR!!^1!&SEE YOU LATER!/%%" - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I TOLD HER WHAT&YOU TOLD ME&YOU WERE WEARING!/" - global.msg[10] = (("A " + armor1) + "!/") - global.msg[11] = "BECAUSE I KNEW^1,&OF COURSE.../" - global.msg[12] = "\E3AFTER SUCH A&SUSPICIOUS&QUESTION.../" - global.msg[13] = "\E0YOU WOULD&OBVIOUSLY CHANGE&YOUR CLOTHES!/" - global.msg[14] = "YOU'RE SUCH A&SMART COOKIE!/" - global.msg[15] = "THIS WAY YOU'RE&SAFE AND I&DIDN'T LIE!!!/" - global.msg[16] = "NO BETRAYAL&ANYWHERE!!!/" - global.msg[17] = "BEING FRIENDS&WITH EVERYONE&IS EASY!!!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = "\E3I AM NOT A&CRUEL PERSON./" - global.msg[10] = "\E0I STRIVE TO BE&COMFORTING AND&PLEASANT./" - global.msg[11] = "PAPYRUS!&HE SMELLS LIKE&THE MOON./" - global.msg[12] = "SO, BECAUSE OF&MY INHERENT&GOODNESS.../" - global.msg[13] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[14] = "\E3EVEN THOUGH YOU&TOLD ME YOU&WERE!/" - global.msg[15] = "INSTEAD^1, I MADE&SOMETHING UP!/" - global.msg[16] = "I TOLD HER YOU&WERE WEARING.../" - global.msg[17] = (("\E0A " + armor2) + "./") - global.msg[18] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[19] = (("I KNOW YOU WOULD&NEVER EVER WEAR&A " + armor2) + "./") - global.msg[20] = "\E0BUT YOUR SAFETY&IS MORE IMPORTANT&THAN FASHION./" - global.msg[21] = "\E3DANG!/" - global.msg[22] = "I JUST WANT TO&BE FRIENDS WITH&EVERYONE.../" - global.msg[23] = "\TS \F0 \T0 %" - global.msg[24] = "* Click.../%%" - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "\E3PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = (("\WY\E0OU SAID YOU WERE\Y &NOT WEARING A&" + armor1) + "\W./") - global.msg[10] = "\E3SO OF COURSE&I ACTUALLY&TOLD HER.../" - global.msg[11] = (("\E0YOU WERE&INDEED WEARING&A " + armor1) + "!/") - global.msg[12] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[13] = (("BUT SINCE YOU&AREN'T WEARING&A " + armor1) + "./") - global.msg[14] = "\E0SHE SURELY&WON'T ATTACK&YOU!/" - global.msg[15] = "NOW YOU ARE&SAFE AND SOUND./" - global.msg[16] = "\E2WOWIE..^1.&THIS IS HARD./" - global.msg[17] = "I JUST WANT TO&BE EVERYBODY'S&FRIEND!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I KNEW WHEN&YOU SAID:/" - global.msg[10] = (('\E3"I AM NOT&WEARING A&' + armor1) + '."/') - global.msg[11] = "\E0IT WAS REALLY&A SECRET CODE!/" - global.msg[12] = "\E3YOU REALLY&MEANT.../" - global.msg[13] = (('\E0"I ACTUALLY AM&WEARING&A ' + armor1) + '!"/') - global.msg[14] = "YOU WERE TRYING&TO PROTECT&YOURSELF.../" - global.msg[15] = "WHILE MAKING IT&SO I DIDN'T&HAVE TO LIE!/" - global.msg[16] = "I PICKED UP ON&THIS, AND FOLLOWED&YOUR PLAN./" - global.msg[17] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[18] = "IN FACT I TOOK&IT ONE STEP&FURTHER!/" - global.msg[19] = "\E3I TOLD HER YOU&WERE PROBABLY.../" - global.msg[20] = (("\E0WEARING A&" + armor2) + "!/") - global.msg[21] = "\E3OF COURSE, YOU&WOULD NEVER&WEAR THAT./" - global.msg[22] = "\E0BUT THAT'S THE&POINT!/" - global.msg[23] = "SHE WON'T&RECOGNIZE YOU&NOW!/" - global.msg[24] = "AND I DIDN'T&HAVE TO BETRAY&EITHER OF YOU!/" - global.msg[25] = "SINCE I JUST&TOLD HER WHAT&YOU SAID!/" - global.msg[26] = "WOWIE^1!&YOU'RE SUCH A&SMART COOKIE!/" - global.msg[27] = "I REALLY CAN&BE FRIENDS WITH&EVERYONE!!!/" - global.msg[28] = "\TS \F0 \T0 %" - global.msg[29] = "* Click.../%%" - } - } - break - case 633: - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HEY^1!&WHAT'S UP!?/" - global.msg[3] = "I WAS JUST&THINKING.../" - global.msg[4] = "YOU^1, ME^1, AND&UNDYNE SHOULD ALL&HANG OUT SOMETIME!/" - global.msg[5] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE&LATER!/" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - if (global.flag[88] < 3) - { - global.msg[5] = "AFTER YOU HANG&OUT WITH ME.../" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE!/" - global.msg[7] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - } - break - case 635: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 636: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 637: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 638: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 639: - global.msg[0] = "* (It's a book labelled& Monster History Part 7.)& Read it Do not\C" - global.msg[1] = " " - break - case 640: - global.msg[0] = "* When a human dies^1, its& soul remains stable& outside the body./" - global.msg[1] = "* Meanwhile^1, a monster's soul& disappears near-instantly& upon death./" - global.msg[2] = "* This allows monsters to& absorb the souls of& humans.../" - global.msg[3] = "* While it is extremely& difficult for humans to& absorb a monster's soul./" - global.msg[4] = "* This is why they feared us./" - global.msg[5] = "* Though monsters are weak^1,& with enough human souls.../" - global.msg[6] = "* They could easily destroy& all of mankind./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 641: - global.msg[0] = "* (It's a book labelled& Monster History Part 8.)& Read it Do not\C" - global.msg[1] = " " - break - case 642: - global.msg[0] = "* There is one exception& to the aforementioned& rules:/" - global.msg[1] = "* A certain type of monster^1,& the " + chr(34) + "boss" + chr(34) + " monster./" - global.msg[2] = "* Due to its life cycle^1, it& possesses an incredibly& strong soul for a monster./" - global.msg[3] = "* This soul can remain& stable after death^1, if& only for a few moments./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 643: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 644: - global.msg[0] = "* (You look inside a book.)/" - global.msg[1] = "* (It's a comic of a giant& robot fighting a beautiful& alien princess.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 645: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 646: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (Two scantily-clad chefs are& flinging energy pancakes& at each other.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 647: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 648: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (A hideous android is running& to school with toast in& its mouth.)/" - global.msg[2] = "* (Seems like it's late.)/" - global.msg[3] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 660: - global.msg[0] = "* (There's a piano here.^1)&* (Play it?)& Yes No\C" - global.msg[1] = " " - break - case 661: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = "See that heart^1? &That is your SOUL^1,&the very culmination&of your being!/" - global.msg[1] = "Your SOUL starts off&weak^1, but can grow&strong if you gain&a lot of LV./" - global.msg[2] = "What's LV stand for^1?&Why^1, LOVE^1, of course!/" - global.msg[3] = "You want some&LOVE, don't you?/" - global.msg[4] = "Don't worry,&I'll share some&with you!/%" - break - case 667: - global.msg[0] = "Down here^1, LOVE is&shared through..^1./" - global.msg[1] = "Little white..^2.\E1 &" + chr(34) + "friendliness&pellets." + chr(34) + "/" - global.msg[2] = "\E2Are you ready\E0?/%" - break - case 668: - global.msg[0] = "Move around^1!&Get as many as&you can^2!%%%" - global.msg[1] = "%%%" - break - case 669: - global.msg[0] = "You idiot./" - global.msg[1] = "In this world^1, it's&kill or BE killed./" - global.msg[2] = "Why would ANYONE pass&up an opportunity&like this!?/%" - break - case 670: - global.msg[0] = "Die./%" - break - case 671: - global.msg[0] = "Hey buddy^1,&you missed them./" - global.msg[1] = "Let's try again^1,&okay?/%" - break - case 672: - global.msg[0] = "Is this a joke^2?&Are you braindead^2?&RUN^2. INTO^2. THE^2.&BULLETS!!!" - break - case 673: - global.msg[0] = "You know what's&going on here^1,&don't you?/" - global.msg[1] = "You just wanted to&see me suffer./%" - break - case 674: - global.msg[0] = "\E1What a terrible&creature^1, torturing&such a poor^1,&innocent youth.../" - global.msg[1] = "\E2Ah, do not be&afraid^1, my child./" - global.msg[2] = "\XI am \BTORIEL\X,&caretaker of&the \RRUINS\X./" - global.msg[3] = "I pass through this&place every day to&see if anyone has&fallen down./" - global.msg[4] = "You are the first&human to come here&in a long time./" - global.msg[5] = "I will do my best&to ensure your&protection during&your time here./%%" - global.msg[5] = "\E2Come^2!&I will guide you&through the&catacombs./%%" - global.msg[6] = "%%%" - break - case 680: - global.msg[0] = "* Three gold for the ferry.& & Yes No\C" - global.msg[1] = " " - break - case 681: - global.msg[0] = "* Later^1, then./%%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = "* Hop on!/%%" - } - break - case 682: - global.msg[0] = "* (It's a switch.)& & Press it Don't\C" - global.msg[1] = " " - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were deactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were reactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "\E1* Um.../" - global.msg[3] = "\E0* I noticed you've been& kind of quiet.../" - global.msg[4] = "\W*\E8 Are you w-worried& about meeting \RASGORE\W...?/" - global.msg[5] = "\E2* .../" - global.msg[6] = "\E0* W-well^1, don't worry^1,& okay?/" - global.msg[7] = "\E7* Th-the king is a& really nice guy.../" - global.msg[8] = "\E0* I'm sure you can& talk to him^1, and.../" - global.msg[9] = "* W-with your human& soul^1, you can pass& through the barrier!/" - global.msg[10] = "* S-so no worrying^1, OK^1?&* J-just forget about it& and smile./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* Click.../%%" - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = "* hey buddy^1, what's up^1?&* wanna buy a hot dog?/" - global.msg[1] = "* it's only 30G.& & Yes No \C" - global.msg[2] = " " - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = "* here^1.&* have fun./%%" - if (global.flag[380] == 1) - { - global.msg[0] = "* here's another hot& dog./" - global.msg[1] = "* it's on the house^1.&* well^1, no^1.&* it's on you./%%" - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = "* sorry^1, thirty is& the limit on& head-dogs./%%" - if (global.flag[381] == 0) - { - global.msg[0] = "\TS*^1 \Tsi'll be 'frank' with& you./" - global.msg[1] = "* as much as i like& putting hot dogs& on your head.../" - global.msg[2] = "* thirty is just& an excessive number./" - global.msg[3] = "* twenty-nine^1, now& that's fine^1, but& thirty.../" - global.msg[4] = "* does it look like& my arms can reach& that high?/%%" - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = "* thanks, kid^1.&* here's your hot dog./%%" - if (global.flag[379] == 0) - { - global.msg[0] = "* thanks, kid^1.&* here's your 'dog./" - global.msg[1] = "* yeah^1. 'dog^1.&* apostrophe-dog^1.&* it's short for hot-dog./%%" - } - if (global.flag[379] == 1) - { - global.msg[0] = "* another h'dog^1?&* here you go.../" - global.msg[1] = "* whoops^1, i'm actually& out of hot dogs./" - global.msg[2] = "* here^1, you can have& a hot cat instead./%%" - } - if (global.flag[379] == 2) - { - global.msg[0] = "* another dog^1, coming& right up.../" - global.msg[1] = "* ... you really like& hot animals^1, don't& you?/" - global.msg[2] = "* hey^1, i'm not judging./" - global.msg[3] = "* i'd be out of a job& without folks like you./%%" - } - if (global.flag[379] == 3) - { - global.msg[0] = "* cool^1.&* here's that ''dog./" - global.msg[1] = "* apostrophe-apostrophe& dog./" - global.msg[2] = "* it's short for& apostrophe-dog./" - global.msg[3] = "* which is^1, in turn^1,& short for.../%%" - } - if (global.flag[379] == 4) - { - global.msg[0] = "* another one^1?&* okay./" - global.msg[1] = "* careful^1.&* if you eat& too many hot dogs.../" - global.msg[2] = "* you'll probably get& huge like me./" - global.msg[3] = "* huge as in super-& popular^1, i mean./" - global.msg[4] = "* i'm practically& a hot-dog tycoon now./%%" - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = "* whoops^1, you don't have& enough cash./" - global.msg[1] = "* you should get a job^1.&* i've heard being a& sentry pays well./%%" - } - } - if (noroom == 1) - { - global.msg[0] = "* you're holding too much^1.&* ... guess i'll just put& it on your head./%%" - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* yeah^1, you've gotta& save your money for& college and spiders./%%" - break - case 690: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* L-looks like you& beat him!/" - global.msg[3] = "\E0* Y-you did a really& great job out there./" - global.msg[4] = " & All thanks& to you ... \C" - global.msg[5] = " " - break - case 691: - if (global.choice == 0) - { - global.msg[0] = "\E3* What^1?&* Oh no^1, I mean.../" - global.msg[1] = "\E4* You were the one& doing everything cool!/" - global.msg[2] = "\E0* I just wrote some& silly programs for& your phone./" - } - if (global.choice == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E2* .../" - global.msg[2] = "\E1* .../" - } - global.msg[3] = "\E2* .../" - global.msg[4] = "\E4* ... umm^1, h-hey^1, this& might sound strange^1,& but.../" - global.msg[5] = "\E6* ... c-can I tell& you something?/" - global.msg[6] = "\E9* .../" - global.msg[7] = "\E4* B-before I met you^1,& I d-didn't really.../" - global.msg[8] = "\E9* I didn't really& like myself very& much./" - global.msg[9] = "* For a long time^1,& I f-felt like a& total screw-up./" - global.msg[10] = "\E9* L-like I couldn't& do a-anything& w-without.../" - global.msg[11] = "\E9* W-without ending up& letting everyone& down./" - global.msg[12] = "\E3* B-but...!/" - global.msg[13] = "\E4* Guiding you has& made me feel.../" - global.msg[14] = "\E9* A lot better about& myself./" - global.msg[15] = "\E0* So... thanks for& letting me help& you./" - global.msg[16] = "\E9* .../" - global.msg[17] = "\E4* Uhhh^1, anyway^1, we're& almost to the CORE./" - global.msg[18] = "\E0* It's just past& MTT Resort./" - global.msg[19] = "\E6* Come on^1!&* Let's finish this!/%%" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* Click.../%%" - break - case 692: - global.msg[0] = "\E0EUREKA!!!/" - global.msg[1] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[2] = "\E3YOU SEEM LIKE&YOU'RE HAVING&FUN^1, THOUGH.../" - global.msg[3] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[6] = " " - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 694: - global.msg[0] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[1] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[4] = " " - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 696: - global.msg[0] = "* (There's a switch on the& trunk of this tree.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - break - case 697: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = "OHO^1!&THE HUMAN ARRIVES!/" - global.msg[1] = "ARE YOU READY TO&HANG OUT WITH&UNDYNE?/" - global.msg[2] = "I HAVE A PLAN&TO MAKE YOU TWO&GREAT FRIENDS!/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Will you hang out?)& & Yes No\C" - global.msg[5] = " " - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = "HMMM..^1.&STILL GETTING&READY?/" - global.msg[2] = "\E0TAKE YOUR TIME!/%%" - } - break - case 700: - global.msg[0] = "OKAY^1!&ALL READIED-UP&TO HANG OUT!?/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* (Will you hang out?)& & Yes No\C" - global.msg[3] = " " - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 703: - global.msg[0] = "\E4* .../" - global.msg[1] = "\E5* So why are YOU& here?/" - global.msg[2] = "\E4* To rub your victory& in my face?/" - global.msg[3] = "\E4* To humiliate me& even further?/" - global.msg[4] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[5] = " " - break - case 704: - if (global.choice == 0) - { - global.msg[0] = "\E2* Oh-ho-ho-ho./" - global.msg[1] = "\E1* Well^1, I've got news& for you^1, BRAT./" - global.msg[2] = "\E2* You're on MY& battlefield now./" - global.msg[3] = "\E3* And you AREN'T& going to& humiliate me./" - global.msg[4] = "\E3* I'll TELL you& what's going to& happen./" - global.msg[5] = "\E0* We're going to& hang out./" - global.msg[6] = "\E2* We're going to& have a good& time./" - global.msg[7] = "\M1* We're going to& become " + chr(34) + "friends." + chr(34) + "/" - global.msg[8] = "\E3* You'll become so& enamored with me.../" - global.msg[9] = "\E1* YOU'LL be the one& feeling humiliated& for your actions!/" - global.msg[10] = "\E6* Fuhuhuhuhu!!/" - global.msg[11] = "\M2* It's the perfect& revenge!!!/" - global.msg[12] = "\E1* Err.../" - global.msg[13] = "\E9* Why don't you& have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\E4* Then why are you& here?/" - global.msg[1] = "\E1* ...!/" - global.msg[2] = "\E2* Wait^1, I get it./" - global.msg[3] = "\E3* You think that I'm& gonna be friends& with you^1, huh?/" - global.msg[4] = "* Right???& NEVER & Yes with you\C" - global.msg[5] = " " - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = "\E6* Really^1?&* How delightful!^1!&* I accept!/" - global.msg[1] = "* Let's all frolick& in the fields& of friendship!/" - global.msg[2] = "\E2* ...NOT!/" - global.msg[3] = "\E2* Why would I EVER& be friends with& YOU!?/" - global.msg[4] = "\E3* If you weren't my& houseguest^1, I'd beat& you up right now!/" - global.msg[5] = "\E0* You're the enemy& of everyone's hopes& and dreams!/" - global.msg[6] = "\E1* I WILL NEVER& BE YOUR FRIEND./" - global.msg[7] = "\E3* Now get out of& my house!/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = "\E1* WHAT?/" - global.msg[1] = "\E4* First you parade& into my house^1,& then you INSULT me?/" - global.msg[2] = "\E2* You little BRAT^1!&* I have half a& mind to.../" - global.msg[3] = "\E1* .../" - global.msg[4] = "\E3* Wait./" - global.msg[5] = "\E2* I'll prove you& WRONG./" - global.msg[6] = "\E3* We ARE going to& be friends./" - global.msg[7] = "\E1* In fact.../" - global.msg[8] = "\E3* We./" - global.msg[9] = "\M1* Are going to be& BESTIES./" - global.msg[10] = "* I'll make you like& me so much.../" - global.msg[11] = "\E1* Your WHOLE LIFE& will revolve around& me!!/" - global.msg[12] = "\M2* It's the perfect& revenge!!!/" - global.msg[13] = "\E6* FUHUHUHUHU!!!/" - global.msg[14] = "\E1* Err.../" - global.msg[15] = "\E9* Now^1, why don't& you have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = "* (Sit down and progress?)& & Yes No\C" - global.msg[1] = " " - break - case 707: - global.msg[0] = " %%" - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = " %%" - global.msg[1] = " %%" - } - break - case 708: - global.msg[0] = "* That sugar's for& the tea./" - global.msg[1] = "\E2* I'm not gonna give& you a cup of& sugar!/" - global.msg[2] = "\E6* What do I look& like^1, the ice-cream& woman?/" - global.msg[3] = "\E2* Do human ice-cream& women TERRORIZE HUMANITY& with ENERGY SPEARS?/" - global.msg[4] = "\E3* Are their ice-cream& songs a PRELUDE TO& DESTRUCTION?/" - global.msg[5] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[6] = " " - break - case 709: - if (global.choice == 0) - { - global.msg[0] = "\E1* ... what^1?&* REALLY?/" - global.msg[1] = "\E6* That rules!!!/%%" - } - if (global.choice == 1) - global.msg[0] = "\E3* That's what I& thought./%%" - break - case 710: - global.msg[0] = "* Envision these& vegetables as your& greatest enemy!/" - global.msg[1] = "\E2* Now!^1!&* Pound them to dust& with your fists!!/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (How will you pound?)& & Strong Wimpy\C" - global.msg[4] = " " - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = "* (You punch the vegetables& at full force^1.&* You knock over a tomato.)/" - scr_undface(1, 6) - global.msg[2] = "* YEAH^1!&* YEAH!/" - global.msg[3] = "\E1* Our hearts are& uniting against these& healthy ingredients!/" - global.msg[4] = "\M2* NOW IT'S MY TURN!/" - global.msg[5] = "* NGAHHH!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = "* (You pet the vegetables& in an affectionate& manner.)/" - scr_undface(1, 1) - global.msg[2] = "* OH MY GOD!!^1!&* STOP PETTING THE& ENEMY!!!/" - global.msg[3] = "\M2* I'll show you& how it's done!/" - global.msg[4] = "* NGAHHH!/%%" - } - break - case 712: - global.msg[0] = "* ... we add the& noodles!/" - global.msg[1] = "\E0* Homemade noodles& are the best!/" - global.msg[2] = "\E6* BUT I JUST BUY& STORE-BRAND!/" - global.msg[3] = "\M2* THEY'RE THE& CHEAPEST!!!/" - global.msg[4] = "\E1* NGAHHHHHHHHH& HHHHHHHHHH!!!/" - global.msg[5] = "\E9* Uhh^1, just put them& in the pot./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "\M0* (How will you put them in?)& & Fiercely Careful\C" - global.msg[8] = " " - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = "* (You throw everything into& the pot as hard as you can^1,& including the box.)/" - global.msg[1] = "* (It clanks against the& empty bottom.)/" - scr_undface(2, 6) - global.msg[3] = "\M2* YEAH!!^1!&* I'M INTO IT!!!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = "* (You place the noodles& in one at a time.)/" - global.msg[1] = "* (They clank against the& empty bottom.)/" - scr_undface(2, 9) - global.msg[3] = "* Nice???/%%" - } - break - case 714: - global.msg[0] = "\E0* Humans suck^1, but& their history..^1.&* Kinda rules./" - global.msg[1] = "\E2* Case in point^1:&* This giant sword!/" - global.msg[2] = "\E0* Historically^1, humans& wielded swords up& to 10x their size./" - global.msg[3] = "\E1* RIGHT?& & True False\C" - global.msg[4] = " " - break - case 715: - if (global.choice == 0) - { - global.msg[0] = "\E6* Heh^1, I knew it!/" - global.msg[1] = "\E2* When I first heard& that^1, I immediately& wanted one!/" - global.msg[2] = "\E0* So me and Alphys& built a giant& sword together./" - global.msg[3] = "\E0* She figured out all& the specs herself.../" - global.msg[4] = "\E6* She's smart^1, huh!?/%%" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* Pfft^1!&* You liar!/" - global.msg[1] = "\E3* I've READ Alphys's& human history book& collection!/" - global.msg[2] = "\E3* I know all about& your giant swords.../" - global.msg[3] = "\E3* Your colossal^1,& alien-fighting& robots.../" - global.msg[4] = "* Your supernatural& princesses.../" - global.msg[5] = "\E6* Heh^1! There's no& way you're gonna& fool me!!!/%%" - } - break - case 716: - global.msg[0] = "* (Look inside the bone drawer?)& & Yes No\C" - global.msg[1] = " " - break - case 717: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = "\M5* WHAT A SENSATIONAL OPPORTUNITY& FOR A STORY!/" - global.msg[1] = "\M3* I CAN SEE THE HEADLINE NOW:/" - global.msg[2] = "\M4* " + chr(34) + "A DOG EXISTS SOMEWHERE." + chr(34) + "/" - global.msg[3] = "\M2* FRANKLY^1, I'M BLOWN AWAY./" - global.msg[4] = "* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 721: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 722: - global.msg[0] = "\M5* THIS DOG..^1.&* STILL EXISTS!/" - global.msg[1] = "* THIS STORY..^1.&* JUST KEEPS GETTING& BETTER AND BETTER!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 723: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 724: - global.msg[0] = "\M5* OH MY!!!!/" - global.msg[1] = "\M2* ... IT'S A COMPLETELY& NONDESCRIPT GLASS OF WATER./" - global.msg[2] = "\M4* BUT ANYTHING CAN MAKE& A GREAT STORY WITH ENOUGH& SPIN!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 725: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 726: - global.msg[0] = "\M3* I'M HONORED TO BE IN THE& PRESENCE OF SUCH A HUGE& LUKEWARM WATER FAN^1, FOLKS!/" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 727: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 728: - global.msg[0] = "\M5* OH NO!!^1!&* THAT MOVIE SCRIPT!!^1!&* HOW'D??^1? THAT GET THERE???/" - global.msg[1] = "\M4* IT'S A SUPER-JUICY SNEAK& PREVIEW OF MY LATEST& GUARANTEED-NOT-TO-BOMB FILM:/" - global.msg[2] = "\M6* METTATON THE MOVIE XXVIII..^1.& STARRING METTATON!/" - global.msg[3] = "\M1* I'VE HEARD THAT LIKE THE& OTHER FILMS.../" - global.msg[4] = "\M1* IT CONSISTS MOSTLY OF A SINGLE& FOUR-HOUR SHOT OF ROSE PETALS& SHOWERING ON MY RECLINING BODY./" - global.msg[5] = "\M5* OOH!!^1!&* BUT THAT'S!!^1!&* NOT CONFIRMED!!/" - global.msg[6] = "\M5* YOU WOULDN'T (COUGH) SPOIL MY& MOVIE FOR EVERYONE WITH A& PROMOTIONAL STORY^1, WOULD YOU?/" - global.msg[7] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[8] = " " - break - case 729: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\M5* PHEW!!^1! THAT WAS CLOSE!^1!&* YOU ALMOST GAVE ME A BUNCH& OF FREE ADVERTISEMENT!!/%%" - global.msg[1] = "\M2 %%" - } - break - case 730: - global.msg[0] = "\M3* OH^1!&* YOU'RE BACK!/" - global.msg[1] = "\M6* THAT'S RIGHT^1, FOLKS^1!&* IT SEEMS NO ONE CAN RESIST& THE ALLURE OF MY NEW FILM!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 731: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 732: - global.msg[0] = "\M4* BASKETBALL'S A BLAST^1, ISN'T IT^1,& DARLING?/" - global.msg[1] = "\M1* TOO BAD YOU CAN'T PLAY WITH& THESE BALLS./" - global.msg[2] = "\M4* THEY'RE MTT-BRAND FASHION& BASKETBALLS^1.&* FOR WEARING^1, NOT PLAYING./" - global.msg[3] = "\M6* YOU CAN'T GET RICH AND FAMOUS& LIKE MOI WITHOUT BEAUTIFYING& A FEW ORBS./" - global.msg[4] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 733: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 734: - global.msg[0] = "* IT SEEMS OUR REPORTER IS DRAWN& TO SPORTS LIKE MOTHS TO A& FLAMING BASKETBALL HOOP./" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 735: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 736: - global.msg[0] = "\M5* OH MY^1! IT'S A PRESENT^1!&* AND IT'S ADDRESSED TO YOU^1,& DARLING!/" - global.msg[1] = "\M6* AREN'T YOU JUST BURSTING& WITH EXCITEMENT?/" - global.msg[2] = "\M5* WHAT COULD BE INSIDE^1?&* WELL^1, NO TIME LIKE THE& " + chr(34) + "PRESENT" + chr(34) + " TO FIND OUT!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 737: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 738: - global.msg[0] = "\M4* READY FOR YOUR..^1.&* PRESENTATION?/" - global.msg[1] = "\M4* (... LET'S CUT THAT ONE IN& POST.)/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 739: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 740: - global.msg[0] = "\M5* OOH LA LA^1!&* THIS VIDEO GAME YOU FOUND..^1.&* IS DYNAMITE!!!/" - global.msg[1] = "\M4* THOUGH I DON'T MAKE AN& APPEARANCE IN IT UNTIL& THREE-FOURTHS IN./" - global.msg[2] = "\M3* BUT I LIKE THAT./" - global.msg[3] = "\M6* APPEARING FROM THE HEAVENS LIKE& MANNA^1, SLAKING THE AUDIENCE'S& HUNGER FOR GORGEOUS ROBOTS.../" - global.msg[4] = "\M5* OOH^1!&* THAT'S METTATON!/" - global.msg[5] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[6] = " " - break - case 741: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 742: - global.msg[0] = "* AH^1, YOU UNDERSTAND./" - global.msg[1] = "* THIS IS A GAME WHERE YOU& SHOULD CHECK EVERYTHING& TWICE./" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 743: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Cider for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Donut for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 748: - global.msg[0] = "* Ribbit^1, ribbit.&* (I have heard you are quite& merciful^1, for a human...)/" - global.msg[1] = "\W* (Surely you know by now a& monster wears a \YYELLOW\W name& when you can \YSPARE\W it.)/" - global.msg[2] = "* (What do you think of that?)& Very It's& Helpful Bad\C" - global.msg[3] = " " - break - case 749: - if (global.choice == 0) - { - global.msg[0] = "* (It is rather helpful.^1)&* (Remember^1, sparing is just& saying you won't fight.)/" - global.msg[1] = "* (Maybe one day^1, you'll& have to do it even if& their name isn't yellow.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Really^1? Then^1, I'll tell all& of my friends to tell& their friends' friends...)/" - global.msg[1] = "* (Never use yellow names.)&* (How about that?)/" - global.msg[2] = " Keep No more& Yellow Yellow& Names Names\C" - global.msg[3] = " " - } - break - case 750: - if (global.choice == 0) - global.msg[0] = "* (OK^1, they will still& use yellow names.)/%%" - if (global.choice == 1) - { - global.msg[0] = "* (OK^1, I will let them& know not to use yellow& names.)/%%" - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = "* Ribbit^1, ribbit^1.&* (How are you doing without& yellow names?)/" - global.msg[1] = " Bring & It's Them& great Back\C" - global.msg[2] = " " - break - case 752: - if (global.choice == 0) - { - global.msg[0] = "* (Glad to hear it.^1)&* (Though^1, I do not know why& you dislike yellow.)/" - global.msg[1] = "* (You had better hope you do& not encounter a banana-themed& monster.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Huh^1? It's rather inconvenient& that you changed your mind& like this.)/" - global.msg[1] = "* (Since I told everyone& not to use yellow names^1,& everyone threw theirs out.)/" - global.msg[2] = "* (This is really troubling...^1)&* (Hmmm...)/" - global.msg[2] = "\W* (Well^1, last year it was& fashionable to have \ppink\W & names.)/" - global.msg[3] = "* (I think everyone still& has those in their closets& somewhere...)/" - global.msg[4] = "* (I'll ask everyone to look.^1)&* (But this is the last time!)/%%" - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = "* Ribbit^1, ribbit...&* (I hope you're satisfied.)/%%" - break - case 754: - global.msg[0] = "* \YNAPSTABLOOK22 has sent you& a friend request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 755: - global.flag[409] = 1 - global.msg[0] = "* (It seems to have already& rejected itself...)/%%" - break - case 756: - global.msg[0] = "* \YMETTATON has sent you a& Mortal Enemy request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 757: - if (global.choice == 0) - { - global.msg[0] = "* Congratulations^1!&* You are now Mortal Enemies& with Mettaton./" - global.msg[1] = "* \YCOOLSKELETON95\W has posted& a comment on this change./" - global.msg[2] = "* CONGRATULATIONS^1, YOU TWO^1!&* WISH YOU A LONG AND& HORRIBLE RIVALRY./%%" - } - if (global.choice == 1) - global.msg[0] = "* You rejected the request./%%" - break - case 758: - global.msg[0] = "* \YMETTATON has sent you an& invitation to " + chr(34) + "Die." + chr(34) + "\W /" - global.msg[1] = "* RSVP?& & Respond Ignore\C" - global.msg[2] = " " - break - case 759: - if (global.choice == 0) - global.msg[0] = "* Bepis valley Granola Bars/%%" - if (global.choice == 1) - global.msg[0] = "* Bepis valley Granola Bars/%%" - break - case 760: - global.msg[0] = "* hey^1.&* i heard you're going& to the core./" - global.msg[1] = "\E0* how about grabbing some& dinner with me first?& Yeah I'm busy \C" - global.msg[2] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - break - case 761: - if (global.choice == 0) - { - global.msg[0] = "* great^1, thanks for& treating me./%%" - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* well^1, have fun in& there./%%" - break - case 762: - global.msg[0] = "* This is the barrier./" - global.msg[1] = "* This is what keeps& us all trapped& underground./" - global.msg[2] = "* .../" - global.msg[3] = "* If.../" - global.msg[4] = "* If by chance you& have any unfinished& business.../" - global.msg[5] = "* Please do what you& must./" - global.msg[6] = " & & Continue Go Back\C" - global.msg[7] = " " - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Anything you want to& do is important& enough./" - global.msg[2] = "* Even something as small& as reading a book^1,& or taking a walk.../" - global.msg[3] = "* Please take your time./%%" - } - break - case 764: - global.msg[0] = "* Oh..^1.&* Back so soon?/" - global.msg[1] = "* How are you feeling?/" - global.msg[2] = " & & Ready Go Back\C" - global.msg[3] = " " - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Do what you have to./%%" - } - break - case 770: - global.msg[0] = "* Tra la la^1.&* I am the riverman./" - global.msg[1] = "* Or am I the riverwoman...^1?&* It doesn't really matter./" - global.msg[2] = "* I love to ride in my boat^1.&* Would you care to join me?/" - global.msg[3] = "* (Ride in the boat?)& & Yes No\C" - global.msg[4] = " " - if (global.flag[460] > 0) - { - global.msg[0] = "* Tra la la^1.&* Care for a ride?/" - global.msg[1] = "* (Ride in the boat?)& & Yes No\C" - global.msg[2] = " " - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = "* Where will we go today?& & Error Error\C" - if (room == room_fire_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Waterfall\C" - if (room == room_water_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Hotland\C" - if (room == room_tundra_dock) - global.msg[0] = "* Where will we go today?& & Waterfall Hotland\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* Then perhaps another time^1.&* Or perhaps not^1.&* It doesn't really matter./%%" - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = "* Then we're off.../%%" - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = "* (There's a switch on the& wall.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = "* (The switch doesn't do& anything.)/%%" - break - case 781: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = "* (Seems like a comfortable& bed.)/" - global.msg[1] = "* (Lie on it?)& & Yes No\C" - global.msg[2] = " " - break - case 783: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = "* (It's just a regular suspicious& bed now.)/%%" - if (global.flag[484] == 1) - { - global.msg[0] = "* (It's a yellow key.^1)&* (You put it on your& keychain.)/%%" - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = "* (There's something under& the sheets.)/" - global.msg[1] = "* (Check it out?)& & Yes No\C" - global.msg[2] = " " - } - break - case 785: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = "* (The power has been turned& on.)/%%" - if (global.flag[491] == 0) - { - global.msg[0] = "* (It seems like this controls& the elevator's power.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - break - case 787: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = (("\E7* I always was a crybaby^1,& wasn't I^1, " + global.charname) + "?/") - global.msg[1] = "\E1* .../" - global.msg[2] = "\E2* ... I know./" - global.msg[3] = (("\E0* You're not actually& " + global.charname) + ", are you?/") - global.msg[4] = (("\E7* " + global.charname) + "'s been gone for& a long time./") - global.msg[5] = "* .../" - global.msg[6] = "\E9* Um..^1. what.../" - global.msg[7] = "\E0* What IS your name?/" - global.msg[8] = "\E2* .../" - global.msg[9] = "\E5* " + chr(34) + "Frisk?" + chr(34) + "/" - global.msg[10] = "\E7* That's.../" - global.msg[11] = "\E5* A nice name./" - global.msg[12] = "* .../" - global.msg[13] = "\E7* Frisk.../" - global.msg[14] = "\E0* I haven't felt like& this for a long time./" - global.msg[15] = "\E2* As a flower^1, I was& soulless./" - global.msg[16] = "\E1* I lacked the power to& love other people./" - global.msg[17] = "\E2* However^1, with everyone's& souls inside me.../" - global.msg[18] = "\E7* I not only have my own& compassion back.../" - global.msg[19] = "\E5* But I can feel every& other monster's as& well./" - global.msg[20] = "\E7* They all care about& each other so much./" - global.msg[21] = "\E0* And..^1. they care about& you too^1, Frisk./" - global.msg[22] = "* .../" - global.msg[23] = "\E7* I wish I could tell& you how everyone& feels about you./" - global.msg[24] = "* Papyrus..^1. Sans..^1.&* Undyne..^1. Alphys.../" - global.msg[25] = "\E0* ... Toriel./" - global.msg[26] = "\E7* Monsters are weird./" - global.msg[27] = "\E5* Even though they barely& know you.../" - global.msg[28] = "\E6* It feels like they& all really love& you./" - global.msg[29] = "\E8* Haha./" - global.msg[30] = "* .../" - global.msg[31] = "\E1* Frisk..^1. I..^1.&* I understand if you& can't forgive me./" - global.msg[32] = "* I understand if you& hate me./" - global.msg[33] = "* I acted so strange and& horrible./" - global.msg[34] = "\E3* I hurt you./" - global.msg[35] = "* I hurt so many people./" - global.msg[36] = "\E1* Friends^1, family^1,& bystanders.../" - global.msg[37] = "\E3* There's no excuse for& what I've done./" - global.msg[38] = " & & Forgive Do not\C" - global.msg[39] = " " - break - case 801: - if (global.choice == 0) - { - global.msg[0] = "\E3* Wh..^1. what?/" - global.msg[1] = "\E7* ... Frisk^1, come on./" - global.msg[2] = "\E0* You're..^1.&* You're gonna make me& cry again./" - global.msg[3] = "\E7* ... besides^1, even if& you do forgive me.../" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* ... right^1./" - global.msg[1] = "* I understand./" - global.msg[2] = "\E1* I just hope that.../" - global.msg[3] = "* I can make up for& it a little right& now./" - } - global.msg[4] = "\E1* I can't keep these& souls inside of me./" - global.msg[5] = "\E0* The least I can do& is return them./" - global.msg[6] = "\E2* But first.../" - global.msg[7] = "\E4* There's something I& have to do./" - global.msg[8] = "* Right now^1, I can feel& everyone's hearts& beating as one./" - global.msg[9] = "* They're all burning& with the same& desire./" - global.msg[10] = "* With everyone's power..^1.&* With everyone's& determination.../" - global.msg[11] = "* It's time for& monsters.../" - global.msg[12] = "* To finally go free./%%" - break - case 803: - global.msg[0] = "\E7* Frisk.../" - global.msg[1] = "\E0* I have to go now./" - global.msg[2] = "\E7* Without the power of& everyone's souls.../" - global.msg[3] = "\E1* I can't keep& maintaining this& form./" - global.msg[4] = "* In a little while.../" - global.msg[5] = "* I'll turn back into& a flower./" - global.msg[6] = "\E3* I'll stop being& " + chr(34) + "myself." + chr(34) + "/" - global.msg[7] = "* I'll stop being able& to feel love again./" - global.msg[8] = "\E1* So..^1. Frisk./" - global.msg[9] = "\E7* It's best if you& just forget about& me^1, OK?/" - global.msg[10] = "\E0* Just go be with& the people who& love you./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & Comfort& him Do not\C" - global.msg[13] = " " - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = "\E0* So^1, Alphys.../" - global.msg[1] = "\E9* What do you want& to do now that& we're all free?/" - global.msg[2] = "\E0* We have the whole& world to explore& now./" - scr_alface(3, 3) - global.msg[4] = "\E3* W-well^1, of course& I'm going to go& out and.../" - global.msg[5] = "\E4* Um.../" - global.msg[6] = "\E3* No^1, I should be& honest!!/" - global.msg[7] = "\E1* I'm gonna stay inside& and watch anime like& a total loser!/" - scr_papface(8, 0) - global.msg[9] = "\E0THAT'S THE SPIRIT!/" - global.msg[10] = "EVERYONE!!^1!&A CELEBRATION!!!&TO BEING LOSERS!!/" - scr_undface(11, 9) - global.msg[12] = "\E9* Heh^1.&* Papyrus has the& right idea./" - global.msg[13] = "\E0* Losing to Frisk is& the best thing to& ever happen to me./" - global.msg[14] = "\E0* So I'm glad that& we.../" - global.msg[15] = "\E9* Huh^1?&* What is it^1, Asgore?/" - scr_asgface(16, 2) - global.msg[17] = "\E2* Um..^1. what's an.../" - global.msg[18] = "\E0* ... anime?/" - scr_alface(19, 1) - global.msg[20] = "\E1* (Oh My God?)/" - global.msg[21] = "\E3* (Frisk^1. Please.)/" - global.msg[22] = "\E2* (Help me explain what& anime is to Asgore.)/" - global.msg[23] = "\E0* Y-you see^1, it's& like a cartoon^1,& but.../" - global.msg[24] = "\TS \F0 \T0 %" - global.msg[25] = " & With With& Sword's Gun's\C" - global.msg[26] = " " - break - case 807: - scr_asgface(0, 2) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with swords?/" - if (global.choice == 1) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with guns?/" - global.msg[2] = "\E0* Golly^1!&* That sounds neato!/" - global.msg[3] = "\E3* Where is this^1?&* Where can I see the& Anime./" - scr_alface(4, 3) - global.msg[5] = "\E3* H-hold on^1, uh..^1.&* I think I have& some on my phone./" - global.msg[6] = "\E0* Here^1, l-look at& this!/" - global.msg[7] = "\E0* .../" - global.msg[8] = "\E3*...Oh^1, uh.../" - global.msg[9] = "\E4* Um..^1. that's the..^1.&* That's the wrong.../" - global.msg[10] = "\E5* Uh^1, nevermind./" - scr_asgface(11, 1) - global.msg[12] = "* Golly^1.&* Were those two robots.../" - scr_undface(13, 9) - global.msg[14] = "\E9* ... kissing?/" - scr_asgface(15, 0) - global.msg[16] = "\E0* Boy^1!&* Technology sure is& something^1, isn't it?/" - scr_alface(17, 5) - global.msg[18] = "\E5* Eheheh..^1. yeah^1!&* It sure is!/%%" - break - case 808: - global.msg[0] = "\E0* Psst..^1.&* F-Frisk./" - global.msg[1] = "\E3* Um^1, you've gotta& tell me./" - global.msg[2] = "\E6* D..^1. do you think& Asgore and Toriel& are...?/" - global.msg[3] = "\E3* Uh^1, ever gonna get& back together?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "& & Yeah Nope\C" - global.msg[6] = " " - break - case 809: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = "\E7* Y-yeah!!^1!&* Yeah^1, that's what& I hope^1, too./" - global.msg[2] = "\E7* Just think about how& cute they must have& been together./" - global.msg[3] = "\E0* It's quickly becoming& my number one ship& of all time./" - global.msg[4] = "\E7* Tori and Gorey.../" - global.msg[5] = "\E5* My..^1.&* My old boss and& his ex-wife./" - global.msg[6] = "\E8* ... uh^1, that sounds& a lot less cool& all of a sudden./%%" - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = "\E8* ... yeah^1, that's what& I thought./" - global.msg[2] = "\E7* A woman can dream& though^1, right?/" - global.msg[3] = "\E2* And write fanfiction./" - global.msg[4] = "\E1* A LOT of fanfiction./%%" - } - break - case 810: - global.msg[0] = "\E0* Frisk^1!&* I just realized!/" - global.msg[1] = "\E3* Now that we aren't& fighting each& other.../" - global.msg[2] = "\E2* I can finally ask& you.../" - global.msg[3] = "\E0* " + chr(34) + "Would you like a& cup of tea?" + chr(34) + "/" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E0* Would you like a& cup of tea?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "& & Yes No\C" - global.msg[8] = " " - break - case 811: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = "* Oh^1!&* Well!/" - global.msg[2] = "\E3* Actually^1, the cup I& had is cold now./" - global.msg[3] = "* So you shouldn't& have it./" - global.msg[4] = "\E0* But^1, I am so& happy you said& yes./" - global.msg[5] = "\E0* As soon as I can^1,& I will make some& more for you./" - global.msg[6] = "\E0* Then we can be& great pals./%%" - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = "\E3* Oh.../" - global.msg[2] = "\E3* Okay./" - scr_undface(3, 2) - global.msg[4] = "\E2* Frisk^1! Stop^1!&* You're breaking his& big burly heart!/" - scr_asgface(5, 2) - global.msg[6] = "\E2* Um^1, it's OK^1, Undyne./" - global.msg[7] = "\E0* My heart's already& broken./" - scr_undface(8, 6) - global.msg[9] = "\E6* ASGORE^1! STOP^1!&* YOU'RE BREAKING MY& BIG BURLY HEART!/" - scr_alface(10, 9) - global.msg[11] = "\E9* Y-yeah^1, Asgore^1.&* Don't break Undyne's& heart./" - global.msg[12] = "\E2* That's my job./" - scr_undface(13, 2) - global.msg[14] = "\E2* OH MY GOD!&* YOU'RE GOING BACK& IN THE TRASH!!!/" - scr_papface(15, 0) - global.msg[16] = "\E0CAN I GO IN THE&TRASH TOO?/" - scr_undface(17, 9) - global.msg[18] = "\E9* Sure^1, Papyrus./" - scr_sansface(19, 1) - global.msg[20] = "\E1* guess i have to& go in the trash& too./" - scr_torface(21, 0) - global.msg[22] = "\E0* Oh^1, may I enter& the trash as well?/" - scr_undface(23, 1) - global.msg[24] = "\E1* Uh^1, okay?/" - scr_asgface(25, 0) - global.msg[26] = "\E0* Am I invited to& the trash?/" - scr_undface(27, 6) - global.msg[28] = "\E6* SURE!!!&* WHY NOT!!!/" - scr_torface(29, 1) - global.msg[30] = "\E1* On second thought^1,& do not put me& in the trash./" - scr_asgface(31, 5) - global.msg[32] = "\E5* Oh.../" - scr_undface(33, 1) - global.msg[34] = "\E1* OH MY GOD!!!/%%" - } - break - case 812: - global.msg[0] = "* (If you leave here^1, your& adventure will really& be over.)/" - global.msg[1] = "* (Your friends will follow& you out of the underground.)/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = " & Don't I'm& leave ready\C" - global.msg[4] = " " - break - case 813: - global.msg[0] = " %%" - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = "\E0* Oh my.../" - scr_asgface(1, 0) - global.msg[2] = "\E0* Isn't it beautiful^1,& everyone?/" - scr_alface(3, 3) - global.msg[4] = "\E3* Wow..^1. it's e-even& better than on TV./" - global.msg[5] = "\E7* WAY better^1!&* Better than I ever& imagined!/" - scr_undface(6, 1) - global.msg[7] = "\E1* Frisk^1, you LIVE with& this!?/" - global.msg[8] = "\E9* The sunlight is so& nice..^1. and the air& is so fresh!/" - global.msg[9] = "* I really feel alive!/" - scr_papface(10, 0) - global.msg[11] = "\E0HEY SANS.../" - global.msg[12] = "\E3WHAT'S THAT GIANT&BALL?/" - scr_sansface(13, 1) - global.msg[14] = "\E1* we call that& " + chr(34) + "the sun^1," + chr(34) + " my friend./" - scr_papface(15, 0) - global.msg[16] = "\E0THAT'S THE SUN!^1?&WOWIE!!!/" - global.msg[17] = "I CAN'T BELIEVE&I'M FINALLY MEETING&THE SUN!!!/" - scr_asgface(18, 0) - global.msg[19] = "\E0* I could stand here& and watch this for& hours.../" - scr_torface(20, 0) - global.msg[21] = "\E0* Yes^1, it is beautiful^1,& is it not?/" - global.msg[22] = "\E1* But we should really& think about what comes& next./" - scr_asgface(23, 3) - global.msg[24] = "\E3* Oh^1, right./" - global.msg[25] = "\E0* Everyone.../" - global.msg[26] = "* This is the beginning& of a bright new& future./" - global.msg[27] = "* An era of peace between& humans and monsters./" - global.msg[28] = "\E2* Frisk.../" - global.msg[29] = "* I have something to& ask of you./" - global.msg[30] = "\E0* Will you act as our& ambassador to the& humans?/" - global.msg[31] = "\TS \F0 \T0 %" - global.msg[32] = "* (Be the ambassador?)& & Yes No\C" - global.msg[33] = " " - break - case 815: - scr_papface(0, 0) - global.msg[1] = "WOWi, Nice error./%%" - if (global.choice == 0) - { - global.msg[1] = "\E0YEAH^1!&FRISK WILL BE THE&BEST AMBASSADOR!/" - global.msg[2] = "AND I^1, THE GREAT&PAPYRUS.../" - global.msg[3] = "WILL BE THE BEST&MASCOT!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E0IT'S OK FRISK^1!&I'VE GOT YOU&COVERED!/" - global.msg[2] = "IF YOU DON'T WANT&TO BE THE&AMBASSADOR.../" - global.msg[3] = "I CAN DO IT FOR&YOU!!!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - break - case 820: - global.msg[0] = "* Frisk.../" - global.msg[1] = "\E2* You came from this& world^1, right...?/" - global.msg[2] = "\E1* So you must have& a place to return to^1,& do you not?/" - global.msg[3] = "\E2* What will you do& now?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = " I want I have& to stay places& with you to go\C" - global.msg[6] = " " - break - case 821: - global.msg[0] = " %%" - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = "* (The door has no mail slot.)/" - global.msg[1] = "* (Slide the letter under?)& & Slide NO!!!! \C" - global.msg[2] = " " - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = "* (You slide the letter under& the door and give it a& knock.)/%%" - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* (You'll keep the letter& warm for a little longer.)/%%" - break - case 827: - global.msg[0] = "* (It's a note from Alphys.)/" - global.msg[1] = "* (Read it...?)& & Read Do not \C" - global.msg[2] = " " - break - case 828: - if (global.choice == 0) - { - global.msg[0] = "* (It's hard to read because& of the handwriting^1, but& you try your best...)/" - global.msg[1] = "* Hey./" - global.msg[2] = "* Thanks for your help back& there./" - global.msg[3] = "* You guys..^1.&* Your support really means a& lot to me./" - global.msg[4] = "* But..^1.&* As difficult as it is& to say this.../" - global.msg[5] = "* You guys alone can't& magically make my own& problems go away./" - global.msg[6] = "* I want to be a better& person./" - global.msg[7] = "* I don't want to be& afraid anymore./" - global.msg[8] = "* And for that to happen^1,& I have to be able to& face my own mistakes./" - global.msg[9] = "* I'm going to start& doing that now./" - global.msg[10] = "* I want to be clear./" - global.msg[11] = "* This isn't anyone else's& problem but mine./" - global.msg[12] = "* But if you don't ever& hear from me again.../" - global.msg[13] = "* If you want to know& " + chr(34) + "the truth." + chr(34) + "/" - global.msg[14] = "* Enter the door to the& north of this note./" - global.msg[15] = "* You all at least deserve& to know what I did./" - global.msg[16] = "* (That's all she wrote.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = "* (Buy chips for 25G?)& & Buy No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There were no chips left& in the machine.)/%%" - global.msg[1] = " " - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* (The vending machine& dispensed some chisps.)/%%" - if (afford == 0) - global.msg[0] = "* (You didn't have enough& gold.)/%%" - } - if (noroom == 1) - global.msg[0] = "* (You are carrying too& many items.)/%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 831: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?/" - global.msg[5] = "\E1* ... wait^1.&* Do not tell me./" - if (bs == 0) - global.msg[6] = "\E0* It is ERROR MESSAGE!& & Yes No \C" - if (bs == 1) - global.msg[6] = "\E0* Is it Butterscotch?& & Yes No \C" - if (bs == 2) - global.msg[6] = "\E0* Is it Cinnamon?& & Yes No \C" - global.msg[7] = " " - break - case 832: - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - if (bs == 2) - global.flag[46] = 0 - global.msg[0] = "\E0* Hee hee hee^1.&* I had a feeling./" - global.msg[1] = "\E1* When humans fall down& here^1, strangely..^1.&* I.../" - global.msg[2] = "\E1* I often feel like& I already know them./" - global.msg[3] = "\E0* Truthfully^1, when I first& saw you^1, I felt.../" - global.msg[4] = "\E1* ... like I was seeing& an old friend for& the first time./" - global.msg[5] = "\E0* Strange^1, is it not?/" - global.msg[6] = "* Well^1, thank you for& your selection./" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - if (bs == 2) - global.flag[46] = 1 - global.msg[0] = "\E1* Oh..^1. I see./" - global.msg[1] = "\E0* Well^1, thank you^1.&* Goodbye for now./" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* Click.../%%" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - break - case 833: - global.msg[0] = "* (Seems like you could skip& Mettaton's monologue by& turning him around now.)/" - global.msg[1] = "* (What will you do?)& & Skip Hear again\C" - global.msg[2] = " " - break - case 834: - if (global.choice == 0) - { - global.msg[0] = "* (You told Mettaton there& was something cool& behind him.)/%%" - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = " %%" - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = "* though.../" - global.msg[1] = "* one thing about you& always struck me& as kinda odd./" - global.msg[2] = "* now^1, i understand& acting in self-defense./" - global.msg[3] = "* you were thrown into& those situations& against your will./" - global.msg[4] = "* but.../" - global.msg[5] = "* sometimes.../" - global.msg[6] = "* you act like you& know what's gonna& happen./" - global.msg[7] = "* like you've already& experienced it all& before./" - global.msg[8] = "* this is an odd thing& to say^1, but.../" - global.msg[9] = "\W* if you have some sort& of \Yspecial power\W.../" - global.msg[10] = "* isn't it your& responsibility to do& the right thing?/" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & & Yes No\C" - global.msg[13] = " " - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* ah./" - global.msg[2] = "\E0* i see./" - global.msg[3] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* heh./" - global.msg[2] = "\E0* well^1, that's your& viewpoint./" - global.msg[3] = "\E2* i won't judge you& for it./" - global.msg[4] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = "* (Ring...)/" - scr_alface(1, 0) - global.msg[2] = "\E0* Hey!/" - global.msg[3] = "\E3* This um^1, doesn't have& anything to do with& guiding you..^1. but.../" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E6* Uhh^1, hey^1, would you want& to watch a human TV& show together???/" - global.msg[6] = "* Sometime???/" - global.msg[7] = "\E4* It's called^1, um^1,& M..^1.Mew Mew Kissy& Cutie.../" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = " & & Sure! ...no...\C" - global.msg[10] = " " - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = "* R-really!?/" - global.msg[2] = "\E3* It's so good^1!&* It's um^1, my favorite& show!/" - global.msg[3] = "* It's all about this& human girl named Mew Mew& who has cat ears!%" - global.msg[4] = "\E3* Which humans don't have!&* S-so she's all& sensitive about them!%" - global.msg[5] = "\E6* But like...&* Eventually!%" - global.msg[6] = "* She realizes that her& ears don't matter!%" - global.msg[7] = "* That her friends like& her despite the ears!%" - global.msg[8] = "\E7* It's really moving!%" - global.msg[9] = "\E5* Whoops, spoilers%" - global.msg[10] = "\E6* Also, this sounds& weird, but she has& the power!%" - global.msg[11] = "\E5* To control the minds& of anyone she kisses!%" - global.msg[12] = "\E3* She kisses people and& controls them to fix& her problems!!%" - global.msg[13] = "\E5* They don't remember& anything after the& kiss I mean!!%" - global.msg[14] = "\E3* BUT IF SHE MISSES& THE KISS!!!&* THEN!!%" - global.msg[15] = "\E4* Then^1, uh^1, and^1, uh^1,& also I mean^1, of course%" - global.msg[16] = "\E5* Eventually^1, she& realizes that& controlling people%" - global.msg[17] = "\E3* OKAY WELL I almost& spoiled the whole& show^1, but%" - global.msg[18] = "\E5* Uhhh^1, I think you'd& really like it!!!/" - global.msg[19] = "\E0* We should watch it^1!&* After you get through& all this!/" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* (Click...)/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E5* Um^1! Well^1!&* That's okay!/" - global.msg[2] = "* Just thought I'd!^1!&* Ask!!!/" - global.msg[3] = "\E6* B-but I think you'd& really like it!!/" - global.msg[4] = "* If you gave it a& chance!!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Click...)/%%" - } - break - case 839: - global.msg[0] = "\M1* Did y'hear!^1?&* You're back!/" - global.msg[1] = "\M0* I'll tell you a big secret./" - global.msg[2] = "\M1* I'm starting a band^1, y'hear?/" - global.msg[3] = "\M1* It's called the Red Hot& Chibi Peppers./" - global.msg[4] = "\M0* All I've thought of is& the name./" - global.msg[5] = "\M3* And I don't^1, play...&* Instruments^1, or sing./" - global.msg[6] = "\M1* Well^1!&* Do you think we'll be& popular!!!/" - global.msg[7] = " & & Yeah No\C" - global.msg[8] = " " - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = "\M0* Yeah^1, me too.../%%" - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = " %%" - } - break - case 845: - global.msg[0] = "* (It's a lamp.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - break - case 846: - if (global.choice == 0) - { - global.msg[0] = "* (There's no lightbulb.^1)&* (A flashlight is stuck in& the bulb socket.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = " %%" - break - case 847: - if (global.choice == 0) - global.msg[0] = "* (The flashlight is out of& batteries.)/%%" - else - global.msg[0] = " %%" - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = "* Hey^1, hey^1!&* Did you remember my name?/" - global.msg[1] = "* (Did you?)& & Yes No\C" - global.msg[2] = " " - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = "* Wh-WHAT!^1?&* You REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = "* Wh-WHAT!^1?&* You DON'T REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - break - case 853: - global.msg[0] = "* (It's a small white dog.^1)&* (It's fast asleep...)/" - global.msg[1] = "* (Fight the dog?)& & Yes No\C" - global.msg[2] = " " - break - case 854: - if (global.choice == 0) - { - global.msg[0] = "* (Can't fight the dog.)/" - global.msg[1] = "* (Seems like the fabric it's& sleeping on has too many& holes in it.)/" - global.msg[2] = "* (Seems like the dog needs& to " + chr(34) + "patch" + chr(34) + " the fabric.)/" - global.msg[3] = "* (Then you can fight the dog.^1)&* (... maybe.)/" - global.msg[4] = "* (Upon closer examination^1,& the holes in the fabric& seem to be growing.)/" - global.msg[5] = "* (Might take a while for the& dog to fix all of them.)/" - global.msg[6] = "* (Dogs aren't usually very& good at knitting.)/" - global.msg[7] = "* (A crocheting dog is out of& the question.)/%%" - } - else - global.msg[0] = "* (Let sleeping dogs lie^1, instead& of fighting them.^1)&* (That's how the saying goes.)/%%" - break - case 860: - global.msg[0] = "* (Knock knock)./" - if (global.flag[262] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Sea Tea" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a million ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = "* (You pour the Sea Tea under& the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 862: - global.msg[0] = "* (Knock knock)./" - if (global.flag[263] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Cinnamon Bun" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a trillion ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = "* (You flatten the Cinnamon Bun& until it's paper thin.)&* (You slide it under the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 864: - global.msg[0] = "* (You hear shuffling.)/" - global.msg[1] = "* (Seems like you could put& something under the door.)/" - global.msg[2] = " & & Put No Put\C" - global.msg[3] = " " - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - break - case 865: - if (global.choice == 0) - { - global.msg[0] = "* (...)/" - global.msg[1] = "* (But you didn't have anything& appealing.)/%%" - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = "* (You put a Hot Dog in front& of the door.)/" - global.msg[1] = "* (A white paw shoots out from& under the door.)/" - global.msg[2] = "* (It tries to pull the Hot Dog& into its room...)/" - global.msg[3] = "* (But it keeps pressing down too& hard^1, and the hot dog keeps& spinning away.)/" - global.msg[4] = "* (...)/" - global.msg[5] = "* (It finally succeeds.)/" - global.msg[6] = "* (...)/" - global.msg[7] = "* (You hear the grinding of& stone.)/" - global.msg[8] = "* (A single hushpuppy slides& out from under the door.)/" - global.msg[9] = "* (You got Hush Puppy.)/%%" - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = "* (You put a Hot Cat in front& of the door.)/" - global.msg[1] = "* (You hear growling...)/%%" - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = "* (You put a Dog Salad in front& of the door.^1)&* (It slides underneath.)/" - global.msg[1] = "* (...)/" - global.msg[2] = "* (The Dog Salad was absorbed& by the darkness.)/%%" - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = "* (You put a Dog Residue in& front of the door.)/" - global.msg[1] = "* (It slides underneath the door^1,& as if pulled by a magnet.)/" - global.msg[2] = "* (...)/" - if (noroom == 1) - global.msg[3] = "* (ZOMMM!!^1!)&* (It shoots back out at a& high speed!)/%%" - else - global.msg[3] = "* (Two Dog Residues slowly slide& back out from underneath& the door.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 866: - global.msg[0] = "* Yes^1, we know^1.&* The elevator to the city& is NOT working./" - global.msg[1] = "* Because of this incident^1, rooms& are running at a special rate!/" - global.msg[2] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[3] = " " - if (global.flag[267] == 2) - { - global.msg[0] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[1] = " " - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = "* Did you enjoy your stay?/" - global.msg[1] = "* What^1?&* Room..^1.&* Key?/" - global.msg[2] = "* No^1, we don't do that./" - global.msg[3] = "* If you leave your room^1,& you'll have to pay again./" - global.msg[4] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[5] = " " - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* Fabulous^1!&* We'll escort you to your& room!/%%" - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = "* ... that's not enough money./%%" - } - else - global.msg[0] = "* Do let us know if you& change your mind^1.&* Have a sparkular day!/%%" - break - case 870: - global.msg[0] = "* ... MY ONE TRUE LOVE?/" - global.msg[1] = "* .../" - global.msg[2] = "* (YOU LOOK BORED^1, DARLING.)/" - global.msg[3] = "* (I WANT THIS TO BE A STELLAR& PERFORMANCE^1, SO IF YOU& WON'T GIVE IT YOUR ALL...)/" - global.msg[4] = "* (THEN I'LL SKIP AHEAD FOR& THE AUDIENCE'S SAKE.)/" - global.msg[5] = "* (Perform?)& & Yeah Skip this\C" - global.msg[6] = " " - break - case 871: - if (global.choice == 0) - global.msg[0] = "* (UNDERSTOOD.^1)&* (LET'S KNOCK 'EM DEAD!)/%%" - else - { - global.msg[0] = "* (KA-SIGH...^1)&* (THE SHOW MUST GO ON!)/%%" - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = "Interesting./" - global.msg[1] = "You want to go back./" - global.msg[2] = "You want to go bac^1k&to the worl^2d&you destroyed./" - global.msg[3] = "It was you who pushed&everythin^1g to its edge./" - global.msg[4] = "It was you who led the worl^1d&to its destruction./" - global.msg[5] = "But you cannot accept it./" - global.msg[6] = "You think you are above&consequences.& Yes No\C" - global.msg[7] = "" - break - case 889: - if (global.choice == 0) - global.msg[0] = "Exactly./%%" - else - global.msg[0] = "Then what are you looking for?/%%" - break - case 890: - global.msg[0] = "Perhaps./" - global.msg[1] = "We can reach a compromise./" - global.msg[2] = "You still have somethin^1g&I want./" - global.msg[3] = "Give it to me./" - global.msg[4] = "And I will bring this&world back./" - global.msg[5] = " & & Yes No\C" - global.msg[6] = "" - break - case 891: - if (global.choice == 0) - { - global.msg[0] = "Then it is agreed./" - global.msg[1] = "You will give me your SOUL.& & Yes No\C" - global.msg[2] = " " - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = ".../" - global.msg[1] = "Then^1, it is done./%%" - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 900: - global.msg[0] = "* hey./" - global.msg[1] = "* is your refrigerator& running?/" - global.msg[2] = " & & yes no\C" - global.msg[3] = " " - break - case 901: - if (global.choice == 0) - global.msg[0] = "* nice^1.&* i'll be over to deposit& the brewskis./%%" - else - { - global.msg[0] = "* ok^1, i'll send someone& over to fix it./" - global.msg[1] = "* thanks for letting me& know./" - global.msg[2] = "* good communication is& important./%%" - } - break - case 1001: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = " * Check * Console& * Terrorize" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = " * Check * Talk& * Devour * Dinner" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = " * Check * Pick On& * Don't Pick On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = " * Check * Flirt& * Threat * Cheer" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = " * Check * Pet" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = " * Check * Pet& * Pet * Pet & * Pet * Pet " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = " * Check * Agree& * Clash * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = " * Check * Compliment& * Ignore * Steal" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = " * Check * Compliment" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = " * Check * Ditch" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = " * Check * Decorate& * Undecorate * Gift" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = " * Check * Flex& * Shoo" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = " * Check * Flex& * Feed Temmie * Talk& Flakes " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = " * Check * Flirt& * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = " * Check * Clean& * Touch * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = " * Check * Smile& * Hum * Conduct" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = " * Check * Plead& * Challenge" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = " * Check * Cry" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = " * Check * Flirt& * Approach" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = " * Check * Criticize& * Encourage * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = " * Check * Cool Down& * Heat Up * Invite" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = (((("\W * Check * Struggle& * Pay " + string(global.flag[382])) + "G& \YYour Money: ") + string(global.gold)) + "G \W ") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = " * Check * Yell" - if (global.flag[385] > 0) - global.msg[0] = "\W * Check \Y* Yellow \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = " * Check * Fake Attack" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = " * Check * Talk & * Stare * Clear Mind" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = " * Check * Talk & * Sing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = " * Check * Defuse Bomb" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = " * Check * Burn" - if (global.flag[424] > 0) - global.msg[0] = "\W * Check \Y* Turn \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = " * Check * Boast& * Pose * Heel Turn" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = " * Call * Hum& * Scream * Flex& * Unhug * Cry" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = " * Check * Pick On& * Mystify * Clean& * Hum * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = " * Check * ITEM & * STAT * CELL" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = " * Check * Join& * Refuse" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = " * Fake Hit * Recipe& * Smile * Clash" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = " * Encourage * Call & * Nerd Out * Quiz" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = " * Joke * Puzzle & * Recipe * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = " * Take break * Joke & * Judgment * Crossword" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = " * Talk * Mercy & * Hug * Preference" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = " * Talk * Mercy & * Stare * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = " * Check * Switch& * Fix * Lie Down" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = " * Check * Hiss& * Devour * Snack" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = " * Check * Applaud& * Boo * Nothing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = " * Check * Something" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = " * Check * Draw" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = " * Check * Hope & * Dream" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = " * Error" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = " * Struggle" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = "\W * Undyne " - else - global.msg[0] = "\W \Y* (Saved) \W " - if (global.flag[506] == 0) - global.msg[0] += "* Alphys \W &" - else - global.msg[0] += "\Y* (Saved)\W &" - if (global.flag[507] == 0) - global.msg[0] += "\W * Papyrus * Sans \W &" - else - global.msg[0] += "\Y * (Saved) * (Saved)\W &" - if (global.flag[508] == 0) - global.msg[0] += "\W * Toriel * Asgore \W " - else - global.msg[0] += "\Y * (Saved) * (Saved)\W " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = " * Someone else" - if (global.flag[501] == 3) - global.msg[0] = " * Asriel Dreemurr" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = "* Dialing..\E0.\TT /" - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You only wanted to& say hello...^2?&* Well then./" - global.msg[4] = "\E0* 'Hello!'/" - global.msg[5] = "* I hope that suffices^1.&* Hee hee./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 2) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You want to say& hello again?/" - global.msg[4] = "* 'Salutations!'/" - global.msg[5] = "* Is that enough?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Are you bored^1?&* I should have given& a book to you./" - global.msg[4] = "* My apologies./" - global.msg[5] = "* Why not use your& imagination to& divert yourself?/" - global.msg[6] = "* Pretend you are..^1.&* A monarch!/" - global.msg[7] = "* Rule over the leaf pile& with a fist of iron./" - global.msg[8] = "* Can you do that for me?/" - global.msg[9] = "\TS \F0 \T0 %" - global.msg[10] = "* Click.../%%" - } - if (global.flag[40] > 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Hello^1, my child./" - global.msg[4] = "\E1* Sorry^1, I do not have& much to say./" - global.msg[5] = "\E0* It was nice to hear& your voice^1, though^1./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - break - case 1502: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* Help with a puzzle^1.^1.^1.?/" - global.msg[4] = "* Um^1, you have not& left the room^1, have you?/" - global.msg[5] = "\E0* Wait patiently for& me and we can solve& it together!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1503: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* You want to know& more about me?/" - global.msg[4] = "* Well^1, I am afraid there& is not much to say./" - global.msg[5] = "\E0* I am just a silly little& lady who worries too& much!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1504: - global.flag[42] = 1 - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E8* Huh^2?&* Did you just call& me... " + chr(34) + "Mom" + chr(34) + "?/" - global.msg[4] = "\E1* Well...&* I suppose.../" - global.msg[5] = "* Would that make you& happy?/" - global.msg[6] = "* To call me..^2.&* " + chr(34) + "Mother?" + chr(34) + "/" - global.msg[7] = "\E0* Well then^1, call me& whatever you like!/!" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E8* ...^2 huh???/" - global.msg[3] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[4] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[5] = "* You can certainly find& better than an old woman& like me./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[41] == 2) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E1* Oh dear,^1 are you& serious...?/" - global.msg[3] = "\E1* I do not know if this is& pathetic,^1 or endearing./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - if (global.flag[42] == 1) - { - global.msg[3] = "\E8* And after you said you& want to call& me " + chr(34) + "mother..." + chr(34) + "/" - global.msg[4] = "\E0* You are an...^2 & \E1... " + chr(34) + "interesting" + chr(34) + "& child./" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* But nobody came./%%" - } - else - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* Nobody picked up./%%" - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* The ringing is coming from& inside your inventory./%%" - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = "* Dialing...\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hey^1, you silly& child./" - global.msg[3] = "* If you want to& talk to me^1, I am& right here./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - break - case 1508: - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* (Somewhere^1, signals deflected& by a dog.)/%%" - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = "* (No response.^1)&* (Their phone might be out& of batteries.)/%%" - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = "* (The box is aclog with the& the hair of a dog.)/%%" - break - case 2001: - global.msg[0] = "\E2* Welcome to your new& home,^1 innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of& the RUINS./%" - break - case 2002: - global.faceplate = 1 - global.msg[0] = "\E8* ...^2 huh???/" - global.msg[1] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[2] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[3] = "* You can certainly find& better than an old woman& like me./%" - break - case 3002: - global.msg[0] = "* You encountered the Dummy." - global.msg[1] = "%%%" - break - case 3003: - global.msg[0] = "* Froggit attacks you!" - global.msg[1] = "%%%" - break - case 3004: - global.msg[0] = "* Froggit hopped close!" - global.msg[1] = "%%%" - break - case 3005: - global.msg[0] = "* Whimsun approached meekly!" - global.msg[1] = "%%%" - break - case 3006: - global.msg[0] = "* Froggit and Whimsun drew near!" - global.msg[1] = "%%%" - break - case 3007: - global.msg[0] = "* Moldsmal blocked the way!" - global.msg[1] = "%%%" - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 18d1db209..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml deleted file mode 100644 index 7865cee5e..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml +++ /dev/null @@ -1,103 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - n += 2 - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "P") - script_execute(SCR_TEXTSETUP, 4, 255, x, y, (x + 150), 43, 4, 94, 10) - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - } - if (global.inbattle == 1) - halt = 5 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_OBJ_WRITER_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_OBJ_WRITER_Draw_0.gml deleted file mode 100644 index 241521ad2..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_OBJ_WRITER_Draw_0.gml +++ /dev/null @@ -1,255 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "L") - mycolor = $FFA914 - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "z") - { - sym = real(string_char_at(originalstring, (n + 2))) - sym_s = spr_infinitysign - if (sym == 4) - sym_s = spr_infinitysign - if (sym == 4) - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - if (myfont == fnt_comicsans) - { - if (myletter == "w") - myx += 2 - if (myletter == "m") - myx += 2 - if (myletter == "i") - myx -= 2 - if (myletter == "l") - myx -= 2 - if (myletter == "s") - myx -= 1 - if (myletter == "j") - myx -= 1 - } - if (myfont == fnt_papyrus) - { - if (myletter == "D") - myx += 1 - if (myletter == "Q") - myx += 3 - if (myletter == "M") - myx += 1 - if (myletter == "L") - myx -= 1 - if (myletter == "K") - myx -= 1 - if (myletter == "C") - myx += 1 - if (myletter == ".") - myx -= 3 - if (myletter == "!") - myx -= 3 - if (myletter == "O" || myletter == "W") - myx += 2 - if (myletter == "I") - myx -= 6 - if (myletter == "T") - myx -= 1 - if (myletter == "P") - myx -= 2 - if (myletter == "R") - myx -= 2 - if (myletter == "A") - myx += 1 - if (myletter == "H") - myx += 1 - if (myletter == "B") - myx += 1 - if (myletter == "G") - myx += 1 - if (myletter == "F") - myx -= 1 - if (myletter == "?") - myx -= 3 - if (myletter == "'") - myx -= 6 - if (myletter == "J") - myx -= 1 - } - n += nskip -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_flowey_writer_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_flowey_writer_Draw_0.gml deleted file mode 100644 index aa57ccad5..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_flowey_writer_Draw_0.gml +++ /dev/null @@ -1,181 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "f") - global.typer = 9 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else if (global.typer == 70 || global.typer == 71 || global.typer == 74 || global.typer == 75 || global.typer == 76 || global.typer == 77) - draw_text_transformed((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter, 2, 2, 0) - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - n += nskip -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 9a5ea7df7..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,398 +0,0 @@ -buffer -= 1 -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if keyboard_multicheck_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ini_close() - room_goto(room_intromenu) -} -draw_set_color(c_white) -draw_set_font(fnt_maintext) -if (weather != 3) - draw_text_transformed(100, 10, "JOYSTICK CONFIG", 2, 2, 0) -else - draw_text_transformed(10, 10, "JOYSTICK CONFIG", 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, "EXIT") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = "CONFIRM - [Z + ENTER] ::" - if (i == 2) - itext = "CANCEL - [X + SHIFT] ::" - if (i == 3) - itext = "MENU - [C + CTRL] ::" - draw_text(20, (60 + (i * 15)), itext) - draw_set_color(c_white) -} -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 75, 245, 90, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 75, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 90, 245, 105, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 90, "(PUSH BUTTON)") - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 90, global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 105, 245, 120, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 105, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 105, global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, "ANALOG SENSITIVITY:") -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense -= global.analog_sense_sense - if keyboard_check(vk_left) - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text_transformed(20, 150, "ANALOG SENSITIVITY SENSITIVITY:", 0.6, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense_sense -= 0.01 - if keyboard_check(vk_left) - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, "DIR CHOICE:") -if (global.joy_dir == 0) - draw_text(100, 170, "NORMAL") -if (global.joy_dir == 1) - draw_text(100, 170, "ANALOG ONLY") -if (global.joy_dir == 2) - draw_text(100, 170, "POV ONLY") -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, 185, r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, 185, "RESET TO DEFAULT") -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = "SPAGHETTI..." - else - r_line = "RESETTED..." - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 200, "CONTROL TEST") -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "cold outside#but stay warm#inside of you", 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "spring time#back to school", 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "try to withstand#the sun's life-#giving rays", 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "sweep a leaf#sweep away a#troubles", 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - draw_rectangle((168 - rectile), -10, -1, 250, false) - draw_set_color(c_black) - draw_rectangle((152 + rectile), -10, 330, 250, false) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 7b8438b88..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = "PET?" - if (gg == 1) - global.msg[0] = "PAT?" - if (gg == 2) - global.msg[0] = "POT?" - global.msg[1] = "%%%" - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_readable_room1_Alarm_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_readable_room1_Alarm_0.gml deleted file mode 100644 index ca62366f8..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_readable_room1_Alarm_0.gml +++ /dev/null @@ -1,480 +0,0 @@ -myinteract = 3 -global.msc = 0 -global.typer = 5 -global.facechoice = 0 -global.faceemotion = 0 -global.msg[0] = "%%" -if (room == room_ruins2) - global.msg[0] = "* Only the fearless may proceed.&* Brave ones, foolish ones.&* Both walk not the middle road./%%" -if (room == room_ruins3) - global.msg[0] = "* Stay on the path./%%" -if (room == room_ruins5) - global.msg[0] = "* The western room is the& eastern room's blueprint./%%" -if (room == room_ruins9) - global.msg[0] = "* Three out of four grey rocks& recommend you push them./%%" -if (room == room_ruins13) - global.msg[0] = "* (There's an ant-sized frog in& a crack in the wall...^1)&* (It waves at you.)/%%" -if (room == room_ruins14) - global.msg[0] = "* There is just one switch./%%" -if (room == room_ruins15A) - global.msg[0] = "* The far door is not an exit^1.&* It simply marks a rotation& in perspective./%%" -if (room == room_ruins15B) - global.msg[0] = "* If you can read this^1,& press the blue switch./%%" -if (room == room_ruins15C) - global.msg[0] = "* If you can read this^1,& press the red switch./%%" -if (room == room_ruins15D) - global.msg[0] = "* If you can read this^1,& press the green switch./%%" -if (room == room_torhouse1) - global.msg[0] = "* These books are worn...&* They must have been read& many times./%%" -if (room == room_asghouse1) -{ - global.msg[0] = "* (There's an old calendar from& the end of 201X.^1)&* (A date is circled on it.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (The date I came here.)/%%" -} -if (room == room_torhouse2) - global.msg[0] = "* The ends of the tools have& been filed down to& make them safer./%%" -if (room == room_asghouse2) - global.msg[0] = "* Seems like gardening tools./%%" -if (room == room_asrielroom) - global.msg[0] = "* Look at these cool toys^2!&* They don't interest you& at all./%%" -if (room == room_asrielroom_final) - global.msg[0] = "* (Dusty toys.)/%%" -if (room == room_castle_finalshoehorn) - global.msg[0] = "* Throne Room/%%" -if (room == room_castle_coffins2) -{ - global.msg[0] = "* (It's a coffin.^1)&* (There's a name engraved on& it.)/" - global.msg[1] = (('* ("' + global.charname) + '.")/') - global.msg[2] = "* (It's empty.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (The coffin is empty...?)/" - global.msg[1] = "* (You didn't notice before^1,& but there's something like...)/" - global.msg[2] = "* (... mummy wrappings at the& bottom of it.)/%%" - } - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (It's as comfortable as it& looks.)/%%" -} -if (room == room_torielroom) -{ - global.msc = 524 - if (x > 192) - { - global.msc = 0 - global.msg[0] = "* You peek inside..^2.&* Scandalous!/" - global.msg[1] = "* It's TORIEL's sock& collection./%%" - if (read > 0) - global.msg[0] = "* You can't stop looking& at the socks./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (You came all the way& back here to look at& Toriel's socks.)/" - global.msg[1] = "* (You have great priorities& in life.)/%%" - } - } -} -if (room == room_asgoreroom) -{ - global.msg[0] = "* It's a clothes drawer^1.&* There are robes^1, button-up& shirts.../" - global.msg[1] = "* ... and a pink^1, hand-knit& sweater that says& " + chr(34) + "Mr. Dad Guy." + chr(34) + "/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* Still has that sweater./%%" - if (y > 120) - global.msg[0] = "* (It's just a chair.)/%%" -} -if (room == room_castle_throneroom) - global.msg[0] = "* (It's a throne.)/%%" -if (room == room_torhouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_asghouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_kitchen) - global.msg[0] = "* For some reason^1, there& is a brand-name chocolate& bar in the fridge./%%" -if (room == room_kitchen_final) -{ - global.msg[0] = "* (The fridge is full of& unopened containers of& snails.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* No chocolate./%%" -} -if (room == room_tundra1) - global.msg[0] = "* ...!^1?&* There's a camera hidden& in the bushes./%%" -if (room == room_tundra8A) - global.msg[0] = "* (His.)/%%" -if (room == room_tundra_snowpuzz) -{ - if (global.plot <= 48) - global.msg[0] = "* There's a switch hidden& in the snow^1.&* Click!/%%" - if (global.plot > 48) - global.msg[0] = "* The switch is stuck now./%%" - if (global.flag[64] == 0) - global.flag[64] = 1 - if (global.plot <= 48) - global.plot = 49 - if (scr_murderlv() >= 3) - global.msg[0] = "* There's a switch here^1.&* It's been depressed with& vines./%%" -} -if (room == room_tundra_lesserdog) - global.msg[0] = "* On the floor inside is& a box of pomeraisins./%%" -if (room == 9999999) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are super crap./" - global.msg[2] = "* When monsters die^1, their& bodies turn into dust./" - global.msg[3] = "* One time this kid at my school& went missing for a week and& everyone thought he was dead.../" - global.msg[4] = "* But then he came back!!!/" - global.msg[5] = "* Turns out he was visiting his& girlfriend in Hotland and& and didn't tell anyone!/" - global.msg[6] = "* To be scientific^1, it sucks& that no one ever knows& if anyone's dead or alive./" - global.msg[7] = "* So yeah^1, what do we do at& funerals^1, anyway?/" - global.msg[8] = "* Professionally speaking:/" - global.msg[9] = "* DUH!!!/" - global.msg[10] = "* We pour the dust on whatever& that person liked./" - global.msg[11] = "* Then they will live on..^1.& ... in that object...& ... symbolically.../" - global.msg[12] = "* Uhhh^1, did I reach the page& minimum yet^1?&* I'm kinda sick of writing./%%" -} -if (room == room_tundra_library) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are cool as heck./" - global.msg[2] = "* When monsters get old and& kick the bucket^1, they turn& into dust./" - global.msg[3] = "* At funerals^1, we take that& dust and spread it on that& person's favorite thing./" - global.msg[4] = "* Then their essence will live& on in that thing.../" - global.msg[5] = "* Uhhh^1, am I at the page& minimum yet^1?&* I'm kinda sick of writing this./%%" -} -if (room == room_tundra_inn) -{ - global.msg[0] = "\W* Mom says that sleeping& can recover your health& \Yabove your maximum HP\W./" - global.msg[1] = "* ... what's maximum HP?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* Mom says that we can& go to the surface world& now!/" - global.msg[1] = "* ... what's so great about& that^1, anyway^1?&* I don't wanna move./%%" - } - if (scr_murderlv() >= 7) - global.msg[0] = "* (It's merely a decoy.)/%%" -} -if (room == room_water12) -{ - global.msg[0] = "* " + chr(34) + "The power to take their& SOULs." + chr(34) + "/" - global.msg[1] = "* " + chr(34) + "This is the power that& the humans feared." + chr(34) + "/%%" -} -if (room == room_water7) -{ - global.msg[0] = "* (Ancient writing covers the& walls..^1. you can just make& out the words.)/" - global.msg[1] = "* " + chr(34) + "The War of Humans and& Monsters." + chr(34) + "/%%" -} -if (room == room_water14) - global.msg[0] = "* The northern room hides a& great treasure./%%" -if (room == room_water15) -{ - global.msg[0] = "* Hurt, beaten, and fearful for& our lives, we surrendered& to the humans./" - global.msg[1] = "* Seven of their greatest& magicians sealed us underground& with a magic spell./" - global.msg[2] = "* Anything can enter through the& seal, but only beings with a& powerful SOUL can leave./%%" -} -if (room == room_water19) -{ - global.msg[0] = "* However...&* There is a prophecy./" - global.msg[1] = "* The Angel...&* The One Who Has Seen The& Surface.../" - global.msg[2] = "* They will return.&* And the underground will go& empty./%%" -} -if (room == room_water_nicecream) - global.msg[0] = "* The ancient glyphs have been& painted over with a list of& 21 different flavors./%%" -if (room == room_water_prebird) - global.msg[0] = "* Achoo^1!&* Tried to catch a bug^1, but& I just caught a cold.../%%" -if (room == room_water_preundyne) -{ - global.msg[0] = "* The humans, afraid of our& power^1, declared war on us./" - global.msg[1] = "* They attacked suddenly, and& without mercy./%%" -} -if (room == room_water17) - global.msg[0] = "* Without candles or magic to& guide them Home^1, the monsters& used crystals to navigate./%%" -if (room == room_water20) -{ - if instance_exists(obj_monsterkidtrigger7) - obj_monsterkidtrigger7.con = 80 - cantalk = 0 -} -if (room == room_fire_lab1) -{ - global.msg[0] = "* (It's a beat-up figurine& of a female human with& cat ears.)/%%" - if (global.plot < 126 && scr_murderlv() < 12) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" -} -if (room == room_fire_lab2) - global.msg[0] = "* (Scientific books.^1)&* (They seem very dusty.)/%%" -if (room == room_fire_cookingshow) -{ - global.msg[0] = "* (It's a fridge.^1)&* (It's strangely warm.)/%%" - if (global.plot < 134) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" - if instance_exists(obj_mettaton_npc) - { - global.typer = 27 - global.msg[0] = "* MILK^1? EGGS^1? IN THE FRIDGE?/" - global.msg[1] = "* NO WAY^1, DARLING^1!&* THEY'D GET COLD!!!/%%" - } - if (global.plot == 134) - { - snd_play(snd_phone) - global.typer = 5 - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* Um^1, is it really& a good idea to be& getting a snack?/" - global.msg[3] = "\E8* Well^1, I guess I& really shouldn't& judge you.../" - global.msg[4] = "\E0* After all^1, I'm the& one eating potato& chips in my PJs!/" - global.msg[5] = "\E5* Uhhh^1, I mean..^1.&* H-hey^1, go over to& the right!/%%" - if (specialread > 0) - { - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* H-hey^1!&* Head over to the& right!/%%" - } - specialread += 1 - } -} -if (room == room_water_undynehouse) -{ - global.typer = 37 - global.facechoice = 5 - global.faceemotion = 4 - global.msc = 0 - if (x > 180) - { - global.msg[0] = "* I hate cold food./" - global.msg[1] = "\E0* So Alphys fixed up& my fridge so it& heats up food instead!/" - global.msg[2] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - if (read > 0) - global.msg[0] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - } - else - { - global.faceemotion = 0 - global.msg[0] = "* This oven is some& top-of-the-line& MTT thing./" - global.msg[1] = "\E4* But^1, y'know^1, as much& as technology& advances.../" - global.msg[2] = "\E0* Nothing beats food& home-cooked with& fire magic./%%" - } -} -if (room == room_fire_spidershop) -{ - global.msg[0] = "* (It looks like some sort of& powerful bracelet...)/" - global.msg[1] = "* (Wait.^1)&* (It's just a croissant...)/%%" -} -if (room == room_fire_hotelfront_2) - global.msg[0] = "* (It's just a regular wall.)/%%" -if (room == room_fire_core_branch) - global.msg[0] = "* (East...)&* (The End.)/%%" -if (room == room_fire_core_left) - global.msg[0] = "* (Solve this puzzle,& and The End will open.)/%%" -if (room == room_fire_core_top) - global.msg[0] = "* (Traverse the northern& room^1, and The End will& open.)/%%" -if (room == room_fire_core_right) -{ - global.msg[0] = "* (I cannot fight.)&* (I cannot think.)/" - global.msg[1] = "* (But^1, with patience^1,& I will make my way& through.)/%%" -} -if (room == room_fire_core_center) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_treasureleft) - global.msg[0] = "* (Why not relax and have& a nice snack?)/%%" -if (room == room_fire_core_treasureright) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_metttest) -{ - global.msg[0] = "* (It's completely trashed.^1)&* (There's no way it could& ever be repaired.)/%%" - if (global.flag[425] == 0) - global.msg[0] = "* (It's out of batteries.)/%%" -} -if (room == room_truelab_hall1) -{ - global.msg[0] = "* ENTRY NUMBER 1/" - global.msg[1] = "* This is it..^1.&* Time to do what the King& has asked me to do./" - global.msg[2] = "* I will create the power to& free us all./" - global.msg[3] = "* I will unleash the power of& the SOUL./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hub) -{ - global.msg[0] = "* POWER ROOM/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall2) -{ - global.msg[0] = "* ENTRY NUMBER 6/" - global.msg[1] = "* ASGORE asked everyone& outside the city for monsters& that had " + chr(34) + "fallen down." + chr(34) + "/" - global.msg[2] = "* Their bodies came in today./" - global.msg[3] = "* They're still comatose..^1.&* And soon^1, they'll all& turn into dust./" - global.msg[4] = "* But what happens if I& inject " + chr(34) + "determination" + chr(34) + " into& them?/" - global.msg[5] = "* If their SOULS persist& after they perish^1, then.../" - global.msg[6] = "* Freedom might be closer& than we all thought./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_operatingroom) -{ - global.msg[0] = "* ENTRY NUMBER 9/" - global.msg[1] = "* things aren't going well./" - global.msg[2] = "* none of the bodies have& turned into dust^1, so I& can't get the SOULs./" - global.msg[3] = "* i told the families that& i would give them the& dust back for the funerals./" - global.msg[4] = "* people are starting to& ask me what's happening./" - global.msg[5] = "* what do i do?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_prebed) -{ - global.msg[0] = "* ENTRY NUMBER 12/" - global.msg[1] = "* nothing is happening^1.&* i don't know what to do./" - global.msg[2] = "* i'll just keep injecting& everything with& " + chr(34) + "determination." + chr(34) + "/" - global.msg[3] = "* i want this to work./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_bedroom) -{ - global.msg[0] = "* ENTRY NUMBER 14/" - global.msg[1] = "* Everyone that had fallen& down.../" - global.msg[2] = "* ... has woken up./" - global.msg[3] = "* They're all walking around& and talking like nothing& is wrong./" - global.msg[4] = "* I thought they were& goners...?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_mirror) -{ - global.msg[0] = "* ENTRY NUMBER 7/" - global.msg[1] = "* We'll need a vessel to& wield the monster SOULs& when the time comes./" - global.msg[2] = "* After all^1, a monster& cannot absorb the SOULs& of other monsters./" - global.msg[3] = "* Just as a human cannot& absorb a human SOUL.../" - global.msg[4] = "* So then.../" - global.msg[5] = "* What about something that's& neither human nor monster?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall3) -{ - global.msg[0] = "* ENTRY NUMBER 15/" - global.msg[1] = "* Seems like this research& was a dead end.../" - global.msg[2] = "* But at least we got a& happy ending out of it...?/" - global.msg[3] = "* I sent the SOULS back to& ASGORE^1, returned the& vessel to his garden..../" - global.msg[4] = "* And I called all of the& families and told them& everyone's alive./" - global.msg[5] = "* I'll send everyone back& tomorrow. :) /%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* ENTRY NUMBER 17/" - global.msg[1] = "* monsters' physical forms& can't handle " + chr(34) + "determination" + chr(34) + "& like humans' can./" - global.msg[2] = "* with too much determination^1,& our bodies begin to break& down./" - global.msg[3] = "* everyone's melted together.../%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* DT EXTRACTION MACHINE&* STATUS: INACTIVE/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_tv) -{ - global.msg[0] = "* ENTRY NUMBER 4/" - global.msg[1] = "* I've been researching humans& to see if I can find any& info about their SOULS./" - global.msg[2] = "* I ended up snooping around& the castle...&* And found these weird tapes./" - global.msg[3] = "* I don't feel like ASGORE's& watched them.../" - global.msg[4] = "* I don't think he should./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_fan) - global.msc = 780 -if (room == room_truelab_cooler) -{ - global.msg[0] = "* ENTRY NUMBER 19/" - global.msg[1] = "* the families keep calling& me to ask when everyone& is coming home./" - global.msg[2] = "* what am i supposed to say?/" - global.msg[3] = "* i don't even answer the& phone anymore./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" - if (global.flag[490] == 0) - global.msg[0] = "* (It's too dark to see near& the walls.)/%%" -} -if (room == room_truelab_prepower) -{ - global.msg[0] = "* (Seems to be turned off.)/%%" - if (global.flag[485] == 1) - { - global.msg[0] = "* ENTRY NUMBER 8/" - global.msg[1] = "* I've chosen a candidate./" - global.msg[2] = "* I haven't told ASGORE yet^1,& because I want to surprise& him with it.../" - global.msg[3] = "* In the center of his& garden^1, there's something& special./" - global.msg[4] = "* The first golden flower^1,& that grew before all the& others./" - global.msg[5] = "* The flower from the outside& world./" - global.msg[6] = "* It appeared just before& the queen left./" - global.msg[7] = "* I wonder.../" - global.msg[8] = "* What happens when something& without a SOUL gains& the will to live?/%%" - } -} -if (room == room_truelab_elevatorinside) - global.msg[0] = "* (None of the buttons work.^1)&* (It seems to have lost power.)/%%" -if (room == room_castle_elevatorout) - global.msg[0] = "* (The door is jammed shut& with vines.)/%%" -if (room == room_truelab_castle_elevator) - global.msg[0] = "* (Seems like another elevator& has lost its power.)/%%" -if (room == room_tundra_grillby) - global.msg[0] = "* (The jukebox is broken.)/%%" -if (room == room_water_blookyard) - global.msg[0] = "* (It's locked.)/%%" -if (room == room_tundra_sansroom) - global.msg[0] = "* (It's a worn mattress.^1)&* (The sheets are bunched up in a& weird^1, creasy ball.)/%%" -if (room == room_tundra_sansbasement) -{ - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (He looks happy.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (... and^1, one photo of you& standing with Sans and all& your friends.)/" - global.msg[3] = "* (He looks happy.)/%%" - } - if (global.flag[279] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of..^1. Huh?)/" - global.msg[2] = "* (A card is sticking out from& the back flap of the binder.)/" - global.msg[3] = "* (It's a poorly drawn picture& of three smiling people.^1)&* (Written on it...)/" - global.msg[4] = "* " + chr(34) + "don't forget." + chr(34) + "/%%" - } -} -if (room == room_fire_pacing) -{ - global.msg[0] = "* (It's a poster for Mettaton's& latest stage performance.)/" - global.msg[1] = "* (A tragic tale of two star-& crossed lovers^1, kept apart& by the tides of fate...)/" - global.msg[2] = "* (Looks like it's almost time& for the performance.)/%%" -} -if (room == room_fire_hoteldoors) - global.msg[0] = "* (It's locked from the inside.)/%%" -if (room == room_fire_hotellobby) -{ - global.msg[0] = "* (There's an inscription on& this fountain.)/" - global.msg[1] = "* Royal Memorial Fountain&* Built 201X&* (Mettaton Added Last Week)/%%" -} -if (room == room_fire_restaurant) -{ - global.msg[0] = "* (It's a Wall of Fame full of& quotes and photos from visiting& celebrities.)/" - global.msg[1] = "* " + chr(34) + "The food is to die for!^1" + chr(34) + "&* " + chr(34) + "Gorgeous style and fragrance!^1" + chr(34) + "&* " + chr(34) + "My face tastes beautiful!" + chr(34) + "/" - global.msg[2] = "* (... these are all Mettaton.)/%%" -} -if (room == room_fire_hotelbed) -{ - global.msg[0] = "* (It's a lamp.^1)&* (There's no lightswitch.)/" - global.msg[1] = "* (It says that stars make& their own light...)/%%" -} -if (room == room_water_temvillage) - global.msg[0] = "* (Rich history of Tem.)/%%" -read += 1 -if (cantalk == 1) - mydialoguer = instance_create(0, 0, obj_dialoguer) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index d03c73c02..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - draw_set_font(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, "Exit") - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if keyboard_check_pressed(vk_return) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - draw_set_font(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (keyboard_check_pressed(vk_return) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_truechara_Step_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_truechara_Step_0.gml deleted file mode 100644 index 0b3663c04..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_truechara_Step_0.gml +++ /dev/null @@ -1,192 +0,0 @@ -if (con == 1) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Greetings./" - global.msg[1] = (("I^2 am " + global.charname) + "./%%") - instance_create(220, 320, OBJ_WRITER) - con = 2 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - caster_loop(ch_sfx1, 1, 1) - con = 3 - alarm[4] = 60 -} -if (con == 4) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Thank you./" - global.msg[1] = "Your power awakened&me from death./" - global.msg[2] = 'My "human soul."/' - global.msg[3] = 'My "determination."/' - global.msg[4] = "They were not mine^1,&but YOURS./" - global.msg[5] = "At first^1, I&was so confused./" - global.msg[6] = "Our plan had failed^1,&hadn't it?/" - global.msg[7] = "Why was I brought&back to life?/" - global.msg[8] = ".../" - global.msg[9] = "You./" - global.msg[10] = "With your guidance./" - global.msg[11] = "I realized the purpose&of my reincarnation./" - global.msg[12] = "Power./" - global.msg[13] = "Together^1, we eradicated&the enemy and became&strong./" - global.msg[14] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[15] = "Every time a number&increases^1, that&feeling.../" - global.msg[16] = "That's me./" - global.msg[17] = (('"' + global.charname) + '."/') - global.msg[18] = "Now./" - global.msg[19] = "Now, we have reached&the absolute./" - global.msg[20] = "There is nothing&left for us here./" - global.msg[21] = "Let us erase this&pointless world^1, and&move on to the next./%%" - if file_exists("system_information_963") - { - global.msg[0] = (('"' + global.charname) + '."/') - global.msg[1] = "The demon that comes&when people call&its name./" - global.msg[2] = "It doesn't matter when./" - global.msg[3] = "It doesn't matter where./" - global.msg[4] = "Time after time,&I will appear./" - global.msg[5] = "And, with your help./" - global.msg[6] = "We will eradicate the&enemy and become&strong./" - global.msg[7] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[8] = "Every time a number&increases^1, that&feeling.../" - global.msg[9] = "That's me./" - global.msg[10] = (('"' + global.charname) + '."/') - global.msg[11] = ".../" - global.msg[12] = "But./" - global.msg[13] = "You and I are not&the same^1, are we?/" - global.msg[14] = "This SOUL resonates&with a strange&feeling./" - global.msg[15] = "There is a reason&you continue to&recreate this world./" - global.msg[16] = "There is a reason&you continue to&destroy it./" - global.msg[17] = "You./" - global.msg[18] = "You are wracked with&a perverted&sentimentality./" - global.msg[19] = "Hmm./" - global.msg[20] = "I cannot understand&these feelings&any more./" - global.msg[21] = "Despite this./" - global.msg[22] = "I feel obligated to&suggest./" - global.msg[23] = "Should you choose to&create this world&once more./" - global.msg[24] = "Another path would&be better suited./" - global.msg[25] = "Now, partner./" - global.msg[26] = "Let us send this&world back into the&abyss./%%" - } - instance_create(150, 320, OBJ_WRITER) - con = 5 -} -if (con == 5 && instance_exists(OBJ_WRITER) == 0) -{ - con = 6 - alarm[4] = 30 -} -if (con == 7) -{ - con = 8 - choicer = 1 -} -if (con == 20) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Right^1. You are a&great partner./" - global.msg[1] = "We'll be together&forever^1, won't we?/%%" - con = 22 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 22 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - sprite_index = spr_truechara_weird -} -if (con == 22 && instance_exists(OBJ_WRITER) == 0) - con = 60 -if (con == 30) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "No...?/" - global.msg[1] = "Hmm.../" - global.msg[2] = "How curious./" - global.msg[3] = "You must have&misunderstood./" - global.msg[4] = "SINCE WHEN WERE YOU&THE ONE IN CONTROL?/%%" - if file_exists("system_information_963") - { - global.msg[0] = "No...?/" - global.msg[1] = "Hmm...&This feeling you have./" - global.msg[2] = "This is what I&spoke of./" - global.msg[3] = "Unfortunately,®arding this.../" - global.msg[4] = "YOU MADE YOUR CHOICE&LONG AGO./%%" - } - con = 31 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 31 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 4) - sprite_index = spr_truechara_weird -} -if (con == 31 && instance_exists(OBJ_WRITER) == 0) - con = 40 -if (con == 40) -{ - caster_stop(-3) - caster_play(ch_sfx2, 1, 0.95) - sprite_index = spr_truechara_laugh - image_speed = 0.5 - con = 41 - flashred = 1 - alarm[4] = 120 - wx = 0 - wy = 0 - if (global.osflavor == 1) - { - window_set_fullscreen(false) - window_set_caption(" ") - window_center() - wx = window_get_x() - wy = window_get_y() - } -} -if (con == 41) -{ - x = (((room_width / 2) + random(4)) - random(4)) - y = (((room_height / 2) + random(4)) - random(4)) - image_xscale += 0.08 - image_yscale += 0.08 - if (global.osflavor == 1) - window_set_position(((wx + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4))), ((wy + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4)))) -} -if (con == 42) -{ - con = 60 - if (global.osflavor == 1) - window_center() - flashred = 0 -} -if (con == 60) -{ - caster_free(-3) - snd_play(snd_laz) - image_speed = 0 - image_index = 0 - sprite_index = spr_strike - image_xscale = 5 - image_yscale = 5 - y = ((room_height / 2) - (sprite_height / 2)) - x = ((room_width / 2) - (sprite_width / 2)) - image_speed = 0.1 - con = 61 -} -if (con == 61) -{ - if (image_index >= 5.5) - { - visible = false - con = 62 - alarm[4] = 40 - } -} -if (con == 63) -{ - snd_play(snd_damage) - instance_create(0, 0, obj_gameshake) - con = 64 -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index f424d711c..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = string("0") - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ccf249543..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6411 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = " " - adder = "\W " - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y " - if (global.flag[22] == 2) - adder = "\p " - } - global.msg[0] = adder - global.msg[0] += (" * " + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += " A" - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += " B" - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += " C" - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = " " - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y " - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p " - } - } - global.msg[0] += " * Spare" - if (global.mercy == 0) - global.msg[0] += "& \W * Flee" - break - case 9: - global.msg[0] = ((" * " + global.itemnameb[0]) + " ") - if (global.item[1] != 0) - global.msg[0] += ("* " + global.itemnameb[1]) - global.msg[0] += " &" - if (global.item[2] != 0) - global.msg[0] += ((" * " + global.itemnameb[2]) + " ") - if (global.item[3] != 0) - global.msg[0] += ("* " + global.itemnameb[3]) - global.msg[0] += " & PAGE 1" - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = ((" * " + global.itemnameb[4]) + " ") - if (global.item[5] != 0) - global.msg[0] += ("* " + global.itemnameb[5]) - global.msg[0] += " &" - if (global.item[6] != 0) - global.msg[0] += ((" * " + global.itemnameb[6]) + " ") - if (global.item[7] != 0) - global.msg[0] += ("* " + global.itemnameb[7]) - global.msg[0] += " & PAGE 2" - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += (("* You recovered " + string(global.item[8])) + " HP!/%") - else - global.msg[0] += "* Your HP was maxed out./%" - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = (("* You bid a quiet farewell& to the " + global.itemname[global.menucoord[1]]) + ".") - if (i == 1) - global.msg[0] = (("* You put the " + global.itemname[global.menucoord[1]]) + "& on the ground and gave it a& little pat.") - if (i == 2) - global.msg[0] = (("* You threw the " + global.itemname[global.menucoord[1]]) + "& on the ground like the piece& of trash it is.") - if (i == 3) - global.msg[0] = (("* You abandoned the & " + global.itemname[global.menucoord[1]]) + ".") - if (i > 3) - global.msg[0] = (("* The " + global.itemname[global.menucoord[1]]) + " was& thrown away.") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = " * I'm outta here." - if (i == 2) - global.msg[0] = " * I've got better to do." - if (i > 3) - global.msg[0] = " * Escaped..." - if (i == 3) - global.msg[0] = " * Don't slow me down." - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = ((((" * Ran away with " + string(global.xpreward[3])) + " EXP& and ") + string(global.goldreward[3])) + " GOLD.") - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = "* (The shadow of the ruins& looms above^1, filling you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins7) - { - global.msg[0] = "* (Playfully crinkling through& the leaves fills you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins12A) - { - global.msg[0] = "* (Knowing the mouse might one& day leave its hole and& get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_ruins19) - global.msg[0] = "* (Seeing such a cute^1, tidy& house in the RUINS gives& you determination.)/%%" - if (global.flag[202] >= 20) - global.msg[0] = "* Determination./%%" - if (room == room_tundra1) - global.msg[0] = "* (The cold atmosphere of a& new land... it fills you& with determination.)/%%" - if (room == room_tundra3) - global.msg[0] = "* (The convenience of that& lamp still fills you& with determination.)/%%" - if (room == room_tundra_spaghetti) - { - global.msg[0] = "* (Knowing the mouse might one& day find a way to heat& up the spaghetti...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = "* (Knowing that dog will& never give up trying to& make the perfect snowdog...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - if (global.flag[55] == 1) - { - global.msg[0] = "* (Snow can always be broken& down and rebuilt into& something more useful.)/" - global.msg[1] = "* (This simple fact fills& you with determination.)/%%" - } - } - if (room == room_tundra_town) - global.msg[0] = "* (The sight of such a friendly& town fills you with& determination.)/%%" - if (room == room_water2) - global.msg[0] = "* (The sound of rushing water& fills you with& determination.)/%%" - if (room == room_water4) - global.msg[0] = "* (A feeling of dread hangs& over you...^1)&* (But you stay determined.)/%%" - if (room == room_water_savepoint1) - { - global.msg[0] = "* (Knowing the mouse might one& day extract the cheese from& the mystical crystal...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_preundyne) - { - global.msg[0] = "* (The sound of muffled rain& on the cavetop...)/" - if (global.flag[86] == 1) - global.msg[0] = "* (The serene sound of a& distant music box...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_trashzone2) - global.msg[0] = "* (The feeling of your socks& squishing as you step& gives you determination.)/%%" - if (room == room_water_trashsavepoint) - { - global.msg[0] = "* (The waterfall here seems& to flow from the& ceiling of the cavern...)/" - global.msg[1] = "* (Occasionally^1, a piece of& trash will flow& through...)/" - global.msg[2] = "* (... and fall into the& bottomless abyss below.)/" - global.msg[3] = "* (Viewing this endless& cycle of worthless& garbage...)/" - global.msg[4] = "* (It fills you with& determination.)/%%" - if (global.flag[91] == 1) - global.msg[0] = "* (Partaking in worthless& garbage fills you& with determination.)/%%" - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = "* (You feel a calming& tranquility^1. You're filled& with determination...)/%%" - if (room == room_water_temvillage) - global.msg[0] = "* (You feel..^1. something.)&* (You're filled with& detemmienation.)/%%" - if (room == room_water_undynefinal) - { - global.msg[0] = "* (The wind is howling^1.&* You're filled with& determination...)/%%" - if (global.flag[99] > 0) - global.msg[0] = "* (The howling wind is& now a breeze^1. This gives& you determination...)/%%" - if (global.flag[350] == 1) - global.msg[0] = "* (The wind has stopped^1.&* You're filled with& determination...)/%%" - } - if (room == room_fire_prelab) - { - global.msg[0] = "* (Seeing such a strange& laboratory in a place like& this...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire6) - global.msg[0] = "* (The wooshing sound of steam& and cogs..^1. it fills you& with determination.)/%%" - if (room == room_fire_savepoint1) - { - global.msg[0] = "* (An ominous structure looms& in the distance...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_mewmew2) - { - global.msg[0] = "* (Knowing the mouse might one& day hack the computerized& safe and get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_fire_hotelfront_1) - global.msg[0] = "* (A huge structure lies north.^1)&* (You're filled with& determination.)/%%" - if (room == room_fire_hotellobby) - global.msg[0] = "* (The relaxing atmosphere& of this hotel..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_branch) - global.msg[0] = "* (The air is filled with& the smell of ozone..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_premett) - { - global.msg[0] = "* (Behind this door must be& the elevator to the King's& castle.)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_savepoint2) - { - global.msg[0] = "* (The smell of cobwebs fills& the air...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& put away.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& tossed inside recklessly.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& placed thoughtfully inside.") - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& grabbed impatiently.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out and held like a& small puppy.") - global.msg[0] += "/%" - break - case 18: - global.msg[0] = "* You can't carry any more./%%" - break - case 19: - global.msg[0] = "* The box is full./%%" - break - case 23: - global.msg[0] = "* You leave the Quiche on the& ground and tell it you'll& be right back./%%" - break - case 30: - global.msg[0] = "* Use the box?& & Yes No \C " - global.msg[1] = " " - global.msg[2] = " " - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = " %%" - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = "* You have no items^1.&* You put a little time into& the box./%%" - if (gx == 1) - global.msg[0] = "* You have no items^1.&* You put a little effort& into the box./%%" - if (gx == 2) - global.msg[0] = "* You have no items^1.&* You put a little feeling& into the box./%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 200: - global.msg[0] = "\W* Howdy^2!&* I'm\Y FLOWEY\W.^2 &* \YFLOWEY\W the \YFLOWER\W!/" - global.msg[1] = "* Hmmm.../" - global.msg[2] = "* You're new to the& UNDERGROUND^2, aren'tcha?/" - global.msg[3] = "* Golly^1, you must be& so confused./" - global.msg[4] = "* Someone ought to teach& you how things work& around here!/" - global.msg[5] = "* I guess little old me& will have to do./" - global.msg[6] = "* Ready^2?&* Here we go!/%%" - break - case 201: - global.msg[0] = "\E2* This way./%%" - global.msg[1] = "%%%" - break - case 202: - global.msg[0] = "\E2* Welcome to your new& home^1, innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of the& RUINS./%%" - break - case 203: - global.msg[0] = "\E2* The RUINS are full of& puzzles./" - global.msg[1] = "* Ancient fusions between & diversions and doorkeys./" - global.msg[2] = "* One must solve them& to move from room to& room./" - global.msg[3] = "* Please adjust yourself to the sight of them./%" - break - case 204: - global.msg[0] = "\E2* To make progress here,^1 & you will need to trigger& several switches./" - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./%" - if (global.flag[6] == 1) - { - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./" - global.msg[2] = "* ... eh^1?&* It seems that the& labelling has worn away./" - global.msg[3] = "* Oh dear./" - global.msg[4] = "* This might be far more& challenging than I& anticipated.../%%" - } - break - case 205: - global.msg[0] = "\E2* The first switch is over& on the wall./%" - break - case 206: - global.msg[0] = "\E1* Do you need some help..^1?&* Press the switch on the wall./" - global.msg[1] = "\E0* Come on^1, you can do it!/%" - break - case 207: - global.msg[0] = "\E2* Go on^1, press the switch& on the left./%" - if (global.flag[6] == 1) - global.msg[0] = "\E2* I believe it was& the switch on the& left./%" - break - case 208: - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/" - global.msg[1] = "\E0* Press the switch that I& labelled for you./%" - if (global.flag[6] == 1) - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/%%" - break - case 209: - global.msg[0] = "\E1* You are very curious,^1 & are you not?/" - global.msg[1] = "\E1* Please understand.^2 & \E0I only want the best& for you./%" - break - case 210: - global.msg[0] = "\E0* Splendid!^2 &* I am proud of you,^1 & little one./" - global.msg[1] = "* Let us move to the& next room./%" - break - case 211: - global.msg[0] = "\E1* As a human living in& the UNDERGROUND,^1 & monsters may attack you./" - global.msg[1] = "\E2* You will need to be& prepared for this& situation./" - global.msg[2] = "\E0* However, worry not!^2 &* The process is simple./" - global.msg[3] = "\E2* When you encounter a & monster,^1 you will enter& a FIGHT./" - global.msg[4] = "* While you are in a& FIGHT^1, strike up a& friendly conversation./" - global.msg[5] = "\E2* Stall for time.& I will come to resolve& the conflict./" - global.msg[6] = "\E2* Practice talking to& the dummy./%" - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = "\E1* Ahh,^1 the dummies are& not for fighting!^2 &* They are for talking!/" - global.msg[1] = "* We do not want to hurt& anybody, do we...?^2 \E0 &* Come now./%" - } - if (global.flag[10] == 1) - global.msg[0] = "\E0* Ah,^1 very good!^2 &* You are very good./%" - if (global.flag[11] == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E1* ... you ran away.../" - global.msg[2] = "\E0* Truthfully^1, that was& not a poor choice./" - global.msg[3] = "\E0* It is better to& avoid conflict& whenever possible./" - global.msg[4] = "\E1* That..^1. however^1, is& only a dummy^2.&* It cannot harm you./" - global.msg[5] = "\E1* It is made of cotton^1.&* It has no desire& for revenge.../" - global.msg[6] = "\E0* Nevermind^2.&* Stay close to me and& I will keep you safe./%" - } - if (global.flag[13] == 1) - { - global.msg[0] = "\E3* ^1.^1.^1./" - global.msg[1] = "\E4* ^1.^1.^1./" - global.msg[2] = "\E0* The next room awaits./%" - } - break - case 213: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E2 &* I do not think the dummy& will be bothered./%" - break - case 214: - global.msg[0] = "\E0* Do you need some& ideas for conversation& topics?/" - global.msg[1] = "* Well^1, I often start with& a simple 'how do you& do...'/" - global.msg[2] = "* You could ask them about& their favorite books.../" - global.msg[3] = "* Jokes can be useful for& 'breaking the ice.'/" - global.msg[4] = "* Listen to this one.../" - global.msg[5] = "* What did the skeleton& tile his roof with?/" - global.msg[6] = "* ... SHIN-gles!/" - global.msg[7] = "\E1* .../" - global.msg[8] = "\E0* Well^1, I thought it& was amusing./%" - break - case 215: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E0 &* The dummy will not& be bothered./%" - break - case 216: - global.msg[0] = "\E1* There is another puzzle& in this room.../" - global.msg[1] = "\E0* I wonder if you can& solve it?/%" - break - case 217: - global.msg[0] = "\E1* This is the puzzle^1,& but.../" - global.msg[1] = "\E0* Here^1, take my hand& for a moment./%" - break - case 218: - global.msg[0] = "\E1* Puzzles seem a little& too dangerous for& now./%" - break - case 219: - global.msg[0] = ".../%" - break - case 220: - global.msg[0] = "\E2* Greetings,^1 my child^2.&* Do not worry^1, I did& not leave you./" - global.msg[1] = "\E0* I was merely behind this& pillar the whole time./" - global.msg[2] = "* Thank you for trusting& me./" - global.msg[3] = "\E2* However^1, there was an& important reason for& this exercise./" - global.msg[4] = "* ... to test your& independence./" - global.msg[5] = "\E1* I must attend to some& business^1, and you must& stay alone for a while./" - global.msg[6] = "\E0* Please remain here^2.&*\E1 It's dangerous to& explore by yourself./" - global.msg[7] = "\E0* I have an idea^2.&* I will give you a& CELL PHONE./" - global.msg[8] = "* If you have a need for& anything^1, just call./" - global.msg[9] = "\E1* Be good^1, alright?/%" - break - case 221: - global.msg[0] = "\E0* You have done& excellently thus& far^1, my child./" - global.msg[1] = "\E2* However... I have a& difficult request to ask& of you./" - global.msg[2] = "* .../" - global.msg[3] = "* I would like you to walk& to the end of the room& by yourself./" - global.msg[4] = "\E1* Forgive me for this./%" - break - case 222: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?& Cinnamon Bscotch \C" - global.msg[5] = " " - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ini_close() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - global.msg[0] = "* Oh^1, I see.&* Thank you very much!/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* Click.../%%" - global.msg[5] = "* /" - break - case 224: - global.msg[0] = "* It's a fishing rod affixed& to the ground.../" - global.msg[1] = "* Reel it in?& & Yes No \C " - global.msg[2] = " " - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = "* All that's attached to& the end is a photo of a& weird-looking monster.../" - global.msg[1] = "* (Call Me!& Here's my number!)/" - global.msg[2] = "* You decide not to call./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* All that's attached to& the end is a note./" - global.msg[1] = "* (Nevermind^1, guys!)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* You leave it alone./%%" - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = "* I shouldn't have given myself& away so easily.../%%" - if (global.flag[56] == 4) - { - global.msg[0] = "* Did you just...&* Consume the part of me& I had given you?/" - global.msg[1] = "* In front of my very eyes!?/" - global.msg[2] = "* I have no words for you..^1.&* Begone!/%%" - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = "* Thank you for taking care& of me.../%%" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = "* Huh^1? Again...?/" - global.msg[1] = "* I'm sorry..^1. if I give you& any more^1, there will be& nothing left of me./" - global.msg[2] = "* I suppose it is true^1.&* Travelling beyond our limits& is but a fantasy./" - global.msg[3] = "* It's no different for& anyone else./" - global.msg[4] = "* All of monsterkind& are doomed to stay& underground^1, forever.../%%" - } - } - if (global.flag[56] == 1) - { - global.msg[0] = "* How am I doing^1?&* By " + chr(34) + "I" + chr(34) + " I mean the piece& of me I gave you.../" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = "* Huh^1? You lost it...^1?&* ... I suppose I can give& you another piece.../" - scr_itemget(16) - if (noroom == 1) - global.msg[2] = "* You don't have any room^1?&* OK..^1. I understand I am not& a priority for you^1, then./%%" - else - { - global.msg[2] = "* Please be careful this& time./" - global.msg[3] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = "* Hello^1.&* I am a snowman./" - global.msg[1] = "* I want to see the world..^1.&* But I cannot move./" - global.msg[2] = "* If you would be so kind^1,& traveller^1, please.../" - global.msg[3] = "* Take a piece of me and& bring it very far away.& Yes No \C " - global.msg[4] = " " - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = "* It seems you do not& have enough room for me./%%" - else - { - global.msg[0] = "* Thank you... good luck!/" - global.msg[1] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* I see^1.&* Good journey^1, then./%%" - break - case 228: - global.msg[0] = "SANS!!^1!&THAT DIDN'T DO&ANYTHING!/" - if (global.flag[254] == 0) - global.msg[0] = "SANS!!^1!&THEY DIDN'T EVEN&LOOK AT IT!/" - scr_sansface(1, 0) - global.msg[2] = "* whoops./" - global.msg[3] = "* i knew i should have& used today's crossword& instead./" - scr_papface(4, 1) - global.msg[5] = "WHAT!^1?&CROSSWORD!?/" - global.msg[6] = "I CAN'T BELIEVE&YOU SAID THAT!!/" - global.msg[7] = "IN MY OPINION.../" - global.msg[8] = "\E3JUNIOR JUMBLE&IS EASILY THE&HARDEST./" - scr_sansface(9, 0) - global.msg[10] = "* what^1? really^1, dude^1?&* that easy-peasy word& scramble?/" - global.msg[11] = "\E1* that's for baby bones./" - scr_papface(12, 3) - global.msg[13] = "UN^1. BELIEVABLE./" - global.msg[14] = "\E0HUMAN!!^1!&SOLVE THIS DISPUTE!/" - global.msg[15] = "\TS \F0 \E0 \T0 %" - global.msg[16] = "* (Which is harder?)& & Jumble Crossword \C " - global.msg[17] = " " - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = "HA^1! HA^1! YES!/" - global.msg[2] = "HUMANS MUST BE&VERY INTELLIGENT!/" - global.msg[3] = "IF THEY ALSO FIND&JUNIOR JUMBLE&SO DIFFICULT!/" - global.msg[4] = "NYEH^1! HEH^1! HEH HEH!/%%" - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = "YOU TWO ARE WEIRD!/" - global.msg[2] = "\E3CROSSWORDS ARE SO&EASY./" - global.msg[3] = "IT'S THE SAME&SOLUTION EVERY&TIME./" - global.msg[4] = "\E0I JUST FILL ALL&THE BOXES IN WITH&THE LETTER " + chr(34) + "Z" + chr(34) + ".../" - global.msg[5] = "BECAUSE EVERY TIME&I LOOK AT A&CROSSWORD.../" - global.msg[6] = "ALL I CAN DO IS&SNORE!!!/" - global.msg[7] = "NYEH HEH HEH!!!/%%" - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here you go^1!&* Have a super-duper day^1!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1?&* You don't have enough& money.../" - global.msg[1] = "* I wish I could make& Nice Cream for free.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Out in the middle of& the woods.../%%" - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hey^1, you have an umbrella^1,& just like my cart.../" - global.msg[1] = "* Such solidarity^1!&* I have no choice but to& give you a deal!/" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Umbrella solidarity!^1?&* I guess I have to give& you a deal.../" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - } - if (itemcount > 2) - { - global.msg[0] = "* Hey^1!&* You have 3 Punch Cards!/" - global.msg[1] = "* How about redeeming them& for some Nice Cream!?/" - global.msg[2] = "* It's free!& & Yes No \C" - global.msg[3] = " " - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Super^1! Here you go^1!&* Your Card's in the box!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1? No money^1?&* Sorry^1, I can't give it to& you for free./%%" - if (global.flag[85] == 1) - global.msg[0] = "* Huh^1? You can't afford it& even with the discount^1?&* I.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = "* Here^1! A free Nice Cream^1!&* (You lost 3 cards and got& a Nice Cream.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Hidden in the depths of a& watery cavern.../%%" - } - break - case 235: - global.msg[0] = "* i've been thinking& about selling treats& too./" - global.msg[1] = "* want some fried snow^1?&* it's just 5G.& Buy No\C" - global.msg[2] = " " - break - case 236: - if (global.choice == 0) - { - global.msg[0] = "* did i say 5G^1?&* i meant 50G^1.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* i should charge way& more than than that./%%" - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = "* really^1?&* how about 5000G?& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* that's still too low./%%" - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = "* 50000G^1.&* that's my final offer.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* i have to pay for& the raw materials& somehow./%%" - break - case 239: - if (global.choice == 0) - { - global.msg[0] = "* what^1?&* you don't have the& money?/" - global.msg[1] = "* hey^1, that's okay./" - global.msg[2] = "\E1* i don't have any snow./%%" - if (global.gold >= 50000) - { - global.msg[0] = "* wow^1, that's a lot& of cash./" - global.msg[1] = "\E3* that's why i'm sorry& to say.../" - global.msg[2] = "\E3* i can't sell you& this fried snow./" - global.msg[3] = "\E2* it's got too much& sentimental value./%%" - } - } - if (global.choice == 1) - global.msg[0] = "* don't you know a& good deal when you& hear one?/%%" - break - case 240: - global.msg[0] = "WHAT!^1?&HOW DID YOU&AVOID MY TRAP?/" - global.msg[1] = "\E3AND^1, MORE&IMPORTANTLY.../" - global.msg[2] = "\E0IS THERE ANY&LEFT FOR ME???/" - global.msg[3] = "\TS \F0 \E0 \T0 %" - global.msg[4] = "* (What do you tell Papyrus& about his spaghetti?)& Ate it Left it \C " - global.msg[5] = " " - break - case 241: - scr_papface(0, 0) - global.msg[1] = "REALLY!?/" - if (global.choice == 0) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "NO ONE'S EVER&ENJOYED MY&COOKING BEFORE.../" - global.msg[4] = "\E0WELL THEN!!/" - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "YOU RESISTED THE&FLAVOR OF MY&HOMECOOKED PASTA.../" - global.msg[4] = "JUST SO YOU&COULD SHARE&IT WITH ME???/" - global.flag[62] = 2 - } - global.msg[5] = "\E0FRET NOT HUMAN^1!&I^1, MASTER CHEF&PAPYRUS.../" - global.msg[6] = "WILL MAKE YOU ALL&THE PASTA YOU&COULD EVER WANT!/" - global.msg[7] = "HEH HEH HEH HEH&HEH HEH NYEH!/%%" - break - case 243: - global.msg[0] = "HEY!/" - global.msg[1] = "IT'S THE HUMAN!/" - global.msg[2] = "\E0YOU'RE GONNA&LOVE THIS&PUZZLE!/" - global.msg[3] = "IT WAS MADE&BY THE GREAT&DR. ALPHYS!/" - global.msg[4] = "YOU SEE&THESE TILES&!?/" - global.msg[5] = "ONCE I THROW&THIS SWITCH.../" - global.msg[6] = "THEY WILL&BEGIN TO&CHANGE COLOR!/" - global.msg[7] = "EACH COLOR HAS&A DIFFERENT&FUNCTION!/" - global.msg[8] = "RED TILES ARE&IMPASSABLE!/" - global.msg[9] = "YOU CANNOT&WALK ON THEM!/" - global.msg[10] = "YELLOW TILES&ARE ELECTRIC!/" - global.msg[11] = "THEY WILL&ELECTROCUTE&YOU!/" - global.msg[12] = "GREEN TILES&ARE ALARM&TILES!/" - global.msg[13] = "IF YOU STEP&ON THEM.../" - global.msg[14] = "YOU WILL HAVE&TO FIGHT A&MONSTER!!/" - global.msg[15] = "ORANGE TILES&ARE ORANGE-&SCENTED./" - global.msg[16] = "THEY WILL MAKE&YOU SMELL&DELICIOUS!/" - global.msg[17] = "BLUE TILES ARE&WATER TILES./" - global.msg[18] = "SWIM THROUGH&IF YOU LIKE^1,&BUT.../" - global.msg[19] = "IF YOU SMELL&LIKE ORANGES!/" - global.msg[20] = "THE PIRANHAS&WILL BITE&YOU./" - global.msg[21] = "ALSO^1, IF A&BLUE TILE IS&NEXT TO A,/" - global.msg[22] = "YELLOW TILE^1,&THE WATER WILL&ALSO ZAP YOU!/" - global.msg[23] = "PURPLE TILES&ARE SLIPPERY!/" - global.msg[24] = "YOU WILL SLIDE&TO THE NEXT&TILE!/" - global.msg[25] = "HOWEVER^1, THE&SLIPPERY&SOAP.../" - global.msg[26] = "SMELLS LIKE&LEMONS!!/" - global.msg[27] = "WHICH PIRANHAS&DO NOT LIKE!/" - global.msg[28] = "PURPLE AND&BLUE ARE OK!/" - global.msg[29] = "FINALLY^1,&PINK TILES./" - global.msg[30] = "THEY DON'T DO&ANYTHING./" - global.msg[31] = "STEP ON THEM&ALL YOU LIKE./" - global.msg[32] = "HOW WAS THAT!^1?&UNDERSTAND???/" - global.msg[33] = "\TS \F0 \E0 \T0 %" - global.msg[34] = "* (Understand the explanation?)& & Of course No \C " - global.msg[35] = " " - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "OKAY..^1.&I GUESS I'LL&REPEAT MYSELF.../" - global.msg[2] = "\E0RED TILES ARE&IMPASSABLE./" - global.msg[3] = "YELLOW TILES ARE&ELECTRIC AND&DANGEROUS./" - global.msg[4] = "BLUE TILES MAKE&YOU FIGHT A&MONSTER./" - global.msg[5] = "GREEN TILES ARE&WATER TILES./" - global.msg[6] = "ORANGE TILES ARE&ORANGE SCENTED./" - global.msg[7] = "IF YOU STEP ON&ORANGE^1, DON'T STEP&ON GREEN./" - global.msg[8] = "\E3BROWN TILES ARE.../" - global.msg[9] = "\E1WAIT!!^1!&THERE ARE NO&BROWN TILES.../" - global.msg[10] = "\E0PURPLE TILES&SMELL LIKE&LEMONS.../" - global.msg[11] = "\E3WHY DON'T THE&YELLOW ONES&SMELL LEMONY?/" - global.msg[12] = "\E3UMM.../" - global.msg[13] = "\E1WAIT!^1!&DID I MIX UP&GREEN AND BLUE!?/" - global.msg[14] = "THE BLUE ONES&ARE WATER ONES!/" - global.msg[15] = "\E3PINK TILES.../" - global.msg[16] = "I DON'T..^1.&REMEMBER???/" - global.msg[17] = "\E1WAIT!!!/" - global.msg[18] = "\E3THOSE ONES DON'T&DO ANYTHING./" - global.msg[19] = "\E0OKAY^1!&DO YOU UNDERSTAND&BETTER NOW!?/" - global.msg[20] = "\TS \F0 \E0 \T0 %" - global.msg[21] = "* (Understand the explanation?)& & Yes Even less \C " - global.msg[22] = " " - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "........../" - global.msg[2] = "OK^1, YOU KNOW&WHAT???/" - global.msg[3] = "HOW ABOUT..^1.&YOU JUST.../" - global.msg[4] = "DO THIS PUZZLE..^1.&ON YOUR OWN.../" - global.msg[5] = "I'LL LEAVE THE&INSTRUCTIONS.../" - global.msg[6] = "JUST READ THEM./" - global.msg[7] = "THEN WHEN YOU&UNDERSTAND IT.../" - global.msg[8] = "YOU CAN THROW&THE SWITCH./" - global.msg[9] = "AND DO IT AT&YOUR OWN PACE./" - global.msg[10] = "GOOD LUCK./" - global.msg[11] = "NYEH..^1.&HEH..^1.&HEH!/%%" - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = "* (There's a lone quiche& sitting underneath& this bench.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* It's just a bench./%%" - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Abandoned& Quiche.)/%%" - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = "* (You're carrying too much.)/" - global.msg[1] = "* (You aren't ready for the& responsibility.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* (The quiche was left all& alone...)/%%" - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = "* (There's a tutu lying on& the ground here.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Old Tutu.)/%%" - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = (("* (The box contains " + card) + " cards.)/") - if (global.flag[80] > 2) - global.msg[0] = (("* (Two bugs in the box are& playing a " + card) + "-card game.)/") - if (global.flag[80] > 4) - global.msg[0] = (("* (There's a smiley face made& of " + card) + " cards in the box.)/") - if (global.flag[80] > 6) - global.msg[0] = (("* (A house made of " + card) + " cards& sits in the box.)/") - if (global.flag[80] > 12) - global.msg[0] = "* (The box is overstuffed with& cards.)/" - global.msg[1] = "* (Take a card?)& & Take Leave \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's a box for storing Punch& Cards^1.)&* (It's empty right now.)/%%" - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = "* (You got a Punch Card.)/%%" - if (global.flag[80] > 2) - global.msg[0] = "* (All games must end one day.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 4) - global.msg[0] = "* (Happiness is fleeting.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 6) - global.msg[0] = "* (The house collapses.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 12) - global.msg[0] = "* (You got a Punch Card.)/%%" - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = "* (It's a pair of ballet shoes.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Ballet Shoes.)/%%" - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 254: - global.msg[0] = "* (This little bird wants to& carry you across.)/" - global.msg[1] = "* (Accept the bird's offer?)& & Get ride No \C " - global.msg[2] = " " - if (global.flag[85] == 1) - global.msg[0] = "* (Umbrellas and birds...^1)&* (A bad combination.)/%%" - break - case 255: - global.msg[0] = " %%" - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = "* (It's a legendary artifact.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The artifact is gone.)/%%" - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = "* (This will never happen.)/%%" - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - if (noroom == 2) - global.msg[0] = "* (You're carrying too many& dogs.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/" - global.msg[1] = "* (Take a package of noodles?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/%%" - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Instant Noodles.)/%%" - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* (You decide to stay healthy.)/%%" - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = "* (There's a frypan lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Burnt Pan.)/%%" - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = "* (There's an apron lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Stained Apron.)/%%" - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = "* (There's a Glamburger inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Glamburger.)/%%" - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = "* (There's 100G inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = "* (You got 100G.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = "* (There's a worn dagger& inside the box.)/" - else - global.msg[0] = "* (Knife inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Worn Dagger.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got the Real Knife.)/%%" - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = "* (There's a heart-shaped& locket inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Heart-shaped& Locket.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got The Locket.)/%%" - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 272: - global.msg[0] = "* (The box is empty.)/%%" - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = "* Hello...&* Would you like some& Nice Cream...?/" - global.msg[1] = "* It's the frozen treat...&* That warms your heart./" - global.msg[2] = "* Now only 12G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[250] >= 1) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1.&* It's the frozen treat^1.&* That warms your heart./" - global.msg[2] = "* Now just 12G.& & Yes No \C" - global.msg[3] = " " - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here^1.&* (You got the Nice Cream.)/%%" - if (afford == 0) - global.msg[0] = "* You don't have enough& money.../%%" - } - if (noroom == 1) - global.msg[0] = "* Drop something./%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* Life..^1. is suffering./%%" - } - break - case 500: - global.msg[0] = "* (Golden flowers.^1)&* (They must have& broken your fall.)/%%" - global.msg[1] = "%%%" - break - case 501: - global.msg[0] = "* " + chr(34) + "Press [Z] to read signs!" + chr(34) + "/%%" - break - case 502: - global.msg[0] = "* Just a regular old pillar./%%" - break - case 503: - global.msg[0] = "* Please don't step on the& leaves./%%" - break - case 504: - global.msg[0] = "* Didn't you read the sign& downstairs?/%%" - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* WHOA there^1, pardner^2!&* Who said you could push& me around?/" - global.msg[1] = "* HMM^2?&* So you're ASKIN' me to& move over?/" - global.msg[2] = "* Okay^1, just for you^1,& pumpkin./%%" - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You want me to move some& more?/" - global.msg[1] = "* Alrighty^1, how's this?/%%" - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* That was the wrong direction?/" - global.msg[1] = "* Okay^1, think I got it./%%" - } - if (conversation == 9) - global.msg[0] = "* Was that helpful?/%%" - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You wanted me to STAY there?/" - global.msg[1] = "* You're giving me a real& workout./%%" - } - } - else - { - global.msg[0] = "* Aren't things easier when& you just ask?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* The exit's open^1?&* Guess I better roll out.../" - global.msg[1] = "* Hey^1, y'mind giving me a& push^1, pumpkin?/%%" - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = "*'Take one.'&* Take a candy?& Yes No \C" - if (global.flag[34] == 0) - global.msg[0] = "* It says 'take one.'&* Take a piece of candy?& Yes No \C" - } - else - global.msg[0] = "* Look at what you've done./%%" - global.msg[1] = " " - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = "* You took a piece of candy.&* (Press [C] to open the menu.)/%%" - if (global.flag[34] == 2) - global.msg[0] = "* You took more candy^1.&* How disgusting../%%" - if (global.flag[34] == 3) - global.msg[0] = "* You take another piece.&* You feel like the& scum of the earth.../%%" - if (global.flag[34] == 4) - global.msg[0] = "* You took too much too fast.&* The candy spills onto& the floor./%%" - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = "* In this hellish world^1, you& can only take 3 pieces& of candy.../%%" - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - } - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 510: - global.msg[0] = "* zzzzzzzzzzzzzzz..^1.&* zzzzzzzzzzzzzz.../" - global.msg[1] = "* zzzzzzzzzz..^1.&* (are they gone yet^1)&* zzzzzzzzzzzzzzz.../" - global.msg[2] = "* (This ghost keeps saying 'z'& out loud repeatedly^1,& pretending to sleep.)/" - global.msg[3] = "* Move it with force?& & Yes No \C" - global.msg[4] = " " - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = "* It says 'Take them all.'&* Take a candy?& Yes No \C" - global.msg[1] = " " - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = "* You took a piece.&* Boy^1, that's heavy./%%" - if (haveit == 1) - global.msg[0] = "* You can't carry more.&* It's just too heavy./%%" - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 7G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 18G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = "* You found a Faded Ribbon./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = "* Nothing happened./%%" - if (global.choice == 1) - global.msg[0] = "%%" - if (global.flag[43] > 25) - global.msg[0] = "* You're making the switches& uncomfortable with all& this attention./%%" - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = "* You hear a clicking sound./%%" - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = "* You found the Toy Knife./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = "* It's TORIEL's diary.&* Read the circled passage?& Yes No \C" - global.msg[1] = " " - break - case 525: - if (global.choice == 0) - { - global.msg[0] = "* You read the passage.../" - global.msg[1] = "* " + chr(34) + "Why did the skeleton want& a friend?" + chr(34) + "/" - global.msg[2] = "* " + chr(34) + "Because she was feeling& BONELY..." + chr(34) + "/" - global.msg[3] = "* The rest of the page is& filled with jokes of& a similar caliber./%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& butterscotch-cinnamon& pie./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& snail pie.../%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - break - case 527: - global.msg[0] = "* Hello there^1,& little one!/" - global.msg[1] = "* The pie has not& cooled down yet./" - global.msg[2] = "* Perhaps you should& take a nap.& Yes No \C " - global.msg[3] = " " - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = "* Sweet dreams./%%" - else - { - global.msg[0] = "\E1* You'd rather stay& up and chat with& me^1, then?/" - if (global.flag[103] > 0) - global.msg[0] = "* Up already^1, I see?/" - global.msg[1] = "\E0* Um^1, I want you to know& how glad I am to& have someone here./" - global.msg[2] = "* There are so many& old books I want& to share./" - global.msg[3] = "* I want to show you& my favorite bug-& hunting spot./" - global.msg[4] = "* I've also prepared& a curriculum for& your education./" - global.msg[5] = "* This may come as& a surprise to you.../" - global.msg[6] = "* But I have always& wanted to be a& teacher./" - global.msg[7] = "\E1* ... actually^1, perhaps& that isn't very& surprising./" - global.msg[8] = "\E5* STILL./" - global.msg[9] = "\E0* I am glad to have& you living here./" - global.msg[10] = "\E1* Oh^1, did you& want something?/" - global.msg[11] = "* What is it?& When can& Nothing I go home?\C " - global.msg[12] = " " - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = "* Well^1, talk to me& again if you& need anything./%%" - else - { - global.msg[0] = "\E1* What^1?&* This..^1. this IS your& home now./" - global.msg[1] = "* Um..^1. would you like& to hear about this& book I am reading?/" - if (global.choice == -1) - { - global.msg[0] = "\E0* Oh^1, hello!/" - global.msg[1] = "* Did you want to& hear about the& book I am reading?/" - } - global.msg[2] = "\E0* It is called& " + chr(34) + "72 Uses for Snails." + chr(34) + "/" - global.msg[3] = "* How about it?& How to exit& Sure the RUINS\C " - global.msg[4] = " " - } - break - case 530: - global.plot = 19.3 - global.msg[0] = "* Here is an exciting& snail fact./" - if (global.choice == 1) - global.msg[0] = "\E1* Um^1.^1.^1.&*\E0 How about an exciting& snail fact?/" - global.msg[1] = "\E2* Did you know& that snails.../" - r = round(random(3)) - if (r == 0) - global.msg[2] = "\E0* Have a chainsaw-like& tongue called a& radula?/" - if (r == 1) - global.msg[2] = "\E0* Sometimes flip their& digestive systems& as they mature?/" - if (r == 2) - global.msg[2] = "\E0* Make terrible& shoelaces?/" - if (r == 3) - global.msg[2] = "\E0* Talk^2. Really^2. Slowly^2?&* Just kidding^1, snails& don't talk./" - global.msg[3] = "\E0* Interesting.& How to exit& Yeah the RUINS\C " - global.msg[4] = " " - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = "* Well^1, bother me& if you need anything& else./%%" - else - { - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something^1.&* Stay here./%%" - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = "\E0* What is it?& How to exit& Nothing the RUINS\C " - } - global.msg[1] = " " - break - case 532: - if (global.choice == 0) - global.msg[0] = "* If you need anything^1,& just ask./%%" - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something.&* Stay here./%%." - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = " " - break - case 540: - global.msg[0] = "\E2NYOO HOO HOO.../" - global.msg[1] = "I CAN'T EVEN&STOP SOMEONE AS&WEAK AS YOU.../" - global.msg[2] = "UNDYNE'S GOING TO&BE DISAPPOINTED&IN ME./" - global.msg[3] = "I'LL NEVER JOIN THE&ROYAL GUARD..^1.&AND.../" - global.msg[4] = "MY FRIEND QUANTITY&WILL REMAIN&STAGNANT!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (What should you say?)& Let's be What a& friends loser\C" - global.msg[7] = " " - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = "\E0WOWIE!^1!&YOU DID IT!!!/" - global.msg[1] = "YOU DIDN'T DO A&VIOLENCE!!!/" - global.msg[2] = "\E5TO BE HONEST^1,&I WAS A LITTLE&AFRAID.../" - global.msg[3] = "\E0BUT YOU'RE ALREADY&BECOMING A GREAT&PERSON!/" - global.msg[4] = "\E7I'M SO PROUD I&COULD CRY!!!/" - global.msg[5] = "\E3... WAIT^1, WASN'T I&SUPPOSED TO&CAPTURE YOU...?/" - global.msg[6] = "\E0WELL^1, FORGET IT!/" - global.msg[7] = "I JUST WANT YOU&TO BE THE BEST&PERSON YOU CAN BE./" - global.msg[8] = "SO LET'S LET&BYBONES BE&BYBONES./" - global.msg[9] = "I'LL EVEN TELL YOU&HOW TO LEAVE THE&UNDERGROUND!/" - global.msg[10] = "JUST KEEP GOING&EAST!/" - global.msg[11] = "EVENTUALLY YOU'LL&REACH THE KING'S&CASTLE./" - global.msg[12] = "THEN YOU CAN&LEAVE!/%%" - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "REALLY!^1?&YOU WANT TO BE&FRIENDS^1, WITH ME???/" - global.msg[2] = "WELL THEN.../" - global.msg[3] = "\E0I GUESS..^1./" - global.msg[4] = "I GUESS&I CAN MAKE AN&ALLOWANCE FOR YOU!/" - global.msg[5] = " %" - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "HUH^1?&WHY WOULD YOU.../" - global.msg[2] = "BERATE YOURSELF&SO LOUDLY???/" - global.msg[3] = "IS IT BECAUSE.../" - global.msg[4] = "\E3YOU DON'T THINK&YOU'RE GOOD ENOUGH&TO BE MY FRIEND?/" - global.msg[5] = "\E0NO!!^1!&YOU'RE GREAT!!^1!&I'LL BE YOUR FRIEND!/" - } - if (global.flag[66] == 1) - { - global.msg[6] = "WOWIE!^1!&WE HAVEN'T EVEN HAD&OUR FIRST DATE.../" - global.msg[7] = "AND I'VE ALREADY&MANAGED TO HIT&THE FRIEND ZONE!!!/" - global.msg[8] = "WHO KNEW THAT&ALL I NEEDED TO&MAKE PALS.../" - } - else - { - global.msg[6] = "WOW!!!/" - global.msg[7] = "I HAVE FRIENDS!!!/" - global.msg[8] = "AND WHO KNEW THAT&ALL I NEEDED TO&MAKE THEM.../" - } - global.msg[9] = "WAS TO GIVE PEOPLE&AWFUL PUZZLES AND&THEN FIGHT THEM??/" - global.msg[10] = "YOU TAUGHT ME A&LOT^1, HUMAN./" - global.msg[11] = "I HEREBY GRANT&YOU PERMISSION&TO PASS THROUGH!/" - global.msg[12] = "AND I'LL GIVE&YOU DIRECTIONS&TO THE SURFACE./" - global.msg[13] = "CONTINUE FORWARD&UNTIL YOU REACH THE&END OF THE CAVERN./" - global.msg[14] = "\WTHEN..^1. WHEN YOU&REACH THE CAPITAL^1,&CROSS \YTHE BARRIER\W./" - global.msg[15] = "THAT'S THE MAGICAL&SEAL TRAPPING US&ALL UNDERGROUND./" - global.msg[16] = "ANYTHING CAN ENTER&THROUGH IT^1, BUT&NOTHING CAN EXIT.../" - global.msg[17] = "... EXCEPT SOMEONE&WITH A POWERFUL&SOUL./" - global.msg[18] = "... LIKE YOU!!!/" - global.msg[19] = "THAT'S WHY THE&KING WANTS TO&ACQUIRE A HUMAN./" - global.msg[20] = "HE WANTS TO OPEN&THE BARRIER WITH&SOUL POWER./" - global.msg[21] = "THEN US MONSTERS&CAN RETURN TO&THE SURFACE!/%%" - break - case 544: - global.msg[0] = "YOU'RE BACK AGAIN?!?!/" - global.msg[1] = "I FINALLY REALIZE&THE TRUE REASON WHY./" - global.msg[2] = "YOU.../" - global.msg[3] = "JUST MISS SEEING MY&FACE SO MUCH.../" - global.msg[4] = "I'M NOT SURE I&CAN FIGHT SOMEONE&WHO FEELS THIS WAY./" - global.msg[5] = "BUT MOSTLY..^1. I'M GETTING&REALLY TIRED OF&CAPTURING YOU!/" - global.msg[6] = "SO..^1.&WHAT DO YOU SAY?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* (Fight Papyrus?)& & Yes No\C" - global.msg[8] = " " - break - case 545: - global.msg[0] = "\TP %" - if (global.choice == 0) - { - global.msg[1] = "OKAY.../" - global.msg[2] = "I GUESS./" - global.msg[3] = "IF YOU WANT ME TO&CAPTURE YOU./" - global.msg[4] = "I'LL TRY AGAIN!!!/%%" - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = "... OKAY.../" - global.msg[2] = "I GUESS I'LL ACCEPT&MY FAILURE.../%%" - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = "* Welcome to Snowed Inn^1!&* Snowdin's premier hotel!/" - global.msg[1] = "* One night is 80G.& & Stay Leave\C" - if (global.flag[72] == 2) - { - global.msg[0] = "* Back again^1?&* Well^1, stay as long as you& like./" - global.msg[1] = "* How about it?& & Stay Leave\C" - } - global.msg[2] = " " - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = "* What^1?&* No^1, you can't get a& second key!" - if (global.flag[7] == 1) - { - global.msg[0] = "* Hello^1!&* Sorry^1, no time for a& nap.../" - global.msg[1] = "* Snowed Inn is shutting& down so we can all go& to the surface./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Oh^1, there you are^1.&* I was worrying about& you!/" - global.msg[1] = "* Things are going to be OK^1,& you hear?/" - global.msg[2] = "* We're all going to the& surface world soon.../" - global.msg[3] = "* There's bound to be a& place you can stay there!/%%" - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = "Error./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = "* ... You don't even have 80G?/" - global.msg[1] = "* Oh^1! You poor thing^1.&* I can only imagine what& you've been through./" - global.msg[2] = "* One of the rooms upstairs& is empty^1./" - global.msg[3] = "* You can sleep there for& free^1, okay?/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = "* You aren't carrying enough& money./%%" - } - else - global.msg[0] = "* Well^1, feel free to come& back any time./%%" - break - case 549: - global.msg[0] = "* (Look through the telescope?)& & Yes No\C" - global.msg[1] = " " - break - case 550: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = "* i'm thinking about& getting into the& telescope business./" - global.msg[1] = "* it's normally 50000G& to use this premium& telescope.../" - global.msg[2] = "* but..^1.&*\E1 since i know you^1,& you can use it for free./" - global.msg[3] = "\E2* howzabout it?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Use the telescope?)& & Yes No\C" - } - else - { - global.msg[0] = "* huh^1?&* you aren't satisfied?/" - global.msg[1] = "\E1* don't worry./" - global.msg[2] = "\E2* i'll give you a& full refund./%%" - } - global.msg[6] = " " - break - case 552: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = "* well^1, come back& whenever you want./%%" - } - break - case 553: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - global.flag[75] = global.armor - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "\E3HOW DID I GET THIS&NUMBER...?/" - global.msg[4] = "\E0IT WAS EASY!!!/" - global.msg[5] = "\E0I JUST DIALED EVERYNUMBER SEQUENTIALLYUNTIL I GOT YOURS!!!/" - global.msg[6] = "NYEH HEH HEH HEH!!/" - global.msg[7] = "\E2SO..^1.&WHAT ARE YOU&WEARING...?/" - global.msg[8] = "\E3I'M..^1.&ASKING FOR A&FRIEND./" - global.msg[9] = (("\E0SHE THOUGHT SHE&SAW YOU WEARING A&" + armor) + "./") - global.msg[10] = (("\E3IS THAT TRUE^1?&ARE YOU WEARING A&" + armor) + "?/") - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* (What will you say?)& & Yes No\C" - global.msg[13] = " " - break - case 554: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = (("SO YOU ARE WEARING&A " + armor) + ".../") - global.msg[2] = "GOT IT!!^1!&WINK WINK!!!/" - global.msg[3] = "HAVE A NICE DAY!/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - } - else - { - global.flag[76] = 1 - global.msg[1] = (("SO YOU AREN'T&WEARING A&" + armor) + ".../") - global.msg[2] = "GOT IT!/" - global.msg[3] = "YOU'RE MY FRIEND^1,&SO I TRUST YOU&100-PERCENT./" - global.msg[4] = "HAVE A NICE DAY!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - break - case 556: - global.msg[0] = "* (There's an empty pie tin& inside the stove.)/%%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "\E0MY BROTHER ALWAYS&GOES OUT TO EAT^1.&BUT.../" - global.msg[2] = "\E3RECENTLY^1, HE TRIED&'BAKING' SOMETHING./" - global.msg[3] = "IT WAS LIKE..^1.&A QUICHE./" - global.msg[4] = "BUT FILLED WITH A&SUGARY^1, NON-EGG&SUBSTANCE./" - global.msg[5] = "\E0HOW ABSURD!/%%" - } - break - case 557: - global.msg[0] = "* (It's a joke book.)/" - global.msg[1] = "* (Take a look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 558: - if (global.choice == 0) - { - global.msg[0] = "* (Inside the joke book was& a quantum physics book.)/" - global.msg[1] = "* (You look inside...)/" - global.msg[2] = "* (Inside the quantum physics& book was another joke& book.)/" - global.msg[3] = "* (You look inside...)/" - global.msg[4] = "* (There's another quantum& physics book...)/" - global.msg[5] = "* (You decide to stop.)/%%" - } - else - global.msg[0] = " %%" - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THAT'S MY ROOM^1!/" - global.msg[2] = "IF YOU'VE&FINISHED LOOKING&AROUND.../" - global.msg[3] = "WE COULD GO IN&AND.../" - global.msg[4] = "" + chr(34) + "HANG-OUT" + chr(34) + " LIKE&A PAIR OF VERY&COOL FRIENDS?/" - if (global.flag[66] == 1) - global.msg[4] = "\E3DO WHATEVER&PEOPLE DO WHEN&THEY DATE???/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Go inside?)& & Yes No\C" - global.msg[7] = " %" - } - else - { - global.msg[0] = "* (It's the door to& Papyrus's room.)/" - global.msg[1] = "* (It's covered in many& labels...)/" - global.msg[2] = "\TP %" - global.msg[3] = "* (NO GIRLS ALLOWED!)/" - global.msg[4] = "* (NO BOYS ALLOWED!)/" - global.msg[5] = "* (PAPYRUS ALLOWED.)/%%" - } - break - case 560: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THERE ARE NO&SKELETONS INSIDE&MY CLOSET!!!/" - global.msg[2] = "\E3EXCEPT ME&SOMETIMES./" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Look in the closet?)& & Yes No\C" - global.msg[5] = " " - } - else - { - global.msg[0] = "* (Look in the closet?)& & Yes No\C" - global.msg[1] = " " - } - break - case 562: - if (global.choice == 0) - global.msg[0] = "* (Clothes are hung up& neatly inside.)/%%" - else - { - global.msg[0] = " %%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "IT'S OK TO BE&INTIMIDATED BY&MY FASHION SENSE./%%" - } - } - break - case 563: - global.msg[0] = "\E3SO^1, UM.../" - global.msg[1] = "\E3IF YOU'VE SEEN&EVERYTHING.../" - global.msg[2] = "\E2DO YOU WANT TO&START HANGING OUT?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the hangouts?)& & Yes No\C" - global.msg[5] = " " - if (global.flag[66] == 1) - { - global.msg[2] = "\E2DO YOU WANT TO&START THE DATE?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the date?)& & Yes No\C" - global.msg[5] = " " - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = "\E0OKAY!!^1!&DATING START!!!/%%" - if (global.flag[66] == 0) - global.msg[1] = "\E0OKAY!!^1!&LET'S HANG TEN!!/%%" - } - else - { - scr_papface(0, 2) - global.msg[1] = "\E2TAKE YOUR TIME..^1.&I'LL WAIT FOR&YOU./%%" - } - break - case 565: - global.msg[0] = "* (This mailbox is labelled& " + chr(34) + "PAPYRUS" + chr(34) + ".)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 566: - if (global.choice == 0) - global.msg[0] = "* (It's empty.)/%%" - else - global.msg[0] = "* (You realize that would& probably be illegal.)/%%" - break - case 567: - global.msg[0] = "* what^1?&* haven't you seen a guy& with two jobs before?/" - global.msg[1] = "\E1* fortunately^1, two jobs& means twice as many& legally-required breaks./" - global.msg[2] = "\E0* i'm going to grillby's.&* wanna come?& Yeah I'm busy \C" - global.msg[3] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - if (scr_murderlv() >= 7) - { - global.msg[0] = "\E2* hey^1, looks like you're& really turning yourself& around./" - global.msg[1] = "\E0* how about i treat you& to lunch at grillby's?/" - global.msg[2] = "\E1* ... when everyone you& scared away comes& back^1, i mean./%%" - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = "* well^1, if you insist..^1.&* i'll pry myself away& from my work.../%%" - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* OK^1. have fun./%%" - break - case 570: - global.msg[0] = "\E1* whoops^1, watch where& you sit down./" - global.msg[1] = "* sometimes weirdos put& whoopee cushions on& the seats./" - global.msg[2] = "\E0* anyway^1, let's order./" - global.msg[3] = "* whaddya want...?& & Fries Burger\C" - global.msg[4] = " " - break - case 571: - global.msg[0] = "* ok^1, coming right up./%%" - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& fries./%%" - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& burg./%%" - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = "* so^1, what do you& think.../" - global.msg[1] = "* of my brother?& & Cool Uncool\C" - global.msg[2] = " " - break - case 573: - if (global.choice == 0) - { - global.msg[0] = "* of course he's cool./" - global.msg[1] = "\E1* you'd be cool too& if you wore that& outfit every day./" - global.msg[2] = "\E0* he'd only take that& thing off if he& absolutely had to./" - global.msg[3] = "* oh well^1.&* at least he washes& it./" - global.msg[4] = "\E1* and by that i mean& he wears it in& the shower./%%" - } - else - { - global.msg[0] = "* hey^1, pal./" - global.msg[1] = "\E1* sarcasm isn't funny^1,& okay?/" - global.msg[2] = "\E0* my brother's a real& star./" - global.msg[3] = "* he's the person who& pushed me to get& this sentry job./" - global.msg[4] = "* maybe it's a little& strange^1, but& sometimes.../" - global.msg[5] = "* ... it's nice to have& someone call you out& on being lazy./" - global.msg[6] = "\E1* even though nothing& could be further& from the truth./%%" - } - break - case 574: - global.msg[0] = "* here comes the grub./" - global.msg[1] = "* want some ketchup^1?& & Yes No \C" - global.msg[2] = " " - break - case 575: - if (global.choice == 0) - global.msg[0] = "\E2* bone appetit./%%" - else - { - global.msg[0] = "\E2* more for me./%%" - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = "\W* have you ever heard& of a \Ytalking flower\W?& Yes No \C" - global.msg[1] = " " - break - case 577: - if (global.choice == 0) - global.msg[0] = "\E1* so you know all& about it./" - if (global.choice == 1) - global.msg[0] = "\E1* i'll tell you^1, then./" - global.msg[1] = "\W*\E0 the \Becho flower\W./" - global.msg[2] = "* they're all over the& marsh./" - global.msg[3] = "* say something to them^1,& and they'll repeat it& over and over.../" - global.msg[4] = "* what about it?/" - global.msg[5] = "* well^1, papyrus told& me something interesting& the other day./" - global.msg[6] = "* sometimes^1, when no& one else is around.../" - global.msg[7] = "* a flower appears and& whispers things to& him./" - global.msg[8] = "* flattery..^1.&* advice..^1.&* encouragement.../" - global.msg[9] = "* ... predictions./" - global.msg[10] = "* weird^1, huh?/" - global.msg[11] = "* someone must be using& an echo flower to& play a trick on him./" - global.msg[12] = "* keep an eye out^1, ok?/" - global.msg[13] = "* thanks./%%" - break - case 578: - global.msg[0] = "\E1* oh^1, by the way.../" - global.msg[1] = "\E0* i'm flat broke^1.&* can you foot the& bill?/" - global.msg[2] = "* it's just 10000G.& & Yes No \C" - global.msg[3] = " " - break - case 579: - global.msg[0] = " %%" - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = "* My mind is running wild^1!&* I haven't felt like this& in a long time.../%%" - if (global.flag[84] == 5) - global.msg[0] = "* Please leave./%%" - if (global.flag[84] < 2) - { - global.msg[0] = "* You..^1.&* You came from outside^1,& didn't you?/" - global.msg[1] = "* People like you are so& rare.../" - global.msg[2] = "* Please^1!* Stranger!/" - global.msg[3] = "* Tell me about outside...?& & Yes No\C" - global.msg[4] = " " - } - if (global.flag[84] == 2) - global.msg[0] = "* Well^1, what are you& waiting for?/%%" - if (global.flag[84] == 3) - { - global.msg[0] = "* Oh^1!&* You're back!/" - global.msg[1] = "* How's the room?& & Different Same\C" - global.msg[2] = " " - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = "* Huh^1?&* " + chr(34) + "SURFACE" + chr(34) + "^1?&* What do you mean?/" - global.msg[1] = "* I just meant outside this& room./" - global.msg[2] = "* If you haven't noticed^1, my& mycelium have bound me& to the ground./" - global.msg[3] = "* Please^1!&* Stranger!/" - global.msg[4] = "* I'll make this simple./" - global.msg[5] = "* I've spent my whole life& in the same spot^1,& in the same room./" - global.msg[6] = "* But I've long wondered& what lies inside the& room to the right./" - global.msg[7] = "* Long I've fantasized& about entering^1, and& changing my scenery.../" - global.msg[8] = "* No..^1.&* Changing my LIFE!/" - global.msg[9] = "* Please^1.&* Go and tell me what's& inside./%%" - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* Is everyone out there& like you^1?&* How terrible./%%" - } - else - { - if (global.choice == 0) - { - global.msg[0] = "* Oh^1, that's a relief^1!/" - global.msg[1] = "* That's all I need to& continue my fantasies^1.&* Thank you^1, stranger./%%" - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = "* So it's the same./" - global.msg[1] = "* The same.../" - global.msg[2] = "* Same.../" - global.msg[3] = "* .../" - global.msg[4] = "* OK./%%" - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = "* (Take an umbrella?)& & Take one Do not\C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (Return the umbrella?)& & Put back Do not\C" - global.msg[1] = " " - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You took an umbrella.)/%%" - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = " %%" - } - else if (global.choice == 0) - { - global.msg[0] = "* (You returned the umbrella.)/%%" - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 585: - global.msg[0] = "* (It's a statue^1.)&* (The structures at its& feet seem dry.)/%%" - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = "* (Put the umbrella on the& statue?)& Yes Do not\C" - global.msg[1] = " " - } - if (global.flag[86] == 1) - global.msg[0] = "* (The music continues^1, and& doesn't stop.)/%%" - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You place the umbrella& atop the statue.)/" - global.msg[1] = "* (Inside the statue^1, a music& box begins to play...)/%%" - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 587: - global.msg[0] = "* (It's a rusty old& fridge.)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 588: - if (global.choice == 0) - { - global.msg[0] = "* (You open the fridge.^1)&* (The air fills with a& rotten stench.)/" - global.msg[1] = "* (All the food inside here& spoiled long ago.)/%%" - } - else - global.msg[0] = " %%" - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = "* error/%%" - if (global.flag[108] > 2) - global.msg[0] = "* (The cooler is empty.)/%%" - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = "* (Take a space food bar& from the cooler?)& Yes No \C" - global.msg[1] = " " - } - if (global.flag[108] == 0) - { - global.msg[0] = "* (It's a cooler^1.&* It has no brand^1, and& shows no signs of wear...)/" - global.msg[1] = "* (Inside are a couple& of freeze-dried space& food bars.)/" - global.msg[2] = "* (Take one?)& & Yes No \C" - global.msg[3] = " " - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = "* (You got the Astronaut Food.)/%%" - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* %%" - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = "* (Seems like a regular& training dummy.)/" - global.msg[1] = "* (Do you want to beat it& up?)& Yes No \C" - global.msg[2] = " " - } - else - global.msg[0] = "* (You've had enough of& the dummy.)/%%" - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = "* (You tap the dummy with& your fist.)/" - global.msg[1] = "* (You feel bad.)/%%" - } - if (global.lv > 1) - { - global.msg[0] = "* (You hit the dummy& lightly.)/" - global.msg[1] = "* (You don't feel like& you learned anything.)/%%" - } - if (global.lv > 4) - { - global.msg[0] = "* (You sock the dummy.)/" - global.msg[1] = "* (Who cares?)/%%" - } - if (global.lv > 7) - { - global.msg[0] = "* (You punch the dummy at& full force.)/" - global.msg[1] = "* (Feels good.)/%%" - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = "* (You stare into each& other's eyes for a& moment...)/%%" - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = "* (It's a horse stable.)/" - global.msg[1] = "* (Do you want to go& inside?)& Yes No \C" - global.msg[2] = " " - break - case 594: - if (global.choice == 0) - { - global.msg[0] = "* (You jostle the door.)&* (It's locked.)/" - global.msg[1] = "* (Suddenly^1, from inside& the [redacted], you hear a&/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 1) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* (Spooktunes are dead.)/%%" - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 608: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 2) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 610: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 3) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 612: - global.msg[0] = "* (Look inside the fridge?)& & Open it No\C" - global.msg[1] = " " - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = "* (There's a lonely sandwich& inside.)/%%" - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = "* (It's empty.)/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 615: - global.msg[0] = "* this is a ghost sandwich.../" - global.msg[1] = "* do you want to try it...& & Yes No\C" - global.msg[2] = " " - break - case 616: - if (global.choice == 0) - { - global.msg[0] = "* (You attempt to bite& into the ghost sandwich.)/" - global.msg[1] = "* (You phase right through& it...)/" - global.msg[2] = "* oh.../" - global.msg[3] = "* nevermind.../%%" - } - if (global.choice == 1) - global.msg[0] = "* oh.....................& ....................& ................./%%" - break - case 617: - global.msg[0] = "* after a great meal i like& to lie on the ground and& feel like garbage.../" - global.msg[1] = "* it's a family tradition.../" - global.msg[2] = "* do you want..^1.&* ... to join me...& Yes No\C" - global.msg[3] = " " - break - case 618: - if (global.choice == 0) - global.msg[0] = "* okay..^1.&* follow my lead.../%%" - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = "* oh.....................& ....................& ................./%%" - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = "* do you want to play a game^1?&* it's called thundersnail./" - global.msg[1] = "* the snails will race^1, and if& the yellow snail wins^1, you& win./" - global.msg[2] = "* it's 10G to play.& & Play No\C" - global.msg[3] = " " - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = "* um..^1.&* you don't have any money?/" - global.msg[1] = "* n-no^1, you can still play^1,& don't worry about it.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = "* um..^1. that's less than 10G./" - global.msg[1] = "* but since you're my only& real customer^1, i guess i'll& just take what you have.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[1] = "* ready?/%%" - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* oh.........../%%" - break - case 621: - global.msg[0] = "* .../" - global.msg[1] = "* Seven./" - global.msg[2] = "* Seven human souls./" - global.msg[3] = "* With the power of seven& human souls^1, our king.../" - global.msg[4] = "\W* \YKing \RASGORE \YDreemurr\W.../" - global.msg[5] = "* ... will become a god./" - global.msg[6] = "\W* With that power^1, \RASGORE\W & can finally shatter the& barrier./" - global.msg[7] = "* He will finally take the& surface back from humanity.../" - global.msg[8] = "* And give them back the& suffering and pain that& we have endured./" - global.msg[9] = "* .../" - global.msg[10] = "* Understand^1, human?/" - global.msg[11] = "* This is your only chance& at redemption./" - global.msg[12] = "* Give up your soul.../" - global.msg[13] = "* Or I'll tear it from& your body./%%" - break - case 622: - if (global.choice == 0) - { - global.msg[0] = "* That spark in your eyes.../" - global.msg[1] = "* You're really eager to& die^1, aren't you?/%%" - } - if (global.choice == 1) - global.msg[0] = "* .../%%" - break - case 623: - global.msg[0] = "* Yo^1, I know I'm not supposed& to be here^1, but.../" - global.msg[1] = "* I wanna ask you something./" - global.msg[2] = "* .../" - global.msg[3] = "* Man^1, I've never had to ask& anyone this before.../" - global.msg[4] = "* Umm.../" - global.msg[5] = "* Yo..^1. You're human^1, right?&* Haha./" - global.msg[6] = "* Man^1! I knew it!/" - global.msg[7] = "* ... well^1, I know it now^1,& I mean.../" - global.msg[8] = "* Undyne told me^1, um^1, " + chr(34) + "stay& away from that human." + chr(34) + "/" - global.msg[9] = "* So^1, like^1, ummm.../" - global.msg[10] = "* I guess that makes us enemies& or something./" - global.msg[11] = "* But I kinda stink at that^1,& haha./" - global.msg[12] = "* Yo^1, say something mean so& I can hate you?/" - global.msg[13] = "* Please? & & Yes No \C" - global.msg[14] = " " - break - case 624: - if (global.choice == 0) - { - global.msg[0] = "* Huh...?/" - global.msg[1] = "* Yo^1, that's your idea of& something mean?/" - global.msg[2] = "* My sister says that to me& ALL THE TIME!/" - global.msg[3] = "* Guess I have to do it^1, haha./" - global.msg[4] = "* Yo^1, I..^1. I hate your guts./" - global.msg[5] = "* .../" - global.msg[6] = "* Man^1, I..^1. I'm such a turd./" - global.msg[7] = "* I'm..^1. I'm gonna go home& now./%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Yo^1, what^1?&* So I have to do it?/" - global.msg[1] = "* Here goes nothing.../" - global.msg[2] = "* Yo^1, I..^1. I hate your guts./" - global.msg[3] = "* .../" - global.msg[4] = "* Man^1, I..^1. I'm such a turd./" - global.msg[5] = "* I'm..^1. I'm gonna go home& now./%%" - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = "* (It's a water cooler.)&* (Take a cup of water?)& Yes No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There's no more water left& in the cooler.)/%%" - if instance_exists(obj_undynefall) - global.msg[0] = "* (Sadistically^1, you've poured& out all the water right in& front of Undyne's eyes.)/%%" - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = "* (You take a cup of water.)/%%" - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 627: - global.msg[0] = "* (Get rid of the water?)& & Yes No \C" - global.msg[1] = " " - break - case 628: - if (global.choice == 0) - { - global.msg[0] = "* (You pour the water on& the ground next to the& water cooler.)/%%" - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 629: - global.msg[0] = "* A rousing error./%%" - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = "* (Give Undyne the water?)& & Yes No \C" - global.msg[1] = " " - } - else - global.msg[0] = "* (She looks dry...)/%%" - } - break - case 630: - global.msg[0] = " %%" - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = "BEPIS." - armor2 = "BEPIS." - if (global.flag[75] == 4) - armor1 = "GROSS BANDAGE" - if (global.flag[75] == 12) - armor1 = "FADED RIBBON" - if (global.flag[75] == 15) - armor1 = "BANDANNA" - if (global.flag[75] == 24) - armor1 = "DUSTY TUTU" - if (global.flag[77] == 4) - armor2 = "GROSS BANDAGE" - if (global.flag[77] == 12) - armor2 = "FADED RIBBON" - if (global.flag[77] == 15) - armor2 = "BANDANNA" - if (global.flag[77] == 24) - armor2 = "DUSTY TUTU" - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "REMEMBER WHEN&I ASKED YOU&ABOUT CLOTHES?/" - global.msg[4] = "\E3WELL^1, THE FRIEND&WHO WANTED TO&KNOW.../" - global.msg[5] = "\E0HER OPINION OF&YOU IS VERY.../" - global.msg[6] = "\E3MURDERY./" - global.msg[7] = "\E0ERROR!!^1!&SEE YOU LATER!/%%" - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I TOLD HER WHAT&YOU TOLD ME&YOU WERE WEARING!/" - global.msg[10] = (("A " + armor1) + "!/") - global.msg[11] = "BECAUSE I KNEW^1,&OF COURSE.../" - global.msg[12] = "\E3AFTER SUCH A&SUSPICIOUS&QUESTION.../" - global.msg[13] = "\E0YOU WOULD&OBVIOUSLY CHANGE&YOUR CLOTHES!/" - global.msg[14] = "YOU'RE SUCH A&SMART COOKIE!/" - global.msg[15] = "THIS WAY YOU'RE&SAFE AND I&DIDN'T LIE!!!/" - global.msg[16] = "NO BETRAYAL&ANYWHERE!!!/" - global.msg[17] = "BEING FRIENDS&WITH EVERYONE&IS EASY!!!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = "\E3I AM NOT A&CRUEL PERSON./" - global.msg[10] = "\E0I STRIVE TO BE&COMFORTING AND&PLEASANT./" - global.msg[11] = "PAPYRUS!&HE SMELLS LIKE&THE MOON./" - global.msg[12] = "SO, BECAUSE OF&MY INHERENT&GOODNESS.../" - global.msg[13] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[14] = "\E3EVEN THOUGH YOU&TOLD ME YOU&WERE!/" - global.msg[15] = "INSTEAD^1, I MADE&SOMETHING UP!/" - global.msg[16] = "I TOLD HER YOU&WERE WEARING.../" - global.msg[17] = (("\E0A " + armor2) + "./") - global.msg[18] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[19] = (("I KNOW YOU WOULD&NEVER EVER WEAR&A " + armor2) + "./") - global.msg[20] = "\E0BUT YOUR SAFETY&IS MORE IMPORTANT&THAN FASHION./" - global.msg[21] = "\E3DANG!/" - global.msg[22] = "I JUST WANT TO&BE FRIENDS WITH&EVERYONE.../" - global.msg[23] = "\TS \F0 \T0 %" - global.msg[24] = "* Click.../%%" - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "\E3PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = (("\WY\E0OU SAID YOU WERE\Y &NOT WEARING A&" + armor1) + "\W./") - global.msg[10] = "\E3SO OF COURSE&I ACTUALLY&TOLD HER.../" - global.msg[11] = (("\E0YOU WERE&INDEED WEARING&A " + armor1) + "!/") - global.msg[12] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[13] = (("BUT SINCE YOU&AREN'T WEARING&A " + armor1) + "./") - global.msg[14] = "\E0SHE SURELY&WON'T ATTACK&YOU!/" - global.msg[15] = "NOW YOU ARE&SAFE AND SOUND./" - global.msg[16] = "\E2WOWIE..^1.&THIS IS HARD./" - global.msg[17] = "I JUST WANT TO&BE EVERYBODY'S&FRIEND!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I KNEW WHEN&YOU SAID:/" - global.msg[10] = (('\E3"I AM NOT&WEARING A&' + armor1) + '."/') - global.msg[11] = "\E0IT WAS REALLY&A SECRET CODE!/" - global.msg[12] = "\E3YOU REALLY&MEANT.../" - global.msg[13] = (('\E0"I ACTUALLY AM&WEARING&A ' + armor1) + '!"/') - global.msg[14] = "YOU WERE TRYING&TO PROTECT&YOURSELF.../" - global.msg[15] = "WHILE MAKING IT&SO I DIDN'T&HAVE TO LIE!/" - global.msg[16] = "I PICKED UP ON&THIS, AND FOLLOWED&YOUR PLAN./" - global.msg[17] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[18] = "IN FACT I TOOK&IT ONE STEP&FURTHER!/" - global.msg[19] = "\E3I TOLD HER YOU&WERE PROBABLY.../" - global.msg[20] = (("\E0WEARING A&" + armor2) + "!/") - global.msg[21] = "\E3OF COURSE, YOU&WOULD NEVER&WEAR THAT./" - global.msg[22] = "\E0BUT THAT'S THE&POINT!/" - global.msg[23] = "SHE WON'T&RECOGNIZE YOU&NOW!/" - global.msg[24] = "AND I DIDN'T&HAVE TO BETRAY&EITHER OF YOU!/" - global.msg[25] = "SINCE I JUST&TOLD HER WHAT&YOU SAID!/" - global.msg[26] = "WOWIE^1!&YOU'RE SUCH A&SMART COOKIE!/" - global.msg[27] = "I REALLY CAN&BE FRIENDS WITH&EVERYONE!!!/" - global.msg[28] = "\TS \F0 \T0 %" - global.msg[29] = "* Click.../%%" - } - } - break - case 633: - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HEY^1!&WHAT'S UP!?/" - global.msg[3] = "I WAS JUST&THINKING.../" - global.msg[4] = "YOU^1, ME^1, AND&UNDYNE SHOULD ALL&HANG OUT SOMETIME!/" - global.msg[5] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE&LATER!/" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - if (global.flag[88] < 3) - { - global.msg[5] = "AFTER YOU HANG&OUT WITH ME.../" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE!/" - global.msg[7] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - } - break - case 635: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 636: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 637: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 638: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 639: - global.msg[0] = "* (It's a book labelled& Monster History Part 7.)& Read it Do not\C" - global.msg[1] = " " - break - case 640: - global.msg[0] = "* When a human dies^1, its& soul remains stable& outside the body./" - global.msg[1] = "* Meanwhile^1, a monster's soul& disappears near-instantly& upon death./" - global.msg[2] = "* This allows monsters to& absorb the souls of& humans.../" - global.msg[3] = "* While it is extremely& difficult for humans to& absorb a monster's soul./" - global.msg[4] = "* This is why they feared us./" - global.msg[5] = "* Though monsters are weak^1,& with enough human souls.../" - global.msg[6] = "* They could easily destroy& all of mankind./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 641: - global.msg[0] = "* (It's a book labelled& Monster History Part 8.)& Read it Do not\C" - global.msg[1] = " " - break - case 642: - global.msg[0] = "* There is one exception& to the aforementioned& rules:/" - global.msg[1] = "* A certain type of monster^1,& the " + chr(34) + "boss" + chr(34) + " monster./" - global.msg[2] = "* Due to its life cycle^1, it& possesses an incredibly& strong soul for a monster./" - global.msg[3] = "* This soul can remain& stable after death^1, if& only for a few moments./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 643: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 644: - global.msg[0] = "* (You look inside a book.)/" - global.msg[1] = "* (It's a comic of a giant& robot fighting a beautiful& alien princess.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 645: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 646: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (Two scantily-clad chefs are& flinging energy pancakes& at each other.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 647: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 648: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (A hideous android is running& to school with toast in& its mouth.)/" - global.msg[2] = "* (Seems like it's late.)/" - global.msg[3] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 660: - global.msg[0] = "* (There's a piano here.^1)&* (Play it?)& Yes No\C" - global.msg[1] = " " - break - case 661: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = "See that heart^1? &That is your SOUL^1,&the very culmination&of your being!/" - global.msg[1] = "Your SOUL starts off&weak^1, but can grow&strong if you gain&a lot of LV./" - global.msg[2] = "What's LV stand for^1?&Why^1, LOVE^1, of course!/" - global.msg[3] = "You want some&LOVE, don't you?/" - global.msg[4] = "Don't worry,&I'll share some&with you!/%" - break - case 667: - global.msg[0] = "Down here^1, LOVE is&shared through..^1./" - global.msg[1] = "Little white..^2.\E1 &" + chr(34) + "friendliness&pellets." + chr(34) + "/" - global.msg[2] = "\E2Are you ready\E0?/%" - break - case 668: - global.msg[0] = "Move around^1!&Get as many as&you can^2!%%%" - global.msg[1] = "%%%" - break - case 669: - global.msg[0] = "You idiot./" - global.msg[1] = "In this world^1, it's&kill or BE killed./" - global.msg[2] = "Why would ANYONE pass&up an opportunity&like this!?/%" - break - case 670: - global.msg[0] = "Die./%" - break - case 671: - global.msg[0] = "Hey buddy^1,&you missed them./" - global.msg[1] = "Let's try again^1,&okay?/%" - break - case 672: - global.msg[0] = "Is this a joke^2?&Are you braindead^2?&RUN^2. INTO^2. THE^2.&BULLETS!!!" - break - case 673: - global.msg[0] = "You know what's&going on here^1,&don't you?/" - global.msg[1] = "You just wanted to&see me suffer./%" - break - case 674: - global.msg[0] = "\E1What a terrible&creature^1, torturing&such a poor^1,&innocent youth.../" - global.msg[1] = "\E2Ah, do not be&afraid^1, my child./" - global.msg[2] = "\XI am \BTORIEL\X,&caretaker of&the \RRUINS\X./" - global.msg[3] = "I pass through this&place every day to&see if anyone has&fallen down./" - global.msg[4] = "You are the first&human to come here&in a long time./" - global.msg[5] = "I will do my best&to ensure your&protection during&your time here./%%" - global.msg[5] = "\E2Come^2!&I will guide you&through the&catacombs./%%" - global.msg[6] = "%%%" - break - case 680: - global.msg[0] = "* Three gold for the ferry.& & Yes No\C" - global.msg[1] = " " - break - case 681: - global.msg[0] = "* Later^1, then./%%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = "* Hop on!/%%" - } - break - case 682: - global.msg[0] = "* (It's a switch.)& & Press it Don't\C" - global.msg[1] = " " - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were deactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were reactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "\E1* Um.../" - global.msg[3] = "\E0* I noticed you've been& kind of quiet.../" - global.msg[4] = "\W*\E8 Are you w-worried& about meeting \RASGORE\W...?/" - global.msg[5] = "\E2* .../" - global.msg[6] = "\E0* W-well^1, don't worry^1,& okay?/" - global.msg[7] = "\E7* Th-the king is a& really nice guy.../" - global.msg[8] = "\E0* I'm sure you can& talk to him^1, and.../" - global.msg[9] = "* W-with your human& soul^1, you can pass& through the barrier!/" - global.msg[10] = "* S-so no worrying^1, OK^1?&* J-just forget about it& and smile./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* Click.../%%" - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = "* hey buddy^1, what's up^1?&* wanna buy a hot dog?/" - global.msg[1] = "* it's only 30G.& & Yes No \C" - global.msg[2] = " " - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = "* here^1.&* have fun./%%" - if (global.flag[380] == 1) - { - global.msg[0] = "* here's another hot& dog./" - global.msg[1] = "* it's on the house^1.&* well^1, no^1.&* it's on you./%%" - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = "* sorry^1, thirty is& the limit on& head-dogs./%%" - if (global.flag[381] == 0) - { - global.msg[0] = "\TS*^1 \Tsi'll be 'frank' with& you./" - global.msg[1] = "* as much as i like& putting hot dogs& on your head.../" - global.msg[2] = "* thirty is just& an excessive number./" - global.msg[3] = "* twenty-nine^1, now& that's fine^1, but& thirty.../" - global.msg[4] = "* does it look like& my arms can reach& that high?/%%" - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = "* thanks, kid^1.&* here's your hot dog./%%" - if (global.flag[379] == 0) - { - global.msg[0] = "* thanks, kid^1.&* here's your 'dog./" - global.msg[1] = "* yeah^1. 'dog^1.&* apostrophe-dog^1.&* it's short for hot-dog./%%" - } - if (global.flag[379] == 1) - { - global.msg[0] = "* another h'dog^1?&* here you go.../" - global.msg[1] = "* whoops^1, i'm actually& out of hot dogs./" - global.msg[2] = "* here^1, you can have& a hot cat instead./%%" - } - if (global.flag[379] == 2) - { - global.msg[0] = "* another dog^1, coming& right up.../" - global.msg[1] = "* ... you really like& hot animals^1, don't& you?/" - global.msg[2] = "* hey^1, i'm not judging./" - global.msg[3] = "* i'd be out of a job& without folks like you./%%" - } - if (global.flag[379] == 3) - { - global.msg[0] = "* cool^1.&* here's that ''dog./" - global.msg[1] = "* apostrophe-apostrophe& dog./" - global.msg[2] = "* it's short for& apostrophe-dog./" - global.msg[3] = "* which is^1, in turn^1,& short for.../%%" - } - if (global.flag[379] == 4) - { - global.msg[0] = "* another one^1?&* okay./" - global.msg[1] = "* careful^1.&* if you eat& too many hot dogs.../" - global.msg[2] = "* you'll probably get& huge like me./" - global.msg[3] = "* huge as in super-& popular^1, i mean./" - global.msg[4] = "* i'm practically& a hot-dog tycoon now./%%" - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = "* whoops^1, you don't have& enough cash./" - global.msg[1] = "* you should get a job^1.&* i've heard being a& sentry pays well./%%" - } - } - if (noroom == 1) - { - global.msg[0] = "* you're holding too much^1.&* ... guess i'll just put& it on your head./%%" - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* yeah^1, you've gotta& save your money for& college and spiders./%%" - break - case 690: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* L-looks like you& beat him!/" - global.msg[3] = "\E0* Y-you did a really& great job out there./" - global.msg[4] = " & All thanks& to you ... \C" - global.msg[5] = " " - break - case 691: - if (global.choice == 0) - { - global.msg[0] = "\E3* What^1?&* Oh no^1, I mean.../" - global.msg[1] = "\E4* You were the one& doing everything cool!/" - global.msg[2] = "\E0* I just wrote some& silly programs for& your phone./" - } - if (global.choice == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E2* .../" - global.msg[2] = "\E1* .../" - } - global.msg[3] = "\E2* .../" - global.msg[4] = "\E4* ... umm^1, h-hey^1, this& might sound strange^1,& but.../" - global.msg[5] = "\E6* ... c-can I tell& you something?/" - global.msg[6] = "\E9* .../" - global.msg[7] = "\E4* B-before I met you^1,& I d-didn't really.../" - global.msg[8] = "\E9* I didn't really& like myself very& much./" - global.msg[9] = "* For a long time^1,& I f-felt like a& total screw-up./" - global.msg[10] = "\E9* L-like I couldn't& do a-anything& w-without.../" - global.msg[11] = "\E9* W-without ending up& letting everyone& down./" - global.msg[12] = "\E3* B-but...!/" - global.msg[13] = "\E4* Guiding you has& made me feel.../" - global.msg[14] = "\E9* A lot better about& myself./" - global.msg[15] = "\E0* So... thanks for& letting me help& you./" - global.msg[16] = "\E9* .../" - global.msg[17] = "\E4* Uhhh^1, anyway^1, we're& almost to the CORE./" - global.msg[18] = "\E0* It's just past& MTT Resort./" - global.msg[19] = "\E6* Come on^1!&* Let's finish this!/%%" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* Click.../%%" - break - case 692: - global.msg[0] = "\E0EUREKA!!!/" - global.msg[1] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[2] = "\E3YOU SEEM LIKE&YOU'RE HAVING&FUN^1, THOUGH.../" - global.msg[3] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[6] = " " - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 694: - global.msg[0] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[1] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[4] = " " - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 696: - global.msg[0] = "* (There's a switch on the& trunk of this tree.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - break - case 697: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = "OHO^1!&THE HUMAN ARRIVES!/" - global.msg[1] = "ARE YOU READY TO&HANG OUT WITH&UNDYNE?/" - global.msg[2] = "I HAVE A PLAN&TO MAKE YOU TWO&GREAT FRIENDS!/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Will you hang out?)& & Yes No\C" - global.msg[5] = " " - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = "HMMM..^1.&STILL GETTING&READY?/" - global.msg[2] = "\E0TAKE YOUR TIME!/%%" - } - break - case 700: - global.msg[0] = "OKAY^1!&ALL READIED-UP&TO HANG OUT!?/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* (Will you hang out?)& & Yes No\C" - global.msg[3] = " " - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 703: - global.msg[0] = "\E4* .../" - global.msg[1] = "\E5* So why are YOU& here?/" - global.msg[2] = "\E4* To rub your victory& in my face?/" - global.msg[3] = "\E4* To humiliate me& even further?/" - global.msg[4] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[5] = " " - break - case 704: - if (global.choice == 0) - { - global.msg[0] = "\E2* Oh-ho-ho-ho./" - global.msg[1] = "\E1* Well^1, I've got news& for you^1, BRAT./" - global.msg[2] = "\E2* You're on MY& battlefield now./" - global.msg[3] = "\E3* And you AREN'T& going to& humiliate me./" - global.msg[4] = "\E3* I'll TELL you& what's going to& happen./" - global.msg[5] = "\E0* We're going to& hang out./" - global.msg[6] = "\E2* We're going to& have a good& time./" - global.msg[7] = "\M1* We're going to& become " + chr(34) + "friends." + chr(34) + "/" - global.msg[8] = "\E3* You'll become so& enamored with me.../" - global.msg[9] = "\E1* YOU'LL be the one& feeling humiliated& for your actions!/" - global.msg[10] = "\E6* Fuhuhuhuhu!!/" - global.msg[11] = "\M2* It's the perfect& revenge!!!/" - global.msg[12] = "\E1* Err.../" - global.msg[13] = "\E9* Why don't you& have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\E4* Then why are you& here?/" - global.msg[1] = "\E1* ...!/" - global.msg[2] = "\E2* Wait^1, I get it./" - global.msg[3] = "\E3* You think that I'm& gonna be friends& with you^1, huh?/" - global.msg[4] = "* Right???& NEVER & Yes with you\C" - global.msg[5] = " " - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = "\E6* Really^1?&* How delightful!^1!&* I accept!/" - global.msg[1] = "* Let's all frolick& in the fields& of friendship!/" - global.msg[2] = "\E2* ...NOT!/" - global.msg[3] = "\E2* Why would I EVER& be friends with& YOU!?/" - global.msg[4] = "\E3* If you weren't my& houseguest^1, I'd beat& you up right now!/" - global.msg[5] = "\E0* You're the enemy& of everyone's hopes& and dreams!/" - global.msg[6] = "\E1* I WILL NEVER& BE YOUR FRIEND./" - global.msg[7] = "\E3* Now get out of& my house!/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = "\E1* WHAT?/" - global.msg[1] = "\E4* First you parade& into my house^1,& then you INSULT me?/" - global.msg[2] = "\E2* You little BRAT^1!&* I have half a& mind to.../" - global.msg[3] = "\E1* .../" - global.msg[4] = "\E3* Wait./" - global.msg[5] = "\E2* I'll prove you& WRONG./" - global.msg[6] = "\E3* We ARE going to& be friends./" - global.msg[7] = "\E1* In fact.../" - global.msg[8] = "\E3* We./" - global.msg[9] = "\M1* Are going to be& BESTIES./" - global.msg[10] = "* I'll make you like& me so much.../" - global.msg[11] = "\E1* Your WHOLE LIFE& will revolve around& me!!/" - global.msg[12] = "\M2* It's the perfect& revenge!!!/" - global.msg[13] = "\E6* FUHUHUHUHU!!!/" - global.msg[14] = "\E1* Err.../" - global.msg[15] = "\E9* Now^1, why don't& you have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = "* (Sit down and progress?)& & Yes No\C" - global.msg[1] = " " - break - case 707: - global.msg[0] = " %%" - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = " %%" - global.msg[1] = " %%" - } - break - case 708: - global.msg[0] = "* That sugar's for& the tea./" - global.msg[1] = "\E2* I'm not gonna give& you a cup of& sugar!/" - global.msg[2] = "\E6* What do I look& like^1, the ice-cream& woman?/" - global.msg[3] = "\E2* Do human ice-cream& women TERRORIZE HUMANITY& with ENERGY SPEARS?/" - global.msg[4] = "\E3* Are their ice-cream& songs a PRELUDE TO& DESTRUCTION?/" - global.msg[5] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[6] = " " - break - case 709: - if (global.choice == 0) - { - global.msg[0] = "\E1* ... what^1?&* REALLY?/" - global.msg[1] = "\E6* That rules!!!/%%" - } - if (global.choice == 1) - global.msg[0] = "\E3* That's what I& thought./%%" - break - case 710: - global.msg[0] = "* Envision these& vegetables as your& greatest enemy!/" - global.msg[1] = "\E2* Now!^1!&* Pound them to dust& with your fists!!/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (How will you pound?)& & Strong Wimpy\C" - global.msg[4] = " " - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = "* (You punch the vegetables& at full force^1.&* You knock over a tomato.)/" - scr_undface(1, 6) - global.msg[2] = "* YEAH^1!&* YEAH!/" - global.msg[3] = "\E1* Our hearts are& uniting against these& healthy ingredients!/" - global.msg[4] = "\M2* NOW IT'S MY TURN!/" - global.msg[5] = "* NGAHHH!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = "* (You pet the vegetables& in an affectionate& manner.)/" - scr_undface(1, 1) - global.msg[2] = "* OH MY GOD!!^1!&* STOP PETTING THE& ENEMY!!!/" - global.msg[3] = "\M2* I'll show you& how it's done!/" - global.msg[4] = "* NGAHHH!/%%" - } - break - case 712: - global.msg[0] = "* ... we add the& noodles!/" - global.msg[1] = "\E0* Homemade noodles& are the best!/" - global.msg[2] = "\E6* BUT I JUST BUY& STORE-BRAND!/" - global.msg[3] = "\M2* THEY'RE THE& CHEAPEST!!!/" - global.msg[4] = "\E1* NGAHHHHHHHHH& HHHHHHHHHH!!!/" - global.msg[5] = "\E9* Uhh^1, just put them& in the pot./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "\M0* (How will you put them in?)& & Fiercely Careful\C" - global.msg[8] = " " - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = "* (You throw everything into& the pot as hard as you can^1,& including the box.)/" - global.msg[1] = "* (It clanks against the& empty bottom.)/" - scr_undface(2, 6) - global.msg[3] = "\M2* YEAH!!^1!&* I'M INTO IT!!!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = "* (You place the noodles& in one at a time.)/" - global.msg[1] = "* (They clank against the& empty bottom.)/" - scr_undface(2, 9) - global.msg[3] = "* Nice???/%%" - } - break - case 714: - global.msg[0] = "\E0* Humans suck^1, but& their history..^1.&* Kinda rules./" - global.msg[1] = "\E2* Case in point^1:&* This giant sword!/" - global.msg[2] = "\E0* Historically^1, humans& wielded swords up& to 10x their size./" - global.msg[3] = "\E1* RIGHT?& & True False\C" - global.msg[4] = " " - break - case 715: - if (global.choice == 0) - { - global.msg[0] = "\E6* Heh^1, I knew it!/" - global.msg[1] = "\E2* When I first heard& that^1, I immediately& wanted one!/" - global.msg[2] = "\E0* So me and Alphys& built a giant& sword together./" - global.msg[3] = "\E0* She figured out all& the specs herself.../" - global.msg[4] = "\E6* She's smart^1, huh!?/%%" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* Pfft^1!&* You liar!/" - global.msg[1] = "\E3* I've READ Alphys's& human history book& collection!/" - global.msg[2] = "\E3* I know all about& your giant swords.../" - global.msg[3] = "\E3* Your colossal^1,& alien-fighting& robots.../" - global.msg[4] = "* Your supernatural& princesses.../" - global.msg[5] = "\E6* Heh^1! There's no& way you're gonna& fool me!!!/%%" - } - break - case 716: - global.msg[0] = "* (Look inside the bone drawer?)& & Yes No\C" - global.msg[1] = " " - break - case 717: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = "\M5* WHAT A SENSATIONAL OPPORTUNITY& FOR A STORY!/" - global.msg[1] = "\M3* I CAN SEE THE HEADLINE NOW:/" - global.msg[2] = "\M4* " + chr(34) + "A DOG EXISTS SOMEWHERE." + chr(34) + "/" - global.msg[3] = "\M2* FRANKLY^1, I'M BLOWN AWAY./" - global.msg[4] = "* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 721: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 722: - global.msg[0] = "\M5* THIS DOG..^1.&* STILL EXISTS!/" - global.msg[1] = "* THIS STORY..^1.&* JUST KEEPS GETTING& BETTER AND BETTER!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 723: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 724: - global.msg[0] = "\M5* OH MY!!!!/" - global.msg[1] = "\M2* ... IT'S A COMPLETELY& NONDESCRIPT GLASS OF WATER./" - global.msg[2] = "\M4* BUT ANYTHING CAN MAKE& A GREAT STORY WITH ENOUGH& SPIN!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 725: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 726: - global.msg[0] = "\M3* I'M HONORED TO BE IN THE& PRESENCE OF SUCH A HUGE& LUKEWARM WATER FAN^1, FOLKS!/" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 727: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 728: - global.msg[0] = "\M5* OH NO!!^1!&* THAT MOVIE SCRIPT!!^1!&* HOW'D??^1? THAT GET THERE???/" - global.msg[1] = "\M4* IT'S A SUPER-JUICY SNEAK& PREVIEW OF MY LATEST& GUARANTEED-NOT-TO-BOMB FILM:/" - global.msg[2] = "\M6* METTATON THE MOVIE XXVIII..^1.& STARRING METTATON!/" - global.msg[3] = "\M1* I'VE HEARD THAT LIKE THE& OTHER FILMS.../" - global.msg[4] = "\M1* IT CONSISTS MOSTLY OF A SINGLE& FOUR-HOUR SHOT OF ROSE PETALS& SHOWERING ON MY RECLINING BODY./" - global.msg[5] = "\M5* OOH!!^1!&* BUT THAT'S!!^1!&* NOT CONFIRMED!!/" - global.msg[6] = "\M5* YOU WOULDN'T (COUGH) SPOIL MY& MOVIE FOR EVERYONE WITH A& PROMOTIONAL STORY^1, WOULD YOU?/" - global.msg[7] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[8] = " " - break - case 729: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\M5* PHEW!!^1! THAT WAS CLOSE!^1!&* YOU ALMOST GAVE ME A BUNCH& OF FREE ADVERTISEMENT!!/%%" - global.msg[1] = "\M2 %%" - } - break - case 730: - global.msg[0] = "\M3* OH^1!&* YOU'RE BACK!/" - global.msg[1] = "\M6* THAT'S RIGHT^1, FOLKS^1!&* IT SEEMS NO ONE CAN RESIST& THE ALLURE OF MY NEW FILM!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 731: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 732: - global.msg[0] = "\M4* BASKETBALL'S A BLAST^1, ISN'T IT^1,& DARLING?/" - global.msg[1] = "\M1* TOO BAD YOU CAN'T PLAY WITH& THESE BALLS./" - global.msg[2] = "\M4* THEY'RE MTT-BRAND FASHION& BASKETBALLS^1.&* FOR WEARING^1, NOT PLAYING./" - global.msg[3] = "\M6* YOU CAN'T GET RICH AND FAMOUS& LIKE MOI WITHOUT BEAUTIFYING& A FEW ORBS./" - global.msg[4] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 733: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 734: - global.msg[0] = "* IT SEEMS OUR REPORTER IS DRAWN& TO SPORTS LIKE MOTHS TO A& FLAMING BASKETBALL HOOP./" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 735: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 736: - global.msg[0] = "\M5* OH MY^1! IT'S A PRESENT^1!&* AND IT'S ADDRESSED TO YOU^1,& DARLING!/" - global.msg[1] = "\M6* AREN'T YOU JUST BURSTING& WITH EXCITEMENT?/" - global.msg[2] = "\M5* WHAT COULD BE INSIDE^1?&* WELL^1, NO TIME LIKE THE& " + chr(34) + "PRESENT" + chr(34) + " TO FIND OUT!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 737: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 738: - global.msg[0] = "\M4* READY FOR YOUR..^1.&* PRESENTATION?/" - global.msg[1] = "\M4* (... LET'S CUT THAT ONE IN& POST.)/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 739: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 740: - global.msg[0] = "\M5* OOH LA LA^1!&* THIS VIDEO GAME YOU FOUND..^1.&* IS DYNAMITE!!!/" - global.msg[1] = "\M4* THOUGH I DON'T MAKE AN& APPEARANCE IN IT UNTIL& THREE-FOURTHS IN./" - global.msg[2] = "\M3* BUT I LIKE THAT./" - global.msg[3] = "\M6* APPEARING FROM THE HEAVENS LIKE& MANNA^1, SLAKING THE AUDIENCE'S& HUNGER FOR GORGEOUS ROBOTS.../" - global.msg[4] = "\M5* OOH^1!&* THAT'S METTATON!/" - global.msg[5] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[6] = " " - break - case 741: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 742: - global.msg[0] = "* AH^1, YOU UNDERSTAND./" - global.msg[1] = "* THIS IS A GAME WHERE YOU& SHOULD CHECK EVERYTHING& TWICE./" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 743: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Cider for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Donut for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 748: - global.msg[0] = "* Ribbit^1, ribbit.&* (I have heard you are quite& merciful^1, for a human...)/" - global.msg[1] = "\W* (Surely you know by now a& monster wears a \YYELLOW\W name& when you can \YSPARE\W it.)/" - global.msg[2] = "* (What do you think of that?)& Very It's& Helpful Bad\C" - global.msg[3] = " " - break - case 749: - if (global.choice == 0) - { - global.msg[0] = "* (It is rather helpful.^1)&* (Remember^1, sparing is just& saying you won't fight.)/" - global.msg[1] = "* (Maybe one day^1, you'll& have to do it even if& their name isn't yellow.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Really^1? Then^1, I'll tell all& of my friends to tell& their friends' friends...)/" - global.msg[1] = "* (Never use yellow names.)&* (How about that?)/" - global.msg[2] = " Keep No more& Yellow Yellow& Names Names\C" - global.msg[3] = " " - } - break - case 750: - if (global.choice == 0) - global.msg[0] = "* (OK^1, they will still& use yellow names.)/%%" - if (global.choice == 1) - { - global.msg[0] = "* (OK^1, I will let them& know not to use yellow& names.)/%%" - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = "* Ribbit^1, ribbit^1.&* (How are you doing without& yellow names?)/" - global.msg[1] = " Bring & It's Them& great Back\C" - global.msg[2] = " " - break - case 752: - if (global.choice == 0) - { - global.msg[0] = "* (Glad to hear it.^1)&* (Though^1, I do not know why& you dislike yellow.)/" - global.msg[1] = "* (You had better hope you do& not encounter a banana-themed& monster.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Huh^1? It's rather inconvenient& that you changed your mind& like this.)/" - global.msg[1] = "* (Since I told everyone& not to use yellow names^1,& everyone threw theirs out.)/" - global.msg[2] = "* (This is really troubling...^1)&* (Hmmm...)/" - global.msg[2] = "\W* (Well^1, last year it was& fashionable to have \ppink\W & names.)/" - global.msg[3] = "* (I think everyone still& has those in their closets& somewhere...)/" - global.msg[4] = "* (I'll ask everyone to look.^1)&* (But this is the last time!)/%%" - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = "* Ribbit^1, ribbit...&* (I hope you're satisfied.)/%%" - break - case 754: - global.msg[0] = "* \YNAPSTABLOOK22 has sent you& a friend request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 755: - global.flag[409] = 1 - global.msg[0] = "* (It seems to have already& rejected itself...)/%%" - break - case 756: - global.msg[0] = "* \YMETTATON has sent you a& Mortal Enemy request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 757: - if (global.choice == 0) - { - global.msg[0] = "* Congratulations^1!&* You are now Mortal Enemies& with Mettaton./" - global.msg[1] = "* \YCOOLSKELETON95\W has posted& a comment on this change./" - global.msg[2] = "* CONGRATULATIONS^1, YOU TWO^1!&* WISH YOU A LONG AND& HORRIBLE RIVALRY./%%" - } - if (global.choice == 1) - global.msg[0] = "* You rejected the request./%%" - break - case 758: - global.msg[0] = "* \YMETTATON has sent you an& invitation to " + chr(34) + "Die." + chr(34) + "\W /" - global.msg[1] = "* RSVP?& & Respond Ignore\C" - global.msg[2] = " " - break - case 759: - if (global.choice == 0) - global.msg[0] = "* Bepis valley Granola Bars/%%" - if (global.choice == 1) - global.msg[0] = "* Bepis valley Granola Bars/%%" - break - case 760: - global.msg[0] = "* hey^1.&* i heard you're going& to the core./" - global.msg[1] = "\E0* how about grabbing some& dinner with me first?& Yeah I'm busy \C" - global.msg[2] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - break - case 761: - if (global.choice == 0) - { - global.msg[0] = "* great^1, thanks for& treating me./%%" - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* well^1, have fun in& there./%%" - break - case 762: - global.msg[0] = "* This is the barrier./" - global.msg[1] = "* This is what keeps& us all trapped& underground./" - global.msg[2] = "* .../" - global.msg[3] = "* If.../" - global.msg[4] = "* If by chance you& have any unfinished& business.../" - global.msg[5] = "* Please do what you& must./" - global.msg[6] = " & & Continue Go Back\C" - global.msg[7] = " " - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Anything you want to& do is important& enough./" - global.msg[2] = "* Even something as small& as reading a book^1,& or taking a walk.../" - global.msg[3] = "* Please take your time./%%" - } - break - case 764: - global.msg[0] = "* Oh..^1.&* Back so soon?/" - global.msg[1] = "* How are you feeling?/" - global.msg[2] = " & & Ready Go Back\C" - global.msg[3] = " " - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Do what you have to./%%" - } - break - case 770: - global.msg[0] = "* Tra la la^1.&* I am the riverman./" - global.msg[1] = "* Or am I the riverwoman...^1?&* It doesn't really matter./" - global.msg[2] = "* I love to ride in my boat^1.&* Would you care to join me?/" - global.msg[3] = "* (Ride in the boat?)& & Yes No\C" - global.msg[4] = " " - if (global.flag[460] > 0) - { - global.msg[0] = "* Tra la la^1.&* Care for a ride?/" - global.msg[1] = "* (Ride in the boat?)& & Yes No\C" - global.msg[2] = " " - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = "* Where will we go today?& & Error Error\C" - if (room == room_fire_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Waterfall\C" - if (room == room_water_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Hotland\C" - if (room == room_tundra_dock) - global.msg[0] = "* Where will we go today?& & Waterfall Hotland\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* Then perhaps another time^1.&* Or perhaps not^1.&* It doesn't really matter./%%" - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = "* Then we're off.../%%" - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = "* (There's a switch on the& wall.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = "* (The switch doesn't do& anything.)/%%" - break - case 781: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = "* (Seems like a comfortable& bed.)/" - global.msg[1] = "* (Lie on it?)& & Yes No\C" - global.msg[2] = " " - break - case 783: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = "* (It's just a regular suspicious& bed now.)/%%" - if (global.flag[484] == 1) - { - global.msg[0] = "* (It's a yellow key.^1)&* (You put it on your& keychain.)/%%" - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = "* (There's something under& the sheets.)/" - global.msg[1] = "* (Check it out?)& & Yes No\C" - global.msg[2] = " " - } - break - case 785: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = "* (The power has been turned& on.)/%%" - if (global.flag[491] == 0) - { - global.msg[0] = "* (It seems like this controls& the elevator's power.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - break - case 787: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = (("\E7* I always was a crybaby^1,& wasn't I^1, " + global.charname) + "?/") - global.msg[1] = "\E1* .../" - global.msg[2] = "\E2* ... I know./" - global.msg[3] = (("\E0* You're not actually& " + global.charname) + ", are you?/") - global.msg[4] = (("\E7* " + global.charname) + "'s been gone for& a long time./") - global.msg[5] = "* .../" - global.msg[6] = "\E9* Um..^1. what.../" - global.msg[7] = "\E0* What IS your name?/" - global.msg[8] = "\E2* .../" - global.msg[9] = "\E5* " + chr(34) + "Frisk?" + chr(34) + "/" - global.msg[10] = "\E7* That's.../" - global.msg[11] = "\E5* A nice name./" - global.msg[12] = "* .../" - global.msg[13] = "\E7* Frisk.../" - global.msg[14] = "\E0* I haven't felt like& this for a long time./" - global.msg[15] = "\E2* As a flower^1, I was& soulless./" - global.msg[16] = "\E1* I lacked the power to& love other people./" - global.msg[17] = "\E2* However^1, with everyone's& souls inside me.../" - global.msg[18] = "\E7* I not only have my own& compassion back.../" - global.msg[19] = "\E5* But I can feel every& other monster's as& well./" - global.msg[20] = "\E7* They all care about& each other so much./" - global.msg[21] = "\E0* And..^1. they care about& you too^1, Frisk./" - global.msg[22] = "* .../" - global.msg[23] = "\E7* I wish I could tell& you how everyone& feels about you./" - global.msg[24] = "* Papyrus..^1. Sans..^1.&* Undyne..^1. Alphys.../" - global.msg[25] = "\E0* ... Toriel./" - global.msg[26] = "\E7* Monsters are weird./" - global.msg[27] = "\E5* Even though they barely& know you.../" - global.msg[28] = "\E6* It feels like they& all really love& you./" - global.msg[29] = "\E8* Haha./" - global.msg[30] = "* .../" - global.msg[31] = "\E1* Frisk..^1. I..^1.&* I understand if you& can't forgive me./" - global.msg[32] = "* I understand if you& hate me./" - global.msg[33] = "* I acted so strange and& horrible./" - global.msg[34] = "\E3* I hurt you./" - global.msg[35] = "* I hurt so many people./" - global.msg[36] = "\E1* Friends^1, family^1,& bystanders.../" - global.msg[37] = "\E3* There's no excuse for& what I've done./" - global.msg[38] = " & & Forgive Do not\C" - global.msg[39] = " " - break - case 801: - if (global.choice == 0) - { - global.msg[0] = "\E3* Wh..^1. what?/" - global.msg[1] = "\E7* ... Frisk^1, come on./" - global.msg[2] = "\E0* You're..^1.&* You're gonna make me& cry again./" - global.msg[3] = "\E7* ... besides^1, even if& you do forgive me.../" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* ... right^1./" - global.msg[1] = "* I understand./" - global.msg[2] = "\E1* I just hope that.../" - global.msg[3] = "* I can make up for& it a little right& now./" - } - global.msg[4] = "\E1* I can't keep these& souls inside of me./" - global.msg[5] = "\E0* The least I can do& is return them./" - global.msg[6] = "\E2* But first.../" - global.msg[7] = "\E4* There's something I& have to do./" - global.msg[8] = "* Right now^1, I can feel& everyone's hearts& beating as one./" - global.msg[9] = "* They're all burning& with the same& desire./" - global.msg[10] = "* With everyone's power..^1.&* With everyone's& determination.../" - global.msg[11] = "* It's time for& monsters.../" - global.msg[12] = "* To finally go free./%%" - break - case 803: - global.msg[0] = "\E7* Frisk.../" - global.msg[1] = "\E0* I have to go now./" - global.msg[2] = "\E7* Without the power of& everyone's souls.../" - global.msg[3] = "\E1* I can't keep& maintaining this& form./" - global.msg[4] = "* In a little while.../" - global.msg[5] = "* I'll turn back into& a flower./" - global.msg[6] = "\E3* I'll stop being& " + chr(34) + "myself." + chr(34) + "/" - global.msg[7] = "* I'll stop being able& to feel love again./" - global.msg[8] = "\E1* So..^1. Frisk./" - global.msg[9] = "\E7* It's best if you& just forget about& me^1, OK?/" - global.msg[10] = "\E0* Just go be with& the people who& love you./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & Comfort& him Do not\C" - global.msg[13] = " " - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = "\E0* So^1, Alphys.../" - global.msg[1] = "\E9* What do you want& to do now that& we're all free?/" - global.msg[2] = "\E0* We have the whole& world to explore& now./" - scr_alface(3, 3) - global.msg[4] = "\E3* W-well^1, of course& I'm going to go& out and.../" - global.msg[5] = "\E4* Um.../" - global.msg[6] = "\E3* No^1, I should be& honest!!/" - global.msg[7] = "\E1* I'm gonna stay inside& and watch anime like& a total loser!/" - scr_papface(8, 0) - global.msg[9] = "\E0THAT'S THE SPIRIT!/" - global.msg[10] = "EVERYONE!!^1!&A CELEBRATION!!!&TO BEING LOSERS!!/" - scr_undface(11, 9) - global.msg[12] = "\E9* Heh^1.&* Papyrus has the& right idea./" - global.msg[13] = "\E0* Losing to Frisk is& the best thing to& ever happen to me./" - global.msg[14] = "\E0* So I'm glad that& we.../" - global.msg[15] = "\E9* Huh^1?&* What is it^1, Asgore?/" - scr_asgface(16, 2) - global.msg[17] = "\E2* Um..^1. what's an.../" - global.msg[18] = "\E0* ... anime?/" - scr_alface(19, 1) - global.msg[20] = "\E1* (Oh My God?)/" - global.msg[21] = "\E3* (Frisk^1. Please.)/" - global.msg[22] = "\E2* (Help me explain what& anime is to Asgore.)/" - global.msg[23] = "\E0* Y-you see^1, it's& like a cartoon^1,& but.../" - global.msg[24] = "\TS \F0 \T0 %" - global.msg[25] = " & With With& Sword's Gun's\C" - global.msg[26] = " " - break - case 807: - scr_asgface(0, 2) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with swords?/" - if (global.choice == 1) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with guns?/" - global.msg[2] = "\E0* Golly^1!&* That sounds neato!/" - global.msg[3] = "\E3* Where is this^1?&* Where can I see the& Anime./" - scr_alface(4, 3) - global.msg[5] = "\E3* H-hold on^1, uh..^1.&* I think I have& some on my phone./" - global.msg[6] = "\E0* Here^1, l-look at& this!/" - global.msg[7] = "\E0* .../" - global.msg[8] = "\E3*...Oh^1, uh.../" - global.msg[9] = "\E4* Um..^1. that's the..^1.&* That's the wrong.../" - global.msg[10] = "\E5* Uh^1, nevermind./" - scr_asgface(11, 1) - global.msg[12] = "* Golly^1.&* Were those two robots.../" - scr_undface(13, 9) - global.msg[14] = "\E9* ... kissing?/" - scr_asgface(15, 0) - global.msg[16] = "\E0* Boy^1!&* Technology sure is& something^1, isn't it?/" - scr_alface(17, 5) - global.msg[18] = "\E5* Eheheh..^1. yeah^1!&* It sure is!/%%" - break - case 808: - global.msg[0] = "\E0* Psst..^1.&* F-Frisk./" - global.msg[1] = "\E3* Um^1, you've gotta& tell me./" - global.msg[2] = "\E6* D..^1. do you think& Asgore and Toriel& are...?/" - global.msg[3] = "\E3* Uh^1, ever gonna get& back together?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "& & Yeah Nope\C" - global.msg[6] = " " - break - case 809: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = "\E7* Y-yeah!!^1!&* Yeah^1, that's what& I hope^1, too./" - global.msg[2] = "\E7* Just think about how& cute they must have& been together./" - global.msg[3] = "\E0* It's quickly becoming& my number one ship& of all time./" - global.msg[4] = "\E7* Tori and Gorey.../" - global.msg[5] = "\E5* My..^1.&* My old boss and& his ex-wife./" - global.msg[6] = "\E8* ... uh^1, that sounds& a lot less cool& all of a sudden./%%" - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = "\E8* ... yeah^1, that's what& I thought./" - global.msg[2] = "\E7* A woman can dream& though^1, right?/" - global.msg[3] = "\E2* And write fanfiction./" - global.msg[4] = "\E1* A LOT of fanfiction./%%" - } - break - case 810: - global.msg[0] = "\E0* Frisk^1!&* I just realized!/" - global.msg[1] = "\E3* Now that we aren't& fighting each& other.../" - global.msg[2] = "\E2* I can finally ask& you.../" - global.msg[3] = "\E0* " + chr(34) + "Would you like a& cup of tea?" + chr(34) + "/" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E0* Would you like a& cup of tea?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "& & Yes No\C" - global.msg[8] = " " - break - case 811: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = "* Oh^1!&* Well!/" - global.msg[2] = "\E3* Actually^1, the cup I& had is cold now./" - global.msg[3] = "* So you shouldn't& have it./" - global.msg[4] = "\E0* But^1, I am so& happy you said& yes./" - global.msg[5] = "\E0* As soon as I can^1,& I will make some& more for you./" - global.msg[6] = "\E0* Then we can be& great pals./%%" - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = "\E3* Oh.../" - global.msg[2] = "\E3* Okay./" - scr_undface(3, 2) - global.msg[4] = "\E2* Frisk^1! Stop^1!&* You're breaking his& big burly heart!/" - scr_asgface(5, 2) - global.msg[6] = "\E2* Um^1, it's OK^1, Undyne./" - global.msg[7] = "\E0* My heart's already& broken./" - scr_undface(8, 6) - global.msg[9] = "\E6* ASGORE^1! STOP^1!&* YOU'RE BREAKING MY& BIG BURLY HEART!/" - scr_alface(10, 9) - global.msg[11] = "\E9* Y-yeah^1, Asgore^1.&* Don't break Undyne's& heart./" - global.msg[12] = "\E2* That's my job./" - scr_undface(13, 2) - global.msg[14] = "\E2* OH MY GOD!&* YOU'RE GOING BACK& IN THE TRASH!!!/" - scr_papface(15, 0) - global.msg[16] = "\E0CAN I GO IN THE&TRASH TOO?/" - scr_undface(17, 9) - global.msg[18] = "\E9* Sure^1, Papyrus./" - scr_sansface(19, 1) - global.msg[20] = "\E1* guess i have to& go in the trash& too./" - scr_torface(21, 0) - global.msg[22] = "\E0* Oh^1, may I enter& the trash as well?/" - scr_undface(23, 1) - global.msg[24] = "\E1* Uh^1, okay?/" - scr_asgface(25, 0) - global.msg[26] = "\E0* Am I invited to& the trash?/" - scr_undface(27, 6) - global.msg[28] = "\E6* SURE!!!&* WHY NOT!!!/" - scr_torface(29, 1) - global.msg[30] = "\E1* On second thought^1,& do not put me& in the trash./" - scr_asgface(31, 5) - global.msg[32] = "\E5* Oh.../" - scr_undface(33, 1) - global.msg[34] = "\E1* OH MY GOD!!!/%%" - } - break - case 812: - global.msg[0] = "* (If you leave here^1, your& adventure will really& be over.)/" - global.msg[1] = "* (Your friends will follow& you out of the underground.)/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = " & Don't I'm& leave ready\C" - global.msg[4] = " " - break - case 813: - global.msg[0] = " %%" - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = "\E0* Oh my.../" - scr_asgface(1, 0) - global.msg[2] = "\E0* Isn't it beautiful^1,& everyone?/" - scr_alface(3, 3) - global.msg[4] = "\E3* Wow..^1. it's e-even& better than on TV./" - global.msg[5] = "\E7* WAY better^1!&* Better than I ever& imagined!/" - scr_undface(6, 1) - global.msg[7] = "\E1* Frisk^1, you LIVE with& this!?/" - global.msg[8] = "\E9* The sunlight is so& nice..^1. and the air& is so fresh!/" - global.msg[9] = "* I really feel alive!/" - scr_papface(10, 0) - global.msg[11] = "\E0HEY SANS.../" - global.msg[12] = "\E3WHAT'S THAT GIANT&BALL?/" - scr_sansface(13, 1) - global.msg[14] = "\E1* we call that& " + chr(34) + "the sun^1," + chr(34) + " my friend./" - scr_papface(15, 0) - global.msg[16] = "\E0THAT'S THE SUN!^1?&WOWIE!!!/" - global.msg[17] = "I CAN'T BELIEVE&I'M FINALLY MEETING&THE SUN!!!/" - scr_asgface(18, 0) - global.msg[19] = "\E0* I could stand here& and watch this for& hours.../" - scr_torface(20, 0) - global.msg[21] = "\E0* Yes^1, it is beautiful^1,& is it not?/" - global.msg[22] = "\E1* But we should really& think about what comes& next./" - scr_asgface(23, 3) - global.msg[24] = "\E3* Oh^1, right./" - global.msg[25] = "\E0* Everyone.../" - global.msg[26] = "* This is the beginning& of a bright new& future./" - global.msg[27] = "* An era of peace between& humans and monsters./" - global.msg[28] = "\E2* Frisk.../" - global.msg[29] = "* I have something to& ask of you./" - global.msg[30] = "\E0* Will you act as our& ambassador to the& humans?/" - global.msg[31] = "\TS \F0 \T0 %" - global.msg[32] = "* (Be the ambassador?)& & Yes No\C" - global.msg[33] = " " - break - case 815: - scr_papface(0, 0) - global.msg[1] = "WOWi, Nice error./%%" - if (global.choice == 0) - { - global.msg[1] = "\E0YEAH^1!&FRISK WILL BE THE&BEST AMBASSADOR!/" - global.msg[2] = "AND I^1, THE GREAT&PAPYRUS.../" - global.msg[3] = "WILL BE THE BEST&MASCOT!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E0IT'S OK FRISK^1!&I'VE GOT YOU&COVERED!/" - global.msg[2] = "IF YOU DON'T WANT&TO BE THE&AMBASSADOR.../" - global.msg[3] = "I CAN DO IT FOR&YOU!!!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - break - case 820: - global.msg[0] = "* Frisk.../" - global.msg[1] = "\E2* You came from this& world^1, right...?/" - global.msg[2] = "\E1* So you must have& a place to return to^1,& do you not?/" - global.msg[3] = "\E2* What will you do& now?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = " I want I have& to stay places& with you to go\C" - global.msg[6] = " " - break - case 821: - global.msg[0] = " %%" - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = "* (The door has no mail slot.)/" - global.msg[1] = "* (Slide the letter under?)& & Slide NO!!!! \C" - global.msg[2] = " " - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = "* (You slide the letter under& the door and give it a& knock.)/%%" - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* (You'll keep the letter& warm for a little longer.)/%%" - break - case 827: - global.msg[0] = "* (It's a note from Alphys.)/" - global.msg[1] = "* (Read it...?)& & Read Do not \C" - global.msg[2] = " " - break - case 828: - if (global.choice == 0) - { - global.msg[0] = "* (It's hard to read because& of the handwriting^1, but& you try your best...)/" - global.msg[1] = "* Hey./" - global.msg[2] = "* Thanks for your help back& there./" - global.msg[3] = "* You guys..^1.&* Your support really means a& lot to me./" - global.msg[4] = "* But..^1.&* As difficult as it is& to say this.../" - global.msg[5] = "* You guys alone can't& magically make my own& problems go away./" - global.msg[6] = "* I want to be a better& person./" - global.msg[7] = "* I don't want to be& afraid anymore./" - global.msg[8] = "* And for that to happen^1,& I have to be able to& face my own mistakes./" - global.msg[9] = "* I'm going to start& doing that now./" - global.msg[10] = "* I want to be clear./" - global.msg[11] = "* This isn't anyone else's& problem but mine./" - global.msg[12] = "* But if you don't ever& hear from me again.../" - global.msg[13] = "* If you want to know& " + chr(34) + "the truth." + chr(34) + "/" - global.msg[14] = "* Enter the door to the& north of this note./" - global.msg[15] = "* You all at least deserve& to know what I did./" - global.msg[16] = "* (That's all she wrote.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = "* (Buy chips for 25G?)& & Buy No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There were no chips left& in the machine.)/%%" - global.msg[1] = " " - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* (The vending machine& dispensed some chisps.)/%%" - if (afford == 0) - global.msg[0] = "* (You didn't have enough& gold.)/%%" - } - if (noroom == 1) - global.msg[0] = "* (You are carrying too& many items.)/%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 831: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?/" - global.msg[5] = "\E1* ... wait^1.&* Do not tell me./" - if (bs == 0) - global.msg[6] = "\E0* It is ERROR MESSAGE!& & Yes No \C" - if (bs == 1) - global.msg[6] = "\E0* Is it Butterscotch?& & Yes No \C" - if (bs == 2) - global.msg[6] = "\E0* Is it Cinnamon?& & Yes No \C" - global.msg[7] = " " - break - case 832: - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - if (bs == 2) - global.flag[46] = 0 - global.msg[0] = "\E0* Hee hee hee^1.&* I had a feeling./" - global.msg[1] = "\E1* When humans fall down& here^1, strangely..^1.&* I.../" - global.msg[2] = "\E1* I often feel like& I already know them./" - global.msg[3] = "\E0* Truthfully^1, when I first& saw you^1, I felt.../" - global.msg[4] = "\E1* ... like I was seeing& an old friend for& the first time./" - global.msg[5] = "\E0* Strange^1, is it not?/" - global.msg[6] = "* Well^1, thank you for& your selection./" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - if (bs == 2) - global.flag[46] = 1 - global.msg[0] = "\E1* Oh..^1. I see./" - global.msg[1] = "\E0* Well^1, thank you^1.&* Goodbye for now./" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* Click.../%%" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - break - case 833: - global.msg[0] = "* (Seems like you could skip& Mettaton's monologue by& turning him around now.)/" - global.msg[1] = "* (What will you do?)& & Skip Hear again\C" - global.msg[2] = " " - break - case 834: - if (global.choice == 0) - { - global.msg[0] = "* (You told Mettaton there& was something cool& behind him.)/%%" - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = " %%" - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = "* though.../" - global.msg[1] = "* one thing about you& always struck me& as kinda odd./" - global.msg[2] = "* now^1, i understand& acting in self-defense./" - global.msg[3] = "* you were thrown into& those situations& against your will./" - global.msg[4] = "* but.../" - global.msg[5] = "* sometimes.../" - global.msg[6] = "* you act like you& know what's gonna& happen./" - global.msg[7] = "* like you've already& experienced it all& before./" - global.msg[8] = "* this is an odd thing& to say^1, but.../" - global.msg[9] = "\W* if you have some sort& of \Yspecial power\W.../" - global.msg[10] = "* isn't it your& responsibility to do& the right thing?/" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & & Yes No\C" - global.msg[13] = " " - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* ah./" - global.msg[2] = "\E0* i see./" - global.msg[3] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* heh./" - global.msg[2] = "\E0* well^1, that's your& viewpoint./" - global.msg[3] = "\E2* i won't judge you& for it./" - global.msg[4] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = "* (Ring...)/" - scr_alface(1, 0) - global.msg[2] = "\E0* Hey!/" - global.msg[3] = "\E3* This um^1, doesn't have& anything to do with& guiding you..^1. but.../" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E6* Uhh^1, hey^1, would you want& to watch a human TV& show together???/" - global.msg[6] = "* Sometime???/" - global.msg[7] = "\E4* It's called^1, um^1,& M..^1.Mew Mew Kissy& Cutie.../" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = " & & Sure! ...no...\C" - global.msg[10] = " " - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = "* R-really!?/" - global.msg[2] = "\E3* It's so good^1!&* It's um^1, my favorite& show!/" - global.msg[3] = "* It's all about this& human girl named Mew Mew& who has cat ears!%" - global.msg[4] = "\E3* Which humans don't have!&* S-so she's all& sensitive about them!%" - global.msg[5] = "\E6* But like...&* Eventually!%" - global.msg[6] = "* She realizes that her& ears don't matter!%" - global.msg[7] = "* That her friends like& her despite the ears!%" - global.msg[8] = "\E7* It's really moving!%" - global.msg[9] = "\E5* Whoops, spoilers%" - global.msg[10] = "\E6* Also, this sounds& weird, but she has& the power!%" - global.msg[11] = "\E5* To control the minds& of anyone she kisses!%" - global.msg[12] = "\E3* She kisses people and& controls them to fix& her problems!!%" - global.msg[13] = "\E5* They don't remember& anything after the& kiss I mean!!%" - global.msg[14] = "\E3* BUT IF SHE MISSES& THE KISS!!!&* THEN!!%" - global.msg[15] = "\E4* Then^1, uh^1, and^1, uh^1,& also I mean^1, of course%" - global.msg[16] = "\E5* Eventually^1, she& realizes that& controlling people%" - global.msg[17] = "\E3* OKAY WELL I almost& spoiled the whole& show^1, but%" - global.msg[18] = "\E5* Uhhh^1, I think you'd& really like it!!!/" - global.msg[19] = "\E0* We should watch it^1!&* After you get through& all this!/" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* (Click...)/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E5* Um^1! Well^1!&* That's okay!/" - global.msg[2] = "* Just thought I'd!^1!&* Ask!!!/" - global.msg[3] = "\E6* B-but I think you'd& really like it!!/" - global.msg[4] = "* If you gave it a& chance!!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Click...)/%%" - } - break - case 839: - global.msg[0] = "\M1* Did y'hear!^1?&* You're back!/" - global.msg[1] = "\M0* I'll tell you a big secret./" - global.msg[2] = "\M1* I'm starting a band^1, y'hear?/" - global.msg[3] = "\M1* It's called the Red Hot& Chibi Peppers./" - global.msg[4] = "\M0* All I've thought of is& the name./" - global.msg[5] = "\M3* And I don't^1, play...&* Instruments^1, or sing./" - global.msg[6] = "\M1* Well^1!&* Do you think we'll be& popular!!!/" - global.msg[7] = " & & Yeah No\C" - global.msg[8] = " " - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = "\M0* Yeah^1, me too.../%%" - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = " %%" - } - break - case 845: - global.msg[0] = "* (It's a lamp.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - break - case 846: - if (global.choice == 0) - { - global.msg[0] = "* (There's no lightbulb.^1)&* (A flashlight is stuck in& the bulb socket.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = " %%" - break - case 847: - if (global.choice == 0) - global.msg[0] = "* (The flashlight is out of& batteries.)/%%" - else - global.msg[0] = " %%" - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = "* Hey^1, hey^1!&* Did you remember my name?/" - global.msg[1] = "* (Did you?)& & Yes No\C" - global.msg[2] = " " - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = "* Wh-WHAT!^1?&* You REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = "* Wh-WHAT!^1?&* You DON'T REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - break - case 853: - global.msg[0] = "* (It's a small white dog.^1)&* (It's fast asleep...)/" - global.msg[1] = "* (Fight the dog?)& & Yes No\C" - global.msg[2] = " " - break - case 854: - if (global.choice == 0) - { - global.msg[0] = "* (Can't fight the dog.)/" - global.msg[1] = "* (Seems like the fabric it's& sleeping on has too many& holes in it.)/" - global.msg[2] = "* (Seems like the dog needs& to " + chr(34) + "patch" + chr(34) + " the fabric.)/" - global.msg[3] = "* (Then you can fight the dog.^1)&* (... maybe.)/" - global.msg[4] = "* (Upon closer examination^1,& the holes in the fabric& seem to be growing.)/" - global.msg[5] = "* (Might take a while for the& dog to fix all of them.)/" - global.msg[6] = "* (Dogs aren't usually very& good at knitting.)/" - global.msg[7] = "* (A crocheting dog is out of& the question.)/%%" - } - else - global.msg[0] = "* (Let sleeping dogs lie^1, instead& of fighting them.^1)&* (That's how the saying goes.)/%%" - break - case 860: - global.msg[0] = "* (Knock knock)./" - if (global.flag[262] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Sea Tea" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a million ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = "* (You pour the Sea Tea under& the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 862: - global.msg[0] = "* (Knock knock)./" - if (global.flag[263] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Cinnamon Bun" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a trillion ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = "* (You flatten the Cinnamon Bun& until it's paper thin.)&* (You slide it under the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 864: - global.msg[0] = "* (You hear shuffling.)/" - global.msg[1] = "* (Seems like you could put& something under the door.)/" - global.msg[2] = " & & Put No Put\C" - global.msg[3] = " " - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - break - case 865: - if (global.choice == 0) - { - global.msg[0] = "* (...)/" - global.msg[1] = "* (But you didn't have anything& appealing.)/%%" - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = "* (You put a Hot Dog in front& of the door.)/" - global.msg[1] = "* (A white paw shoots out from& under the door.)/" - global.msg[2] = "* (It tries to pull the Hot Dog& into its room...)/" - global.msg[3] = "* (But it keeps pressing down too& hard^1, and the hot dog keeps& spinning away.)/" - global.msg[4] = "* (...)/" - global.msg[5] = "* (It finally succeeds.)/" - global.msg[6] = "* (...)/" - global.msg[7] = "* (You hear the grinding of& stone.)/" - global.msg[8] = "* (A single hushpuppy slides& out from under the door.)/" - global.msg[9] = "* (You got Hush Puppy.)/%%" - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = "* (You put a Hot Cat in front& of the door.)/" - global.msg[1] = "* (You hear growling...)/%%" - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = "* (You put a Dog Salad in front& of the door.^1)&* (It slides underneath.)/" - global.msg[1] = "* (...)/" - global.msg[2] = "* (The Dog Salad was absorbed& by the darkness.)/%%" - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = "* (You put a Dog Residue in& front of the door.)/" - global.msg[1] = "* (It slides underneath the door^1,& as if pulled by a magnet.)/" - global.msg[2] = "* (...)/" - if (noroom == 1) - global.msg[3] = "* (ZOMMM!!^1!)&* (It shoots back out at a& high speed!)/%%" - else - global.msg[3] = "* (Two Dog Residues slowly slide& back out from underneath& the door.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 866: - global.msg[0] = "* Yes^1, we know^1.&* The elevator to the city& is NOT working./" - global.msg[1] = "* Because of this incident^1, rooms& are running at a special rate!/" - global.msg[2] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[3] = " " - if (global.flag[267] == 2) - { - global.msg[0] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[1] = " " - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = "* Did you enjoy your stay?/" - global.msg[1] = "* What^1?&* Room..^1.&* Key?/" - global.msg[2] = "* No^1, we don't do that./" - global.msg[3] = "* If you leave your room^1,& you'll have to pay again./" - global.msg[4] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[5] = " " - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* Fabulous^1!&* We'll escort you to your& room!/%%" - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = "* ... that's not enough money./%%" - } - else - global.msg[0] = "* Do let us know if you& change your mind^1.&* Have a sparkular day!/%%" - break - case 870: - global.msg[0] = "* ... MY ONE TRUE LOVE?/" - global.msg[1] = "* .../" - global.msg[2] = "* (YOU LOOK BORED^1, DARLING.)/" - global.msg[3] = "* (I WANT THIS TO BE A STELLAR& PERFORMANCE^1, SO IF YOU& WON'T GIVE IT YOUR ALL...)/" - global.msg[4] = "* (THEN I'LL SKIP AHEAD FOR& THE AUDIENCE'S SAKE.)/" - global.msg[5] = "* (Perform?)& & Yeah Skip this\C" - global.msg[6] = " " - break - case 871: - if (global.choice == 0) - global.msg[0] = "* (UNDERSTOOD.^1)&* (LET'S KNOCK 'EM DEAD!)/%%" - else - { - global.msg[0] = "* (KA-SIGH...^1)&* (THE SHOW MUST GO ON!)/%%" - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = "Interesting./" - global.msg[1] = "You want to go back./" - global.msg[2] = "You want to go bac^1k&to the worl^2d&you destroyed./" - global.msg[3] = "It was you who pushed&everythin^1g to its edge./" - global.msg[4] = "It was you who led the worl^1d&to its destruction./" - global.msg[5] = "But you cannot accept it./" - global.msg[6] = "You think you are above&consequences.& Yes No\C" - global.msg[7] = "" - break - case 889: - if (global.choice == 0) - global.msg[0] = "Exactly./%%" - else - global.msg[0] = "Then what are you looking for?/%%" - break - case 890: - global.msg[0] = "Perhaps./" - global.msg[1] = "We can reach a compromise./" - global.msg[2] = "You still have somethin^1g&I want./" - global.msg[3] = "Give it to me./" - global.msg[4] = "And I will bring this&world back./" - global.msg[5] = " & & Yes No\C" - global.msg[6] = "" - break - case 891: - if (global.choice == 0) - { - global.msg[0] = "Then it is agreed./" - global.msg[1] = "You will give me your SOUL.& & Yes No\C" - global.msg[2] = " " - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = ".../" - global.msg[1] = "Then^1, it is done./%%" - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 900: - global.msg[0] = "* hey./" - global.msg[1] = "* is your refrigerator& running?/" - global.msg[2] = " & & yes no\C" - global.msg[3] = " " - break - case 901: - if (global.choice == 0) - global.msg[0] = "* nice^1.&* i'll be over to deposit& the brewskis./%%" - else - { - global.msg[0] = "* ok^1, i'll send someone& over to fix it./" - global.msg[1] = "* thanks for letting me& know./" - global.msg[2] = "* good communication is& important./%%" - } - break - case 1001: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = " * Check * Console& * Terrorize" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = " * Check * Talk& * Devour * Dinner" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = " * Check * Pick On& * Don't Pick On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = " * Check * Flirt& * Threat * Cheer" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = " * Check * Pet" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = " * Check * Pet& * Pet * Pet & * Pet * Pet " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = " * Check * Agree& * Clash * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = " * Check * Compliment& * Ignore * Steal" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = " * Check * Compliment" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = " * Check * Ditch" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = " * Check * Decorate& * Undecorate * Gift" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = " * Check * Flex& * Shoo" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = " * Check * Flex& * Feed Temmie * Talk& Flakes " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = " * Check * Flirt& * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = " * Check * Clean& * Touch * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = " * Check * Smile& * Hum * Conduct" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = " * Check * Plead& * Challenge" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = " * Check * Cry" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = " * Check * Flirt& * Approach" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = " * Check * Criticize& * Encourage * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = " * Check * Cool Down& * Heat Up * Invite" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = (((("\W * Check * Struggle& * Pay " + string(global.flag[382])) + "G& \YYour Money: ") + string(global.gold)) + "G \W ") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = " * Check * Yell" - if (global.flag[385] > 0) - global.msg[0] = "\W * Check \Y* Yellow \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = " * Check * Fake Attack" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = " * Check * Talk & * Stare * Clear Mind" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = " * Check * Talk & * Sing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = " * Check * Defuse Bomb" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = " * Check * Burn" - if (global.flag[424] > 0) - global.msg[0] = "\W * Check \Y* Turn \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = " * Check * Boast& * Pose * Heel Turn" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = " * Call * Hum& * Scream * Flex& * Unhug * Cry" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = " * Check * Pick On& * Mystify * Clean& * Hum * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = " * Check * ITEM & * STAT * CELL" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = " * Check * Join& * Refuse" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = " * Fake Hit * Recipe& * Smile * Clash" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = " * Encourage * Call & * Nerd Out * Quiz" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = " * Joke * Puzzle & * Recipe * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = " * Take break * Joke & * Judgment * Crossword" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = " * Talk * Mercy & * Hug * Preference" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = " * Talk * Mercy & * Stare * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = " * Check * Switch& * Fix * Lie Down" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = " * Check * Hiss& * Devour * Snack" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = " * Check * Applaud& * Boo * Nothing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = " * Check * Something" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = " * Check * Draw" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = " * Check * Hope & * Dream" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = " * Error" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = " * Struggle" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = "\W * Undyne " - else - global.msg[0] = "\W \Y* (Saved) \W " - if (global.flag[506] == 0) - global.msg[0] += "* Alphys \W &" - else - global.msg[0] += "\Y* (Saved)\W &" - if (global.flag[507] == 0) - global.msg[0] += "\W * Papyrus * Sans \W &" - else - global.msg[0] += "\Y * (Saved) * (Saved)\W &" - if (global.flag[508] == 0) - global.msg[0] += "\W * Toriel * Asgore \W " - else - global.msg[0] += "\Y * (Saved) * (Saved)\W " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = " * Someone else" - if (global.flag[501] == 3) - global.msg[0] = " * Asriel Dreemurr" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = "* Dialing..\E0.\TT /" - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You only wanted to& say hello...^2?&* Well then./" - global.msg[4] = "\E0* 'Hello!'/" - global.msg[5] = "* I hope that suffices^1.&* Hee hee./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 2) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You want to say& hello again?/" - global.msg[4] = "* 'Salutations!'/" - global.msg[5] = "* Is that enough?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Are you bored^1?&* I should have given& a book to you./" - global.msg[4] = "* My apologies./" - global.msg[5] = "* Why not use your& imagination to& divert yourself?/" - global.msg[6] = "* Pretend you are..^1.&* A monarch!/" - global.msg[7] = "* Rule over the leaf pile& with a fist of iron./" - global.msg[8] = "* Can you do that for me?/" - global.msg[9] = "\TS \F0 \T0 %" - global.msg[10] = "* Click.../%%" - } - if (global.flag[40] > 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Hello^1, my child./" - global.msg[4] = "\E1* Sorry^1, I do not have& much to say./" - global.msg[5] = "\E0* It was nice to hear& your voice^1, though^1./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - break - case 1502: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* Help with a puzzle^1.^1.^1.?/" - global.msg[4] = "* Um^1, you have not& left the room^1, have you?/" - global.msg[5] = "\E0* Wait patiently for& me and we can solve& it together!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1503: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* You want to know& more about me?/" - global.msg[4] = "* Well^1, I am afraid there& is not much to say./" - global.msg[5] = "\E0* I am just a silly little& lady who worries too& much!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1504: - global.flag[42] = 1 - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E8* Huh^2?&* Did you just call& me... " + chr(34) + "Mom" + chr(34) + "?/" - global.msg[4] = "\E1* Well...&* I suppose.../" - global.msg[5] = "* Would that make you& happy?/" - global.msg[6] = "* To call me..^2.&* " + chr(34) + "Mother?" + chr(34) + "/" - global.msg[7] = "\E0* Well then^1, call me& whatever you like!/!" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E8* ...^2 huh???/" - global.msg[3] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[4] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[5] = "* You can certainly find& better than an old woman& like me./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[41] == 2) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E1* Oh dear,^1 are you& serious...?/" - global.msg[3] = "\E1* I do not know if this is& pathetic,^1 or endearing./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - if (global.flag[42] == 1) - { - global.msg[3] = "\E8* And after you said you& want to call& me " + chr(34) + "mother..." + chr(34) + "/" - global.msg[4] = "\E0* You are an...^2 & \E1... " + chr(34) + "interesting" + chr(34) + "& child./" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* But nobody came./%%" - } - else - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* Nobody picked up./%%" - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* The ringing is coming from& inside your inventory./%%" - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = "* Dialing...\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hey^1, you silly& child./" - global.msg[3] = "* If you want to& talk to me^1, I am& right here./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - break - case 1508: - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* (Somewhere^1, signals deflected& by a dog.)/%%" - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = "* (No response.^1)&* (Their phone might be out& of batteries.)/%%" - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = "* (The box is aclog with the& the hair of a dog.)/%%" - break - case 2001: - global.msg[0] = "\E2* Welcome to your new& home,^1 innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of& the RUINS./%" - break - case 2002: - global.faceplate = 1 - global.msg[0] = "\E8* ...^2 huh???/" - global.msg[1] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[2] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[3] = "* You can certainly find& better than an old woman& like me./%" - break - case 3002: - global.msg[0] = "* You encountered the Dummy." - global.msg[1] = "%%%" - break - case 3003: - global.msg[0] = "* Froggit attacks you!" - global.msg[1] = "%%%" - break - case 3004: - global.msg[0] = "* Froggit hopped close!" - global.msg[1] = "%%%" - break - case 3005: - global.msg[0] = "* Whimsun approached meekly!" - global.msg[1] = "%%%" - break - case 3006: - global.msg[0] = "* Froggit and Whimsun drew near!" - global.msg[1] = "%%%" - break - case 3007: - global.msg[0] = "* Moldsmal blocked the way!" - global.msg[1] = "%%%" - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 18d1db209..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/88ae093aa1ae0c90da0d3ff1e15aa724/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 0ba119150..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,54 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - show_debug_message((((((("layer: " + string(__i)) + " ") + __name) + "[") + string(__numels)) + "]")) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - var __inst = layer_instance_get_instance(__id) - __name = object_get_name(__inst.object_index) - show_debug_message((((" instance:" + string(__j)) + ": ") + __name)) - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - show_debug_message((" tile: " + string(__j))) - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index 1c4a7918f..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,923 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - if (global.submenu >= 30 && global.submenu <= 33) - { - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(abs((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_0") - if window_get_fullscreen() - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_1") - draw_sprite(spr_heart, 0, (xx + 145), ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text((xx + 170), (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text((xx + 430), (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text((xx + 170), (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text((xx + 170), (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text((xx + 430), (yy + 220), string_hash_to_newline(flashoff)) - draw_text((xx + 170), (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_93_0"))) - draw_text((xx + 430), (yy + 255), string_hash_to_newline(fullscreenoff)) - draw_text((xx + 170), (yy + 290), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text((xx + 430), (yy + 290), string_hash_to_newline(runoff)) - draw_text((xx + 170), (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_95_0"))) - draw_text((xx + 170), (yy + 360), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - draw_set_color(c_white) - draw_text((xx + 105), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - draw_text((xx + 325), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_114_0"))) - if obj_time.gamepad_active - draw_text((xx + 435), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), ((yy + 150) + (global.submenucoord[35] * 28))) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), ((yy + 140) + (i * 28)), string_hash_to_newline(function[i])) - if (i < 7) - { - draw_text((xx + 325), ((yy + 140) + (i * 28)), string_hash_to_newline(global.asc_def[global.input_k[i]])) - if obj_time.gamepad_active - draw_text((xx + 495), ((yy + 140) + (i * 28)), string_hash_to_newline(string(global.input_g[i]))) - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index bd6ba38ef..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1232 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 6) - global.submenucoord[30] = 6 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - with (obj_time) - fullscreen_toggle = 1 - } - if (global.submenucoord[30] == 4) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 5) - global.submenu = 34 - if (global.submenucoord[30] == 6) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - m_quit = 1 - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - game_end() - if (button2_p() && twobuffer < 0) - { - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - gamepad_exists = obj_time.gamepad_active - gamepad_id = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if keyboard_check_pressed(vk_anykey) - { - for (i = 48; i <= 90; i += 1) - { - if keyboard_check_pressed(i) - { - new_key = i - control_select_con = 2 - } - } - if keyboard_check_pressed(ord(";")) - { - new_key = 59 - control_select_con = 2 - } - if keyboard_check_pressed(vk_printscreen) - { - new_key = 44 - control_select_con = 2 - } - if keyboard_check_pressed(vk_delete) - { - new_key = 46 - control_select_con = 2 - } - if keyboard_check_pressed(ord("/")) - { - new_key = 47 - control_select_con = 2 - } - if keyboard_check_pressed(ord("\\")) - { - new_key = 92 - control_select_con = 2 - } - if keyboard_check_pressed(ord("]")) - { - new_key = 93 - control_select_con = 2 - } - if keyboard_check_pressed(ord("[")) - { - new_key = 91 - control_select_con = 2 - } - if keyboard_check_pressed(vk_numpad0) - { - new_key = 96 - control_select_con = 2 - } - if keyboard_check_pressed(vk_insert) - { - new_key = 45 - control_select_con = 2 - } - if keyboard_check_pressed(ord("=")) - { - new_key = 61 - control_select_con = 2 - } - if keyboard_check_pressed(vk_left) - { - new_key = 37 - control_select_con = 2 - } - if keyboard_check_pressed(vk_right) - { - new_key = 39 - control_select_con = 2 - } - if keyboard_check_pressed(vk_up) - { - new_key = 38 - control_select_con = 2 - } - if keyboard_check_pressed(vk_down) - { - new_key = 40 - control_select_con = 2 - } - if keyboard_check_pressed(vk_return) - { - new_key = 13 - control_select_con = 2 - } - if keyboard_check_pressed(vk_shift) - { - new_key = 16 - control_select_con = 2 - } - if keyboard_check_pressed(vk_control) - { - new_key = 17 - control_select_con = 2 - } - if keyboard_check_pressed(vk_backspace) - { - new_key = 8 - control_select_con = 2 - } - if keyboard_check_pressed(vk_alt) - { - new_key = 18 - control_select_con = 2 - } - if keyboard_check_pressed(vk_escape) - { - new_key = -1 - control_select_con = 0 - } - } - if (gamepad_exists == 1 && control_select_con == 1) - { - gpc = gamepad_button_count(gamepad_id) - if (gpc >= 40) - gpc = 40 - for (i = 0; i <= gpc; i += 1) - { - if gamepad_button_check_pressed(gamepad_id, i) - { - new_gamepad_key = i - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - onebuffer = 2 - twobuffer = 2 - ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_close() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - global.submenucoord[21] -= 1 - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - global.submenucoord[21] += 1 - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 1 - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - else if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[2] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 1 - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[4] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 2 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - global.submenu = 5 - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - deschaver = 1 - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - } - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - pagemax[0] -= 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - pagemax[1] -= 1 - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - pagemax[0] += 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - pagemax[1] += 1 - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - scr_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index c5cd6bc0b..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,201 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 5008a9c96..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,634 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } -} -if (global.interact == 0) -{ - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), (y + py), obj_solidblock) - xymeet = 1 - if place_meeting((x + px), y, obj_solidblock) - { - if place_meeting((x + px), y, obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - snd_play(snd_step1) - stepped = true - } - if (image_index == 0 || image_index == 2) - stepped = false - if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} -if scr_debug() -{ - if keyboard_check_pressed(ord("P")) - room_speed = 60 - if keyboard_check_pressed(ord("O")) - room_speed = 3 - if (keyboard_check(ord("3")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_dark1) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 2 - global.interact = 0 - global.darkzone = true - room_goto(room_field_checkers5) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_castle_tutorial) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_field1) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_area3) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_fightsusie) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("D"))) - { - global.char[0] = 2 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.plot = 154 - room_goto(room_cc_prison_cells) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.plot = 165 - scr_keyitemget(5) - global.tempflag[4] = 1 - repeat (13) - scr_weaponget(5) - room_goto(room_cc_prison_prejoker) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.flag[248] = 0 - room_goto(room_cc_kingbattle) - } - if (keyboard_check(ord("2")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_town_krisyard) - } - if (keyboard_check(ord("3")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_schooldoor) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_school_unusedroom) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_school) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_north) - } - if keyboard_check_pressed(vk_insert) - room_goto_next() - if keyboard_check_pressed(vk_delete) - room_goto_previous() -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_get_element.gml deleted file mode 100644 index 0cccd2b46..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index 1d09600a3..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,21 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) - - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index f6477c8d7..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,395 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 0ba119150..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,54 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - show_debug_message((((((("layer: " + string(__i)) + " ") + __name) + "[") + string(__numels)) + "]")) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - var __inst = layer_instance_get_instance(__id) - __name = object_get_name(__inst.object_index) - show_debug_message((((" instance:" + string(__j)) + ": ") + __name)) - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - show_debug_message((" tile: " + string(__j))) - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index 1c4a7918f..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,923 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - if (global.submenu >= 30 && global.submenu <= 33) - { - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(abs((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_0") - if window_get_fullscreen() - fullscreenoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_82_1") - draw_sprite(spr_heart, 0, (xx + 145), ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text((xx + 170), (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text((xx + 430), (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text((xx + 170), (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text((xx + 170), (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text((xx + 430), (yy + 220), string_hash_to_newline(flashoff)) - draw_text((xx + 170), (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_93_0"))) - draw_text((xx + 430), (yy + 255), string_hash_to_newline(fullscreenoff)) - draw_text((xx + 170), (yy + 290), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text((xx + 430), (yy + 290), string_hash_to_newline(runoff)) - draw_text((xx + 170), (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_95_0"))) - draw_text((xx + 170), (yy + 360), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - draw_set_color(c_white) - draw_text((xx + 105), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - draw_text((xx + 325), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_114_0"))) - if obj_time.gamepad_active - draw_text((xx + 435), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), ((yy + 150) + (global.submenucoord[35] * 28))) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), ((yy + 140) + (i * 28)), string_hash_to_newline(function[i])) - if (i < 7) - { - draw_text((xx + 325), ((yy + 140) + (i * 28)), string_hash_to_newline(global.asc_def[global.input_k[i]])) - if obj_time.gamepad_active - draw_text((xx + 495), ((yy + 140) + (i * 28)), string_hash_to_newline(string(global.input_g[i]))) - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index bd6ba38ef..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1232 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 6) - global.submenucoord[30] = 6 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - with (obj_time) - fullscreen_toggle = 1 - } - if (global.submenucoord[30] == 4) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 5) - global.submenu = 34 - if (global.submenucoord[30] == 6) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - m_quit = 1 - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - game_end() - if (button2_p() && twobuffer < 0) - { - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - gamepad_exists = obj_time.gamepad_active - gamepad_id = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if keyboard_check_pressed(vk_anykey) - { - for (i = 48; i <= 90; i += 1) - { - if keyboard_check_pressed(i) - { - new_key = i - control_select_con = 2 - } - } - if keyboard_check_pressed(ord(";")) - { - new_key = 59 - control_select_con = 2 - } - if keyboard_check_pressed(vk_printscreen) - { - new_key = 44 - control_select_con = 2 - } - if keyboard_check_pressed(vk_delete) - { - new_key = 46 - control_select_con = 2 - } - if keyboard_check_pressed(ord("/")) - { - new_key = 47 - control_select_con = 2 - } - if keyboard_check_pressed(ord("\\")) - { - new_key = 92 - control_select_con = 2 - } - if keyboard_check_pressed(ord("]")) - { - new_key = 93 - control_select_con = 2 - } - if keyboard_check_pressed(ord("[")) - { - new_key = 91 - control_select_con = 2 - } - if keyboard_check_pressed(vk_numpad0) - { - new_key = 96 - control_select_con = 2 - } - if keyboard_check_pressed(vk_insert) - { - new_key = 45 - control_select_con = 2 - } - if keyboard_check_pressed(ord("=")) - { - new_key = 61 - control_select_con = 2 - } - if keyboard_check_pressed(vk_left) - { - new_key = 37 - control_select_con = 2 - } - if keyboard_check_pressed(vk_right) - { - new_key = 39 - control_select_con = 2 - } - if keyboard_check_pressed(vk_up) - { - new_key = 38 - control_select_con = 2 - } - if keyboard_check_pressed(vk_down) - { - new_key = 40 - control_select_con = 2 - } - if keyboard_check_pressed(vk_return) - { - new_key = 13 - control_select_con = 2 - } - if keyboard_check_pressed(vk_shift) - { - new_key = 16 - control_select_con = 2 - } - if keyboard_check_pressed(vk_control) - { - new_key = 17 - control_select_con = 2 - } - if keyboard_check_pressed(vk_backspace) - { - new_key = 8 - control_select_con = 2 - } - if keyboard_check_pressed(vk_alt) - { - new_key = 18 - control_select_con = 2 - } - if keyboard_check_pressed(vk_escape) - { - new_key = -1 - control_select_con = 0 - } - } - if (gamepad_exists == 1 && control_select_con == 1) - { - gpc = gamepad_button_count(gamepad_id) - if (gpc >= 40) - gpc = 40 - for (i = 0; i <= gpc; i += 1) - { - if gamepad_button_check_pressed(gamepad_id, i) - { - new_gamepad_key = i - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - onebuffer = 2 - twobuffer = 2 - ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_close() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - global.submenucoord[21] -= 1 - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - global.submenucoord[21] += 1 - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 1 - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - global.submenucoord[2] += 2 - else if (global.item[(global.submenucoord[2] + 1)] != 0) - global.submenucoord[2] += 1 - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[2] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[2] -= 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 1 - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - global.submenucoord[4] += 2 - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - global.submenucoord[4] += 1 - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - global.submenucoord[4] -= 2 - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - global.submenucoord[4] -= 2 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - global.submenu = 5 - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - deschaver = 1 - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - } - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - pagemax[0] -= 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - pagemax[1] -= 1 - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - pagemax[0] += 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - pagemax[1] += 1 - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - scr_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index c5cd6bc0b..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,201 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 5008a9c96..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,634 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } -} -if (global.interact == 0) -{ - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), (y + py), obj_solidblock) - xymeet = 1 - if place_meeting((x + px), y, obj_solidblock) - { - if place_meeting((x + px), y, obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_solidblock) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - snd_play(snd_step1) - stepped = true - } - if (image_index == 0 || image_index == 2) - stepped = false - if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} -if scr_debug() -{ - if keyboard_check_pressed(ord("P")) - room_speed = 60 - if keyboard_check_pressed(ord("O")) - room_speed = 3 - if (keyboard_check(ord("3")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_dark1) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 2 - global.interact = 0 - global.darkzone = true - room_goto(room_field_checkers5) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_castle_tutorial) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_field1) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_area3) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("D"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - room_goto(room_forest_fightsusie) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("D"))) - { - global.char[0] = 2 - global.char[1] = 0 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.plot = 154 - room_goto(room_cc_prison_cells) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 3 - global.char[2] = 0 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("7")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - room_goto(room_battletest) - } - if (keyboard_check(ord("8")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.plot = 165 - scr_keyitemget(5) - global.tempflag[4] = 1 - repeat (13) - scr_weaponget(5) - room_goto(room_cc_prison_prejoker) - } - if (keyboard_check(ord("9")) && keyboard_check(ord("J"))) - { - global.char[0] = 1 - global.char[1] = 2 - global.char[2] = 3 - global.interact = 0 - global.darkzone = true - global.charauto[2] = 0 - global.flag[248] = 0 - room_goto(room_cc_kingbattle) - } - if (keyboard_check(ord("2")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_town_krisyard) - } - if (keyboard_check(ord("3")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_schooldoor) - } - if (keyboard_check(ord("4")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - room_goto(room_school_unusedroom) - } - if (keyboard_check(ord("5")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_school) - } - if (keyboard_check(ord("6")) && keyboard_check(ord("W"))) - { - global.interact = 0 - global.darkzone = false - global.plot = 251 - room_goto(room_town_north) - } - if keyboard_check_pressed(vk_insert) - room_goto_next() - if keyboard_check_pressed(vk_delete) - room_goto_previous() -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index 0cccd2b46..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index 1d09600a3..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,21 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) - - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index f6477c8d7..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,395 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/a88a2db3a68c714ca2b1ff57ac08a032/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index f2890f546..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,939 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index 169e54ff6..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1277 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - ossafe_savedata_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 4d10561e9..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,479 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_84_debug.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_84_debug.gml deleted file mode 100644 index da6bc884f..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_84_debug.gml +++ /dev/null @@ -1,847 +0,0 @@ -var strings; -var process = argument0 -if (!variable_global_exists("chemg_menu_depth")) -{ - global.chemg_menu_indices = array_create(0) - global.chemg_menu_indices[0] = 0 - global.chemg_menu_depth = 0 - global.chemg_god_mode = 0 - global.chemg_show_room = 1 - global.chemg_font_test = 0 - var parent = ds_list_create() - show_debug_message("init debug") - var group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Options") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[loadj]", "", "reload japanese") - scr_84_add_menu_item(parent, "[lang]", "ja", "use japanese") - scr_84_add_menu_item(parent, "[lang]", "en", "use english") - scr_84_add_menu_item(parent, "[showroom]", "", "toggle room name") - scr_84_add_menu_item(parent, "[restart]", "", "restart room") - scr_84_add_menu_item(parent, "[god]", "", "god mode") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[item]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[item]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[item]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[item]", 4, "Manual") - scr_84_add_menu_item(parent, "[item]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[item]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[item]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[item]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[item]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[item]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[item]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[item]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[item]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[item]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[item]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give light item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[lightitem]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[lightitem]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[lightitem]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[lightitem]", 4, "Manual") - scr_84_add_menu_item(parent, "[lightitem]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[lightitem]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[lightitem]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[lightitem]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[lightitem]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[lightitem]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[lightitem]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[lightitem]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[lightitem]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[lightitem]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[lightitem]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give key item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[keyitem]", 1, "Cell Phone") - scr_84_add_menu_item(parent, "[keyitem]", 2, "Egg") - scr_84_add_menu_item(parent, "[keyitem]", 3, "BrokenCake") - scr_84_add_menu_item(parent, "[keyitem]", 4, "Broken Key A") - scr_84_add_menu_item(parent, "[keyitem]", 5, "Door Key") - scr_84_add_menu_item(parent, "[keyitem]", 6, "Broken Key B") - scr_84_add_menu_item(parent, "[keyitem]", 7, "Broken Key C") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give weapon") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[weaponitem]", 1, "Wood Blade") - scr_84_add_menu_item(parent, "[weaponitem]", 2, "Mane Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 3, "Red Scarf") - scr_84_add_menu_item(parent, "[weaponitem]", 4, "EverybodyWeapon") - scr_84_add_menu_item(parent, "[weaponitem]", 5, "Spookysword") - scr_84_add_menu_item(parent, "[weaponitem]", 6, "Brave Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 7, "Devilsknife") - scr_84_add_menu_item(parent, "[weaponitem]", 8, "Trefoil") - scr_84_add_menu_item(parent, "[weaponitem]", 9, "Ragger") - scr_84_add_menu_item(parent, "[weaponitem]", 10, "DaintyScarf") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give armor") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[armoritem]", 1, "Amber Card") - scr_84_add_menu_item(parent, "[armoritem]", 2, "Dice Brace") - scr_84_add_menu_item(parent, "[armoritem]", 3, "Pink Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 4, "White Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 5, "IronShackle") - scr_84_add_menu_item(parent, "[armoritem]", 6, "MouseToken") - scr_84_add_menu_item(parent, "[armoritem]", 7, "Jevilstail") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[phone]", "", "give phone number") - scr_84_add_menu_item(parent, "[gold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[gold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[lightgold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[lightgold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[fonttest]", "", "font test") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Rooms") - scr_84_push(parent) - parent = group - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - scr_84_add_menu_item(parent, "[room]", 145, "room_splashscreen") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "rooms") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 0, "ROOM_INITIALIZE") - scr_84_add_menu_item(parent, "[room]", 1, "PLACE_CONTACT") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[room]", 141, "room_empty") - scr_84_add_menu_item(parent, "[room]", 142, "room_man") - scr_84_add_menu_item(parent, "[roomdark]", 143, "room_DARKempty") - scr_84_add_menu_item(parent, "[room]", 144, "room_battletest") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - parent = scr_84_pop() - global.chemg_menus = parent -} -if process - return global.chemg_menu_depth > 0; -if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_stickr) -{ - global.chemg_menu_depth = 1 - global.chemg_interact = global.interact - global.chemg_yoffset = 0 - global.interact = 0 -} -if (global.chemg_menu_depth > 0) -{ - parent = global.chemg_menus - var change = 0 - var depth_ndx = (global.chemg_menu_depth - 1) - var i = 0 - do - { - var choice_ndx = global.chemg_menu_indices[i] - var choice = ds_list_find_value(parent, choice_ndx * 3) - var choice_data = ds_list_find_value(parent, choice_ndx * 3 + 1) - var choice_name = ds_list_find_value(parent, choice_ndx * 3 + 2) - i += 1 - if i == global.chemg_menu_depth - { - break; - } - parent = choice_data - } - until false; - var num_choices = (ds_list_size(parent) / 3) - if (keyboard_check_pressed(vk_up) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padu)) - change = -1 - else if (keyboard_check_pressed(vk_down) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padd)) - change = 1 - else if (keyboard_check_pressed(vk_return) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face2)) - { - if (choice == "[group]") - { - global.chemg_menu_indices[global.chemg_menu_depth] = 0 - global.chemg_menu_depth += 1 - } - else if (choice == "[loadj]") - { - var type = scr_84_lang_load() - show_debug_message((("loaded " + type) + " lang file")) - show_message((("loaded " + type) + " lang file")) - global.chemg_menu_depth = 0 - } - else if (choice == "[room]") - { - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[roomdark]") - { - show_debug_message(("room_goto: " + choice_name)) - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[lang]") - { - show_debug_message(("switch lang: " + choice_data)) - global.lang = choice_data - global.chemg_menu_depth = 0 - scr_84_init_localization() - room_restart() - } - else if (choice == "[restart]") - { - show_debug_message("restart room") - room_restart() - global.chemg_menu_depth = 0 - } - else if (choice == "[god]") - global.chemg_god_mode = (1 - global.chemg_god_mode) - else if (choice == "[lightitem]") - { - if (scr_litemcheck(choice_data) == 0) - scr_litemget(choice_data) - } - else if (choice == "[item]") - { - if (scr_itemcheck(choice_data) == 0) - scr_itemget(choice_data) - } - else if (choice == "[keyitem]") - { - if (scr_keyitemcheck(choice_data) == 0) - scr_keyitemget(choice_data) - } - else if (choice == "[weaponitem]") - { - if (scr_weaponcheck_inventory(choice_data) == 0) - scr_weaponget(choice_data) - } - else if (choice == "[armoritem]") - { - if (scr_armorcheck_inventory(choice_data) == 0) - scr_armorget(choice_data) - } - else if (choice == "[phone]") - scr_phoneadd(202) - else if (choice == "[gold]") - global.gold = max(0, (global.gold + choice_data)) - else if (choice == "[lightgold]") - global.lgold = max(0, (global.lgold + choice_data)) - else if (choice == "[showroom]") - global.chemg_show_room = (!global.chemg_show_room) - else if (choice == "[fonttest]") - { - global.chemg_font_test = (!global.chemg_font_test) - global.chemg_menu_depth = 0 - } - else - show_debug_message(("unknown menu cmd:" + choice)) - } - else if (keyboard_check_pressed(vk_escape) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face1)) - { - if (global.chemg_menu_depth > 0) - global.chemg_menu_depth -= 1 - if (global.chemg_menu_depth == 0) - global.interact = global.chemg_interact - } - for (i = 0; i < 10; i += 1) - { - global.input_pressed[i] = 0 - global.input_held[i] = 0 - global.input_released[i] = 0 - } - keyboard_clear(vk_up) - keyboard_clear(vk_down) - keyboard_clear(vk_left) - keyboard_clear(vk_right) - keyboard_clear(vk_escape) - keyboard_clear(vk_return) - if (change != 0) - global.chemg_menu_indices[depth_ndx] = (((global.chemg_menu_indices[depth_ndx] + num_choices) + change) % num_choices) - draw_set_font(fnt_main) - draw_set_colour(c_white) - draw_set_halign(fa_left) - draw_set_valign(fa_top) - var yy = global.chemg_yoffset - var vspacing = 15 - scr_84_draw_text_outline(10, yy, (((("====[ menu ]====[ gold: " + string(global.gold)) + " light gold: ") + string(global.lgold)) + " ]")) - yy += vspacing - global.chemg_max_depth = -1 - global.chemg_cursor_y = 0 - scr_84_draw_menu(global.chemg_menus, 10, yy, vspacing, global.chemg_menu_indices, 0, (global.chemg_menu_depth - 1)) - global.chemg_yoffset = min(10, (400 - (global.chemg_cursor_y - global.chemg_yoffset))) -} -var chemg_room_name = room_get_name(room) -if (global.chemg_god_mode > 0) - chemg_room_name = (chemg_room_name + "[god]") -if global.chemg_show_room -{ - draw_set_font(fnt_main) - draw_set_colour(c_white) - var chemg_x = (635 - string_width(chemg_room_name)) - var chemg_y = 5 - scr_84_draw_text_outline(chemg_x, chemg_y, chemg_room_name) -} -if global.chemg_font_test -{ - if (!variable_global_exists("chemg_font_init")) - { - global.chemg_font_init = 1 - var ft = fnt_tinynoelle - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = "NORMAL FONT" - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = "SLOWER, SILENT" - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = "normal enemy font." - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = "battle dialogue" - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = "NORMAL MAIN FONT" - ft[array_length_1d(ft)] = fnt_ja_small - ft[array_length_1d(ft)] = "NORMAL FONT BIG" - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = "toriel font" - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = "toriel font slow" - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = "susie font" - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = "ralsei font" - ft[array_length_1d(ft)] = 12 - ft[array_length_1d(ft)] = "noelle font" - ft[array_length_1d(ft)] = 13 - ft[array_length_1d(ft)] = "berdly font" - ft[array_length_1d(ft)] = 14 - ft[array_length_1d(ft)] = "sans font" - ft[array_length_1d(ft)] = 15 - ft[array_length_1d(ft)] = "pap font" - ft[array_length_1d(ft)] = 16 - ft[array_length_1d(ft)] = ")??? font" - ft[array_length_1d(ft)] = 17 - ft[array_length_1d(ft)] = "undyne font" - ft[array_length_1d(ft)] = 18 - ft[array_length_1d(ft)] = "asgore font" - ft[array_length_1d(ft)] = 19 - ft[array_length_1d(ft)] = "lancer font" - ft[array_length_1d(ft)] = 20 - ft[array_length_1d(ft)] = "alphys font" - ft[array_length_1d(ft)] = 21 - ft[array_length_1d(ft)] = "temmie font" - ft[array_length_1d(ft)] = 22 - ft[array_length_1d(ft)] = "alphys font small" - ft[array_length_1d(ft)] = 23 - ft[array_length_1d(ft)] = "noelle font small" - ft[array_length_1d(ft)] = 30 - ft[array_length_1d(ft)] = "susie dark world" - ft[array_length_1d(ft)] = 31 - ft[array_length_1d(ft)] = "ralsei dark world" - ft[array_length_1d(ft)] = 32 - ft[array_length_1d(ft)] = "lancer dark world" - ft[array_length_1d(ft)] = 33 - ft[array_length_1d(ft)] = "king dark world" - ft[array_length_1d(ft)] = 35 - ft[array_length_1d(ft)] = "joker dark world" - ft[array_length_1d(ft)] = 36 - ft[array_length_1d(ft)] = "NORMAL FONT SILENT" - ft[array_length_1d(ft)] = 37 - ft[array_length_1d(ft)] = "susie dark world slow, spaced." - ft[array_length_1d(ft)] = 40 - ft[array_length_1d(ft)] = "inteo" - ft[array_length_1d(ft)] = 41 - ft[array_length_1d(ft)] = "intro slower" - ft[array_length_1d(ft)] = 42 - ft[array_length_1d(ft)] = "big silent slower" - ft[array_length_1d(ft)] = 45 - ft[array_length_1d(ft)] = "battle dialogue ral" - ft[array_length_1d(ft)] = 46 - ft[array_length_1d(ft)] = "battle dialogue lan" - ft[array_length_1d(ft)] = 47 - ft[array_length_1d(ft)] = "battle dialogue sus" - ft[array_length_1d(ft)] = 48 - ft[array_length_1d(ft)] = "king dark world battle" - ft[array_length_1d(ft)] = 50 - ft[array_length_1d(ft)] = "enemy" - ft[array_length_1d(ft)] = 51 - ft[array_length_1d(ft)] = "hellish yak text" - ft[array_length_1d(ft)] = 52 - ft[array_length_1d(ft)] = "hellish yak text 2" - ft[array_length_1d(ft)] = 53 - ft[array_length_1d(ft)] = "enemy: Susie" - ft[array_length_1d(ft)] = 54 - ft[array_length_1d(ft)] = "enemy: Susie 2" - ft[array_length_1d(ft)] = 55 - ft[array_length_1d(ft)] = "rudy font" - ft[array_length_1d(ft)] = 60 - ft[array_length_1d(ft)] = "SLOWER, SILENT 2" - ft[array_length_1d(ft)] = 666 - ft[array_length_1d(ft)] = "GLOW TEXT" - ft[array_length_1d(ft)] = 667 - ft[array_length_1d(ft)] = "GLOW TEXT 2" - ft[array_length_1d(ft)] = -1 - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = -2 - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = -3 - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = -4 - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = -5 - ft[array_length_1d(ft)] = fnt_tinynoelle - ft[array_length_1d(ft)] = -6 - ft[array_length_1d(ft)] = fnt_ja_tinynoelle - ft[array_length_1d(ft)] = -7 - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = -8 - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = -9 - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = -10 - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = -11 - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = -12 - ft[array_length_1d(ft)] = fnt_ja_small - global.chemg_font_types = ft - global.chemg_font_type_ndx = 0 - } - ft = global.chemg_font_types - var num_types = (array_length_1d(ft) / 2) - change = 0 - if (keyboard_check_pressed(vk_right) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padr)) - change = 1 - else if (keyboard_check_pressed(vk_left) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padl)) - change = -1 - global.chemg_font_type_ndx = (((global.chemg_font_type_ndx + change) + num_types) % num_types) - var fndx = (global.chemg_font_type_ndx * 2) - var xx = 10 - yy = 250 - strings[0] = "Pack my box with five" - strings[1] = "dozen liquor jugs." - strings[2] = "これは日本語です。" - strings[3] = "魔物に食われない!" - var typer = ft[fndx] - if (typer >= 0) - { - global.typer = typer - scr_texttype() - var font = myfont - var msg = ((((("(" + string(global.typer)) + ") ") + ft[(fndx + 1)]) + ", font: ") + font_get_name(myfont)) - vspacing = vspace - } - else - { - font = ft[(fndx + 1)] - msg = ("font: " + font_get_name(font)) - vspacing = (font_get_size(font) + 2) - } - draw_set_font(font) - draw_set_colour(c_white) - for (i = 0; i < array_length_1d(strings); i += 1) - { - var str = strings[i] - if (typer >= 0) - { - var len = string_length(str) - var wx = xx - for (var j = 1; j <= len; j += 1) - { - var mychar = string_copy(str, j, 1) - draw_text(wx, ((yy + 20) + (i * vspacing)), mychar) - wx += hspace - if (global.lang == "ja") - { - if (ord(mychar) < 256 || (ord(mychar) >= 65377 && ord(mychar) <= 65439)) - wx -= (hspace / 2) - } - } - } - else - draw_text(xx, ((yy + 20) + (i * vspacing)), str) - } - draw_set_colour(c_white) - draw_set_font(fnt_main) - draw_text(xx, yy, ("<-/-> to change typer: " + msg)) -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index f2890f546..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,939 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index 169e54ff6..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1277 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 -if scr_debug() -{ - if keyboard_check_pressed(ord("S")) - instance_create(0, 0, obj_savemenu) - if keyboard_check_pressed(ord("L")) - ossafe_savedata_load() - if keyboard_check_pressed(ord("R")) - game_restart_true() -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 4d10561e9..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,479 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - with (obj_overworldc) - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_84_debug.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_84_debug.gml deleted file mode 100644 index da6bc884f..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_84_debug.gml +++ /dev/null @@ -1,847 +0,0 @@ -var strings; -var process = argument0 -if (!variable_global_exists("chemg_menu_depth")) -{ - global.chemg_menu_indices = array_create(0) - global.chemg_menu_indices[0] = 0 - global.chemg_menu_depth = 0 - global.chemg_god_mode = 0 - global.chemg_show_room = 1 - global.chemg_font_test = 0 - var parent = ds_list_create() - show_debug_message("init debug") - var group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Options") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[loadj]", "", "reload japanese") - scr_84_add_menu_item(parent, "[lang]", "ja", "use japanese") - scr_84_add_menu_item(parent, "[lang]", "en", "use english") - scr_84_add_menu_item(parent, "[showroom]", "", "toggle room name") - scr_84_add_menu_item(parent, "[restart]", "", "restart room") - scr_84_add_menu_item(parent, "[god]", "", "god mode") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[item]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[item]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[item]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[item]", 4, "Manual") - scr_84_add_menu_item(parent, "[item]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[item]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[item]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[item]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[item]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[item]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[item]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[item]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[item]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[item]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[item]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give light item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[lightitem]", 1, "Dark Candy") - scr_84_add_menu_item(parent, "[lightitem]", 2, "ReviveMint") - scr_84_add_menu_item(parent, "[lightitem]", 3, "Glowshard") - scr_84_add_menu_item(parent, "[lightitem]", 4, "Manual") - scr_84_add_menu_item(parent, "[lightitem]", 5, "BrokenCake") - scr_84_add_menu_item(parent, "[lightitem]", 6, "Top Cake") - scr_84_add_menu_item(parent, "[lightitem]", 7, "SpinCake") - scr_84_add_menu_item(parent, "[lightitem]", 8, "Darkburger") - scr_84_add_menu_item(parent, "[lightitem]", 9, "LancerCookie") - scr_84_add_menu_item(parent, "[lightitem]", 10, "GigaSalad") - scr_84_add_menu_item(parent, "[lightitem]", 11, "Clubswich") - scr_84_add_menu_item(parent, "[lightitem]", 12, "HeartsDonut") - scr_84_add_menu_item(parent, "[lightitem]", 13, "ChocDiamond") - scr_84_add_menu_item(parent, "[lightitem]", 14, "FavSandwich") - scr_84_add_menu_item(parent, "[lightitem]", 15, "RouxlsRoux") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give key item") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[keyitem]", 1, "Cell Phone") - scr_84_add_menu_item(parent, "[keyitem]", 2, "Egg") - scr_84_add_menu_item(parent, "[keyitem]", 3, "BrokenCake") - scr_84_add_menu_item(parent, "[keyitem]", 4, "Broken Key A") - scr_84_add_menu_item(parent, "[keyitem]", 5, "Door Key") - scr_84_add_menu_item(parent, "[keyitem]", 6, "Broken Key B") - scr_84_add_menu_item(parent, "[keyitem]", 7, "Broken Key C") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give weapon") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[weaponitem]", 1, "Wood Blade") - scr_84_add_menu_item(parent, "[weaponitem]", 2, "Mane Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 3, "Red Scarf") - scr_84_add_menu_item(parent, "[weaponitem]", 4, "EverybodyWeapon") - scr_84_add_menu_item(parent, "[weaponitem]", 5, "Spookysword") - scr_84_add_menu_item(parent, "[weaponitem]", 6, "Brave Ax") - scr_84_add_menu_item(parent, "[weaponitem]", 7, "Devilsknife") - scr_84_add_menu_item(parent, "[weaponitem]", 8, "Trefoil") - scr_84_add_menu_item(parent, "[weaponitem]", 9, "Ragger") - scr_84_add_menu_item(parent, "[weaponitem]", 10, "DaintyScarf") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "give armor") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[armoritem]", 1, "Amber Card") - scr_84_add_menu_item(parent, "[armoritem]", 2, "Dice Brace") - scr_84_add_menu_item(parent, "[armoritem]", 3, "Pink Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 4, "White Ribbon") - scr_84_add_menu_item(parent, "[armoritem]", 5, "IronShackle") - scr_84_add_menu_item(parent, "[armoritem]", 6, "MouseToken") - scr_84_add_menu_item(parent, "[armoritem]", 7, "Jevilstail") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[phone]", "", "give phone number") - scr_84_add_menu_item(parent, "[gold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[gold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[lightgold]", 25, "+25 gold") - scr_84_add_menu_item(parent, "[lightgold]", -25, "-25 gold") - scr_84_add_menu_item(parent, "[fonttest]", "", "font test") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "Rooms") - scr_84_push(parent) - parent = group - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - scr_84_add_menu_item(parent, "[room]", 145, "room_splashscreen") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "rooms") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 0, "ROOM_INITIALIZE") - scr_84_add_menu_item(parent, "[room]", 1, "PLACE_CONTACT") - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "myhouse") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 2, "room_krisroom") - scr_84_add_menu_item(parent, "[room]", 3, "room_krishallway") - scr_84_add_menu_item(parent, "[room]", 4, "room_torroom") - scr_84_add_menu_item(parent, "[room]", 5, "room_torhouse") - scr_84_add_menu_item(parent, "[room]", 6, "room_torbathroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_exterior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 7, "room_town_krisyard") - scr_84_add_menu_item(parent, "[room]", 8, "room_town_northwest") - scr_84_add_menu_item(parent, "[room]", 9, "room_town_north") - scr_84_add_menu_item(parent, "[room]", 10, "room_beach") - scr_84_add_menu_item(parent, "[room]", 11, "room_town_mid") - scr_84_add_menu_item(parent, "[room]", 12, "room_town_apartments") - scr_84_add_menu_item(parent, "[room]", 13, "room_town_south") - scr_84_add_menu_item(parent, "[room]", 14, "room_town_school") - scr_84_add_menu_item(parent, "[room]", 15, "room_town_church") - scr_84_add_menu_item(parent, "[room]", 16, "room_graveyard") - scr_84_add_menu_item(parent, "[room]", 17, "room_town_shelter") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "school") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 28, "room_torielclass") - scr_84_add_menu_item(parent, "[room]", 29, "room_schoollobby") - scr_84_add_menu_item(parent, "[room]", 30, "room_alphysclass") - scr_84_add_menu_item(parent, "[room]", 31, "room_schooldoor") - scr_84_add_menu_item(parent, "[room]", 32, "room_insidecloset") - scr_84_add_menu_item(parent, "[room]", 33, "room_school_unusedroom") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark_start") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 34, "room_dark1") - scr_84_add_menu_item(parent, "[roomdark]", 35, "room_dark1a") - scr_84_add_menu_item(parent, "[roomdark]", 36, "room_dark2") - scr_84_add_menu_item(parent, "[roomdark]", 37, "room_dark3") - scr_84_add_menu_item(parent, "[roomdark]", 38, "room_dark3a") - scr_84_add_menu_item(parent, "[roomdark]", 39, "room_dark_wobbles") - scr_84_add_menu_item(parent, "[roomdark]", 40, "room_dark_eyepuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 41, "room_dark7") - scr_84_add_menu_item(parent, "[roomdark]", 42, "room_dark_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 43, "room_dark_chase2") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "ralsei_castle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 44, "room_castle_outskirts") - scr_84_add_menu_item(parent, "[roomdark]", 45, "room_castle_town") - scr_84_add_menu_item(parent, "[roomdark]", 46, "room_castle_front") - scr_84_add_menu_item(parent, "[roomdark]", 47, "room_castle_tutorial") - scr_84_add_menu_item(parent, "[roomdark]", 48, "room_castle_darkdoor") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark forest") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 73, "room_forest_savepoint1") - scr_84_add_menu_item(parent, "[roomdark]", 74, "room_forest_area0") - scr_84_add_menu_item(parent, "[roomdark]", 75, "room_forest_area1") - scr_84_add_menu_item(parent, "[roomdark]", 76, "room_forest_area2") - scr_84_add_menu_item(parent, "[roomdark]", 77, "room_forest_area2A") - scr_84_add_menu_item(parent, "[roomdark]", 78, "room_forest_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 79, "room_forest_beforeclover") - scr_84_add_menu_item(parent, "[roomdark]", 80, "room_forest_area3A") - scr_84_add_menu_item(parent, "[roomdark]", 81, "room_forest_area3") - scr_84_add_menu_item(parent, "[roomdark]", 82, "room_forest_savepoint2") - scr_84_add_menu_item(parent, "[roomdark]", 83, "room_forest_smith") - scr_84_add_menu_item(parent, "[roomdark]", 84, "room_forest_area4") - scr_84_add_menu_item(parent, "[roomdark]", 85, "room_forest_dancers1") - scr_84_add_menu_item(parent, "[roomdark]", 86, "room_forest_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 87, "room_forest_thrashmaker") - scr_84_add_menu_item(parent, "[roomdark]", 88, "room_forest_starwalker") - scr_84_add_menu_item(parent, "[roomdark]", 89, "room_forest_area5") - scr_84_add_menu_item(parent, "[roomdark]", 90, "room_forest_savepoint_relax") - scr_84_add_menu_item(parent, "[roomdark]", 91, "room_forest_maze1") - scr_84_add_menu_item(parent, "[roomdark]", 92, "room_forest_maze_deadend") - scr_84_add_menu_item(parent, "[roomdark]", 93, "room_forest_maze_susie") - scr_84_add_menu_item(parent, "[roomdark]", 94, "room_forest_maze2") - scr_84_add_menu_item(parent, "[roomdark]", 95, "room_forest_maze_deadend2") - scr_84_add_menu_item(parent, "[roomdark]", 96, "room_forest_savepoint3") - scr_84_add_menu_item(parent, "[roomdark]", 97, "room_forest_fightsusie") - scr_84_add_menu_item(parent, "[roomdark]", 98, "room_forest_afterthrash2") - scr_84_add_menu_item(parent, "[roomdark]", 99, "room_forest_afterthrash3") - scr_84_add_menu_item(parent, "[roomdark]", 100, "room_forest_afterthrash4") - scr_84_add_menu_item(parent, "[roomdark]", 101, "room_forest_castleview") - scr_84_add_menu_item(parent, "[roomdark]", 102, "room_forest_chase1") - scr_84_add_menu_item(parent, "[roomdark]", 103, "room_forest_chase2") - scr_84_add_menu_item(parent, "[roomdark]", 104, "room_forest_castlefront") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "cardcastle") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 105, "room_cc_prison_cells") - scr_84_add_menu_item(parent, "[roomdark]", 106, "room_cc_prisonlancer") - scr_84_add_menu_item(parent, "[roomdark]", 107, "room_cc_prison_to_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 108, "room_cc_prison2") - scr_84_add_menu_item(parent, "[roomdark]", 109, "room_cc_prisonelevator") - scr_84_add_menu_item(parent, "[roomdark]", 110, "room_cc_elevator") - scr_84_add_menu_item(parent, "[roomdark]", 111, "room_cc_prison_prejoker") - scr_84_add_menu_item(parent, "[roomdark]", 112, "room_cc_joker") - scr_84_add_menu_item(parent, "[roomdark]", 113, "room_cc_entrance") - scr_84_add_menu_item(parent, "[roomdark]", 114, "room_cc_1f") - scr_84_add_menu_item(parent, "[roomdark]", 115, "room_cc_rudinn") - scr_84_add_menu_item(parent, "[roomdark]", 116, "room_cc_2f") - scr_84_add_menu_item(parent, "[roomdark]", 117, "room_cc_rurus1") - scr_84_add_menu_item(parent, "[roomdark]", 118, "room_cc_3f") - scr_84_add_menu_item(parent, "[roomdark]", 119, "room_cc_hathy") - scr_84_add_menu_item(parent, "[roomdark]", 120, "room_cc_4f") - scr_84_add_menu_item(parent, "[roomdark]", 121, "room_cc_rurus2") - scr_84_add_menu_item(parent, "[roomdark]", 122, "room_cc_clover") - scr_84_add_menu_item(parent, "[roomdark]", 123, "room_cc_5f") - scr_84_add_menu_item(parent, "[roomdark]", 124, "room_cc_lancer") - scr_84_add_menu_item(parent, "[roomdark]", 125, "room_cc_6f") - scr_84_add_menu_item(parent, "[roomdark]", 126, "room_cc_throneroom") - scr_84_add_menu_item(parent, "[roomdark]", 127, "room_cc_preroof") - scr_84_add_menu_item(parent, "[roomdark]", 128, "room_cc_kingbattle") - scr_84_add_menu_item(parent, "[roomdark]", 129, "room_cc_prefountain") - scr_84_add_menu_item(parent, "[roomdark]", 130, "room_cc_fountain") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "special") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 131, "PLACE_DOG") - scr_84_add_menu_item(parent, "[room]", 132, "room_legend") - scr_84_add_menu_item(parent, "[room]", 133, "room_shop1") - scr_84_add_menu_item(parent, "[room]", 134, "room_shop2") - scr_84_add_menu_item(parent, "[room]", 135, "room_gameover") - scr_84_add_menu_item(parent, "[room]", 136, "room_myroom_dark") - scr_84_add_menu_item(parent, "[room]", 137, "PLACE_LOGO") - scr_84_add_menu_item(parent, "[room]", 138, "PLACE_FAILURE") - scr_84_add_menu_item(parent, "[room]", 139, "PLACE_MENU") - scr_84_add_menu_item(parent, "[room]", 140, "room_ed") - parent = scr_84_pop() - scr_84_add_menu_item(parent, "[room]", 141, "room_empty") - scr_84_add_menu_item(parent, "[room]", 142, "room_man") - scr_84_add_menu_item(parent, "[roomdark]", 143, "room_DARKempty") - scr_84_add_menu_item(parent, "[room]", 144, "room_battletest") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "dark field") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[roomdark]", 49, "room_field_start") - scr_84_add_menu_item(parent, "[roomdark]", 50, "room_field_forest") - scr_84_add_menu_item(parent, "[roomdark]", 51, "room_field1") - scr_84_add_menu_item(parent, "[roomdark]", 52, "room_field2") - scr_84_add_menu_item(parent, "[roomdark]", 53, "room_field2A") - scr_84_add_menu_item(parent, "[roomdark]", 54, "room_field_topchef") - scr_84_add_menu_item(parent, "[roomdark]", 55, "room_field_puzzle1") - scr_84_add_menu_item(parent, "[roomdark]", 56, "room_field_maze") - scr_84_add_menu_item(parent, "[roomdark]", 57, "room_field_puzzle2") - scr_84_add_menu_item(parent, "[roomdark]", 58, "room_field_getsusie") - scr_84_add_menu_item(parent, "[roomdark]", 59, "room_field_shop1") - scr_84_add_menu_item(parent, "[roomdark]", 60, "room_field_puzzletutorial") - scr_84_add_menu_item(parent, "[roomdark]", 61, "room_field3") - scr_84_add_menu_item(parent, "[roomdark]", 62, "room_field_boxpuzzle") - scr_84_add_menu_item(parent, "[roomdark]", 63, "room_field4") - scr_84_add_menu_item(parent, "[roomdark]", 64, "room_field_secret1") - scr_84_add_menu_item(parent, "[roomdark]", 65, "room_field_checkers4") - scr_84_add_menu_item(parent, "[roomdark]", 66, "room_field_checkers2") - scr_84_add_menu_item(parent, "[roomdark]", 67, "room_field_checkers6") - scr_84_add_menu_item(parent, "[roomdark]", 68, "room_field_checkers3") - scr_84_add_menu_item(parent, "[roomdark]", 69, "room_field_checkers1") - scr_84_add_menu_item(parent, "[roomdark]", 70, "room_field_checkers5") - scr_84_add_menu_item(parent, "[roomdark]", 71, "room_field_checkers7") - scr_84_add_menu_item(parent, "[roomdark]", 72, "room_field_checkersboss") - parent = scr_84_pop() - group = ds_list_create() - scr_84_add_menu_item(parent, "[group]", group, "lightworld_interior") - scr_84_push(parent) - parent = group - scr_84_add_menu_item(parent, "[room]", 18, "room_hospital_lobby") - scr_84_add_menu_item(parent, "[room]", 19, "room_hospital_hallway") - scr_84_add_menu_item(parent, "[room]", 20, "room_hospital_rudy") - scr_84_add_menu_item(parent, "[room]", 21, "room_hospital_room2") - scr_84_add_menu_item(parent, "[room]", 22, "room_diner") - scr_84_add_menu_item(parent, "[room]", 23, "room_townhall") - scr_84_add_menu_item(parent, "[room]", 24, "room_flowershop_1f") - scr_84_add_menu_item(parent, "[room]", 25, "room_flowershop_2f") - scr_84_add_menu_item(parent, "[room]", 26, "room_library") - scr_84_add_menu_item(parent, "[room]", 27, "room_alphysalley") - parent = scr_84_pop() - parent = scr_84_pop() - global.chemg_menus = parent -} -if process - return global.chemg_menu_depth > 0; -if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_stickr) -{ - global.chemg_menu_depth = 1 - global.chemg_interact = global.interact - global.chemg_yoffset = 0 - global.interact = 0 -} -if (global.chemg_menu_depth > 0) -{ - parent = global.chemg_menus - var change = 0 - var depth_ndx = (global.chemg_menu_depth - 1) - var i = 0 - do - { - var choice_ndx = global.chemg_menu_indices[i] - var choice = ds_list_find_value(parent, choice_ndx * 3) - var choice_data = ds_list_find_value(parent, choice_ndx * 3 + 1) - var choice_name = ds_list_find_value(parent, choice_ndx * 3 + 2) - i += 1 - if i == global.chemg_menu_depth - { - break; - } - parent = choice_data - } - until false; - var num_choices = (ds_list_size(parent) / 3) - if (keyboard_check_pressed(vk_up) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padu)) - change = -1 - else if (keyboard_check_pressed(vk_down) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padd)) - change = 1 - else if (keyboard_check_pressed(vk_return) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face2)) - { - if (choice == "[group]") - { - global.chemg_menu_indices[global.chemg_menu_depth] = 0 - global.chemg_menu_depth += 1 - } - else if (choice == "[loadj]") - { - var type = scr_84_lang_load() - show_debug_message((("loaded " + type) + " lang file")) - show_message((("loaded " + type) + " lang file")) - global.chemg_menu_depth = 0 - } - else if (choice == "[room]") - { - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[roomdark]") - { - show_debug_message(("room_goto: " + choice_name)) - room_goto(choice_data) - global.chemg_menu_depth = 0 - } - else if (choice == "[lang]") - { - show_debug_message(("switch lang: " + choice_data)) - global.lang = choice_data - global.chemg_menu_depth = 0 - scr_84_init_localization() - room_restart() - } - else if (choice == "[restart]") - { - show_debug_message("restart room") - room_restart() - global.chemg_menu_depth = 0 - } - else if (choice == "[god]") - global.chemg_god_mode = (1 - global.chemg_god_mode) - else if (choice == "[lightitem]") - { - if (scr_litemcheck(choice_data) == 0) - scr_litemget(choice_data) - } - else if (choice == "[item]") - { - if (scr_itemcheck(choice_data) == 0) - scr_itemget(choice_data) - } - else if (choice == "[keyitem]") - { - if (scr_keyitemcheck(choice_data) == 0) - scr_keyitemget(choice_data) - } - else if (choice == "[weaponitem]") - { - if (scr_weaponcheck_inventory(choice_data) == 0) - scr_weaponget(choice_data) - } - else if (choice == "[armoritem]") - { - if (scr_armorcheck_inventory(choice_data) == 0) - scr_armorget(choice_data) - } - else if (choice == "[phone]") - scr_phoneadd(202) - else if (choice == "[gold]") - global.gold = max(0, (global.gold + choice_data)) - else if (choice == "[lightgold]") - global.lgold = max(0, (global.lgold + choice_data)) - else if (choice == "[showroom]") - global.chemg_show_room = (!global.chemg_show_room) - else if (choice == "[fonttest]") - { - global.chemg_font_test = (!global.chemg_font_test) - global.chemg_menu_depth = 0 - } - else - show_debug_message(("unknown menu cmd:" + choice)) - } - else if (keyboard_check_pressed(vk_escape) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_face1)) - { - if (global.chemg_menu_depth > 0) - global.chemg_menu_depth -= 1 - if (global.chemg_menu_depth == 0) - global.interact = global.chemg_interact - } - for (i = 0; i < 10; i += 1) - { - global.input_pressed[i] = 0 - global.input_held[i] = 0 - global.input_released[i] = 0 - } - keyboard_clear(vk_up) - keyboard_clear(vk_down) - keyboard_clear(vk_left) - keyboard_clear(vk_right) - keyboard_clear(vk_escape) - keyboard_clear(vk_return) - if (change != 0) - global.chemg_menu_indices[depth_ndx] = (((global.chemg_menu_indices[depth_ndx] + num_choices) + change) % num_choices) - draw_set_font(fnt_main) - draw_set_colour(c_white) - draw_set_halign(fa_left) - draw_set_valign(fa_top) - var yy = global.chemg_yoffset - var vspacing = 15 - scr_84_draw_text_outline(10, yy, (((("====[ menu ]====[ gold: " + string(global.gold)) + " light gold: ") + string(global.lgold)) + " ]")) - yy += vspacing - global.chemg_max_depth = -1 - global.chemg_cursor_y = 0 - scr_84_draw_menu(global.chemg_menus, 10, yy, vspacing, global.chemg_menu_indices, 0, (global.chemg_menu_depth - 1)) - global.chemg_yoffset = min(10, (400 - (global.chemg_cursor_y - global.chemg_yoffset))) -} -var chemg_room_name = room_get_name(room) -if (global.chemg_god_mode > 0) - chemg_room_name = (chemg_room_name + "[god]") -if global.chemg_show_room -{ - draw_set_font(fnt_main) - draw_set_colour(c_white) - var chemg_x = (635 - string_width(chemg_room_name)) - var chemg_y = 5 - scr_84_draw_text_outline(chemg_x, chemg_y, chemg_room_name) -} -if global.chemg_font_test -{ - if (!variable_global_exists("chemg_font_init")) - { - global.chemg_font_init = 1 - var ft = fnt_tinynoelle - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = "NORMAL FONT" - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = "SLOWER, SILENT" - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = "normal enemy font." - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = "battle dialogue" - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = "NORMAL MAIN FONT" - ft[array_length_1d(ft)] = fnt_ja_small - ft[array_length_1d(ft)] = "NORMAL FONT BIG" - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = "toriel font" - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = "toriel font slow" - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = "susie font" - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = "ralsei font" - ft[array_length_1d(ft)] = 12 - ft[array_length_1d(ft)] = "noelle font" - ft[array_length_1d(ft)] = 13 - ft[array_length_1d(ft)] = "berdly font" - ft[array_length_1d(ft)] = 14 - ft[array_length_1d(ft)] = "sans font" - ft[array_length_1d(ft)] = 15 - ft[array_length_1d(ft)] = "pap font" - ft[array_length_1d(ft)] = 16 - ft[array_length_1d(ft)] = ")??? font" - ft[array_length_1d(ft)] = 17 - ft[array_length_1d(ft)] = "undyne font" - ft[array_length_1d(ft)] = 18 - ft[array_length_1d(ft)] = "asgore font" - ft[array_length_1d(ft)] = 19 - ft[array_length_1d(ft)] = "lancer font" - ft[array_length_1d(ft)] = 20 - ft[array_length_1d(ft)] = "alphys font" - ft[array_length_1d(ft)] = 21 - ft[array_length_1d(ft)] = "temmie font" - ft[array_length_1d(ft)] = 22 - ft[array_length_1d(ft)] = "alphys font small" - ft[array_length_1d(ft)] = 23 - ft[array_length_1d(ft)] = "noelle font small" - ft[array_length_1d(ft)] = 30 - ft[array_length_1d(ft)] = "susie dark world" - ft[array_length_1d(ft)] = 31 - ft[array_length_1d(ft)] = "ralsei dark world" - ft[array_length_1d(ft)] = 32 - ft[array_length_1d(ft)] = "lancer dark world" - ft[array_length_1d(ft)] = 33 - ft[array_length_1d(ft)] = "king dark world" - ft[array_length_1d(ft)] = 35 - ft[array_length_1d(ft)] = "joker dark world" - ft[array_length_1d(ft)] = 36 - ft[array_length_1d(ft)] = "NORMAL FONT SILENT" - ft[array_length_1d(ft)] = 37 - ft[array_length_1d(ft)] = "susie dark world slow, spaced." - ft[array_length_1d(ft)] = 40 - ft[array_length_1d(ft)] = "inteo" - ft[array_length_1d(ft)] = 41 - ft[array_length_1d(ft)] = "intro slower" - ft[array_length_1d(ft)] = 42 - ft[array_length_1d(ft)] = "big silent slower" - ft[array_length_1d(ft)] = 45 - ft[array_length_1d(ft)] = "battle dialogue ral" - ft[array_length_1d(ft)] = 46 - ft[array_length_1d(ft)] = "battle dialogue lan" - ft[array_length_1d(ft)] = 47 - ft[array_length_1d(ft)] = "battle dialogue sus" - ft[array_length_1d(ft)] = 48 - ft[array_length_1d(ft)] = "king dark world battle" - ft[array_length_1d(ft)] = 50 - ft[array_length_1d(ft)] = "enemy" - ft[array_length_1d(ft)] = 51 - ft[array_length_1d(ft)] = "hellish yak text" - ft[array_length_1d(ft)] = 52 - ft[array_length_1d(ft)] = "hellish yak text 2" - ft[array_length_1d(ft)] = 53 - ft[array_length_1d(ft)] = "enemy: Susie" - ft[array_length_1d(ft)] = 54 - ft[array_length_1d(ft)] = "enemy: Susie 2" - ft[array_length_1d(ft)] = 55 - ft[array_length_1d(ft)] = "rudy font" - ft[array_length_1d(ft)] = 60 - ft[array_length_1d(ft)] = "SLOWER, SILENT 2" - ft[array_length_1d(ft)] = 666 - ft[array_length_1d(ft)] = "GLOW TEXT" - ft[array_length_1d(ft)] = 667 - ft[array_length_1d(ft)] = "GLOW TEXT 2" - ft[array_length_1d(ft)] = -1 - ft[array_length_1d(ft)] = fnt_main - ft[array_length_1d(ft)] = -2 - ft[array_length_1d(ft)] = fnt_ja_main - ft[array_length_1d(ft)] = -3 - ft[array_length_1d(ft)] = fnt_mainbig - ft[array_length_1d(ft)] = -4 - ft[array_length_1d(ft)] = fnt_ja_mainbig - ft[array_length_1d(ft)] = -5 - ft[array_length_1d(ft)] = fnt_tinynoelle - ft[array_length_1d(ft)] = -6 - ft[array_length_1d(ft)] = fnt_ja_tinynoelle - ft[array_length_1d(ft)] = -7 - ft[array_length_1d(ft)] = fnt_dotumche - ft[array_length_1d(ft)] = -8 - ft[array_length_1d(ft)] = fnt_ja_dotumche - ft[array_length_1d(ft)] = -9 - ft[array_length_1d(ft)] = fnt_comicsans - ft[array_length_1d(ft)] = -10 - ft[array_length_1d(ft)] = fnt_ja_comicsans - ft[array_length_1d(ft)] = -11 - ft[array_length_1d(ft)] = fnt_small - ft[array_length_1d(ft)] = -12 - ft[array_length_1d(ft)] = fnt_ja_small - global.chemg_font_types = ft - global.chemg_font_type_ndx = 0 - } - ft = global.chemg_font_types - var num_types = (array_length_1d(ft) / 2) - change = 0 - if (keyboard_check_pressed(vk_right) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padr)) - change = 1 - else if (keyboard_check_pressed(vk_left) || gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gp_padl)) - change = -1 - global.chemg_font_type_ndx = (((global.chemg_font_type_ndx + change) + num_types) % num_types) - var fndx = (global.chemg_font_type_ndx * 2) - var xx = 10 - yy = 250 - strings[0] = "Pack my box with five" - strings[1] = "dozen liquor jugs." - strings[2] = "これは日本語です。" - strings[3] = "魔物に食われない!" - var typer = ft[fndx] - if (typer >= 0) - { - global.typer = typer - scr_texttype() - var font = myfont - var msg = ((((("(" + string(global.typer)) + ") ") + ft[(fndx + 1)]) + ", font: ") + font_get_name(myfont)) - vspacing = vspace - } - else - { - font = ft[(fndx + 1)] - msg = ("font: " + font_get_name(font)) - vspacing = (font_get_size(font) + 2) - } - draw_set_font(font) - draw_set_colour(c_white) - for (i = 0; i < array_length_1d(strings); i += 1) - { - var str = strings[i] - if (typer >= 0) - { - var len = string_length(str) - var wx = xx - for (var j = 1; j <= len; j += 1) - { - var mychar = string_copy(str, j, 1) - draw_text(wx, ((yy + 20) + (i * vspacing)), mychar) - wx += hspace - if (global.lang == "ja") - { - if (ord(mychar) < 256 || (ord(mychar) >= 65377 && ord(mychar) <= 65439)) - wx -= (hspace / 2) - } - } - } - else - draw_text(xx, ((yy + 20) + (i * vspacing)), str) - } - draw_set_colour(c_white) - draw_set_font(fnt_main) - draw_text(xx, yy, ("<-/-> to change typer: " + msg)) -} diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/b6825187ca2e32c618e4899e6d0c4c50/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml deleted file mode 100644 index 7865cee5e..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml +++ /dev/null @@ -1,103 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - n += 2 - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "P") - script_execute(SCR_TEXTSETUP, 4, 255, x, y, (x + 150), 43, 4, 94, 10) - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - } - if (global.inbattle == 1) - halt = 5 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_OBJ_WRITER_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_OBJ_WRITER_Draw_0.gml deleted file mode 100644 index 241521ad2..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_OBJ_WRITER_Draw_0.gml +++ /dev/null @@ -1,255 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "L") - mycolor = $FFA914 - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "z") - { - sym = real(string_char_at(originalstring, (n + 2))) - sym_s = spr_infinitysign - if (sym == 4) - sym_s = spr_infinitysign - if (sym == 4) - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - if (myfont == fnt_comicsans) - { - if (myletter == "w") - myx += 2 - if (myletter == "m") - myx += 2 - if (myletter == "i") - myx -= 2 - if (myletter == "l") - myx -= 2 - if (myletter == "s") - myx -= 1 - if (myletter == "j") - myx -= 1 - } - if (myfont == fnt_papyrus) - { - if (myletter == "D") - myx += 1 - if (myletter == "Q") - myx += 3 - if (myletter == "M") - myx += 1 - if (myletter == "L") - myx -= 1 - if (myletter == "K") - myx -= 1 - if (myletter == "C") - myx += 1 - if (myletter == ".") - myx -= 3 - if (myletter == "!") - myx -= 3 - if (myletter == "O" || myletter == "W") - myx += 2 - if (myletter == "I") - myx -= 6 - if (myletter == "T") - myx -= 1 - if (myletter == "P") - myx -= 2 - if (myletter == "R") - myx -= 2 - if (myletter == "A") - myx += 1 - if (myletter == "H") - myx += 1 - if (myletter == "B") - myx += 1 - if (myletter == "G") - myx += 1 - if (myletter == "F") - myx -= 1 - if (myletter == "?") - myx -= 3 - if (myletter == "'") - myx -= 6 - if (myletter == "J") - myx -= 1 - } - n += nskip -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_flowey_writer_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_flowey_writer_Draw_0.gml deleted file mode 100644 index aa57ccad5..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_flowey_writer_Draw_0.gml +++ /dev/null @@ -1,181 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "f") - global.typer = 9 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else if (global.typer == 70 || global.typer == 71 || global.typer == 74 || global.typer == 75 || global.typer == 76 || global.typer == 77) - draw_text_transformed((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter, 2, 2, 0) - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - n += nskip -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 9a5ea7df7..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,398 +0,0 @@ -buffer -= 1 -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if keyboard_multicheck_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ini_close() - room_goto(room_intromenu) -} -draw_set_color(c_white) -draw_set_font(fnt_maintext) -if (weather != 3) - draw_text_transformed(100, 10, "JOYSTICK CONFIG", 2, 2, 0) -else - draw_text_transformed(10, 10, "JOYSTICK CONFIG", 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, "EXIT") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = "CONFIRM - [Z + ENTER] ::" - if (i == 2) - itext = "CANCEL - [X + SHIFT] ::" - if (i == 3) - itext = "MENU - [C + CTRL] ::" - draw_text(20, (60 + (i * 15)), itext) - draw_set_color(c_white) -} -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 75, 245, 90, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 75, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 90, 245, 105, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 90, "(PUSH BUTTON)") - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 90, global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 105, 245, 120, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 105, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 105, global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, "ANALOG SENSITIVITY:") -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense -= global.analog_sense_sense - if keyboard_check(vk_left) - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text_transformed(20, 150, "ANALOG SENSITIVITY SENSITIVITY:", 0.6, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense_sense -= 0.01 - if keyboard_check(vk_left) - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, "DIR CHOICE:") -if (global.joy_dir == 0) - draw_text(100, 170, "NORMAL") -if (global.joy_dir == 1) - draw_text(100, 170, "ANALOG ONLY") -if (global.joy_dir == 2) - draw_text(100, 170, "POV ONLY") -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, 185, r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, 185, "RESET TO DEFAULT") -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = "SPAGHETTI..." - else - r_line = "RESETTED..." - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 200, "CONTROL TEST") -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "cold outside#but stay warm#inside of you", 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "spring time#back to school", 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "try to withstand#the sun's life-#giving rays", 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "sweep a leaf#sweep away a#troubles", 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - draw_rectangle((168 - rectile), -10, -1, 250, false) - draw_set_color(c_black) - draw_rectangle((152 + rectile), -10, 330, 250, false) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 7b8438b88..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = "PET?" - if (gg == 1) - global.msg[0] = "PAT?" - if (gg == 2) - global.msg[0] = "POT?" - global.msg[1] = "%%%" - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_readable_room1_Alarm_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_readable_room1_Alarm_0.gml deleted file mode 100644 index ca62366f8..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_readable_room1_Alarm_0.gml +++ /dev/null @@ -1,480 +0,0 @@ -myinteract = 3 -global.msc = 0 -global.typer = 5 -global.facechoice = 0 -global.faceemotion = 0 -global.msg[0] = "%%" -if (room == room_ruins2) - global.msg[0] = "* Only the fearless may proceed.&* Brave ones, foolish ones.&* Both walk not the middle road./%%" -if (room == room_ruins3) - global.msg[0] = "* Stay on the path./%%" -if (room == room_ruins5) - global.msg[0] = "* The western room is the& eastern room's blueprint./%%" -if (room == room_ruins9) - global.msg[0] = "* Three out of four grey rocks& recommend you push them./%%" -if (room == room_ruins13) - global.msg[0] = "* (There's an ant-sized frog in& a crack in the wall...^1)&* (It waves at you.)/%%" -if (room == room_ruins14) - global.msg[0] = "* There is just one switch./%%" -if (room == room_ruins15A) - global.msg[0] = "* The far door is not an exit^1.&* It simply marks a rotation& in perspective./%%" -if (room == room_ruins15B) - global.msg[0] = "* If you can read this^1,& press the blue switch./%%" -if (room == room_ruins15C) - global.msg[0] = "* If you can read this^1,& press the red switch./%%" -if (room == room_ruins15D) - global.msg[0] = "* If you can read this^1,& press the green switch./%%" -if (room == room_torhouse1) - global.msg[0] = "* These books are worn...&* They must have been read& many times./%%" -if (room == room_asghouse1) -{ - global.msg[0] = "* (There's an old calendar from& the end of 201X.^1)&* (A date is circled on it.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (The date I came here.)/%%" -} -if (room == room_torhouse2) - global.msg[0] = "* The ends of the tools have& been filed down to& make them safer./%%" -if (room == room_asghouse2) - global.msg[0] = "* Seems like gardening tools./%%" -if (room == room_asrielroom) - global.msg[0] = "* Look at these cool toys^2!&* They don't interest you& at all./%%" -if (room == room_asrielroom_final) - global.msg[0] = "* (Dusty toys.)/%%" -if (room == room_castle_finalshoehorn) - global.msg[0] = "* Throne Room/%%" -if (room == room_castle_coffins2) -{ - global.msg[0] = "* (It's a coffin.^1)&* (There's a name engraved on& it.)/" - global.msg[1] = (('* ("' + global.charname) + '.")/') - global.msg[2] = "* (It's empty.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (The coffin is empty...?)/" - global.msg[1] = "* (You didn't notice before^1,& but there's something like...)/" - global.msg[2] = "* (... mummy wrappings at the& bottom of it.)/%%" - } - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (It's as comfortable as it& looks.)/%%" -} -if (room == room_torielroom) -{ - global.msc = 524 - if (x > 192) - { - global.msc = 0 - global.msg[0] = "* You peek inside..^2.&* Scandalous!/" - global.msg[1] = "* It's TORIEL's sock& collection./%%" - if (read > 0) - global.msg[0] = "* You can't stop looking& at the socks./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (You came all the way& back here to look at& Toriel's socks.)/" - global.msg[1] = "* (You have great priorities& in life.)/%%" - } - } -} -if (room == room_asgoreroom) -{ - global.msg[0] = "* It's a clothes drawer^1.&* There are robes^1, button-up& shirts.../" - global.msg[1] = "* ... and a pink^1, hand-knit& sweater that says& " + chr(34) + "Mr. Dad Guy." + chr(34) + "/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* Still has that sweater./%%" - if (y > 120) - global.msg[0] = "* (It's just a chair.)/%%" -} -if (room == room_castle_throneroom) - global.msg[0] = "* (It's a throne.)/%%" -if (room == room_torhouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_asghouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_kitchen) - global.msg[0] = "* For some reason^1, there& is a brand-name chocolate& bar in the fridge./%%" -if (room == room_kitchen_final) -{ - global.msg[0] = "* (The fridge is full of& unopened containers of& snails.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* No chocolate./%%" -} -if (room == room_tundra1) - global.msg[0] = "* ...!^1?&* There's a camera hidden& in the bushes./%%" -if (room == room_tundra8A) - global.msg[0] = "* (His.)/%%" -if (room == room_tundra_snowpuzz) -{ - if (global.plot <= 48) - global.msg[0] = "* There's a switch hidden& in the snow^1.&* Click!/%%" - if (global.plot > 48) - global.msg[0] = "* The switch is stuck now./%%" - if (global.flag[64] == 0) - global.flag[64] = 1 - if (global.plot <= 48) - global.plot = 49 - if (scr_murderlv() >= 3) - global.msg[0] = "* There's a switch here^1.&* It's been depressed with& vines./%%" -} -if (room == room_tundra_lesserdog) - global.msg[0] = "* On the floor inside is& a box of pomeraisins./%%" -if (room == 9999999) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are super crap./" - global.msg[2] = "* When monsters die^1, their& bodies turn into dust./" - global.msg[3] = "* One time this kid at my school& went missing for a week and& everyone thought he was dead.../" - global.msg[4] = "* But then he came back!!!/" - global.msg[5] = "* Turns out he was visiting his& girlfriend in Hotland and& and didn't tell anyone!/" - global.msg[6] = "* To be scientific^1, it sucks& that no one ever knows& if anyone's dead or alive./" - global.msg[7] = "* So yeah^1, what do we do at& funerals^1, anyway?/" - global.msg[8] = "* Professionally speaking:/" - global.msg[9] = "* DUH!!!/" - global.msg[10] = "* We pour the dust on whatever& that person liked./" - global.msg[11] = "* Then they will live on..^1.& ... in that object...& ... symbolically.../" - global.msg[12] = "* Uhhh^1, did I reach the page& minimum yet^1?&* I'm kinda sick of writing./%%" -} -if (room == room_tundra_library) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are cool as heck./" - global.msg[2] = "* When monsters get old and& kick the bucket^1, they turn& into dust./" - global.msg[3] = "* At funerals^1, we take that& dust and spread it on that& person's favorite thing./" - global.msg[4] = "* Then their essence will live& on in that thing.../" - global.msg[5] = "* Uhhh^1, am I at the page& minimum yet^1?&* I'm kinda sick of writing this./%%" -} -if (room == room_tundra_inn) -{ - global.msg[0] = "\W* Mom says that sleeping& can recover your health& \Yabove your maximum HP\W./" - global.msg[1] = "* ... what's maximum HP?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* Mom says that we can& go to the surface world& now!/" - global.msg[1] = "* ... what's so great about& that^1, anyway^1?&* I don't wanna move./%%" - } - if (scr_murderlv() >= 7) - global.msg[0] = "* (It's merely a decoy.)/%%" -} -if (room == room_water12) -{ - global.msg[0] = "* " + chr(34) + "The power to take their& SOULs." + chr(34) + "/" - global.msg[1] = "* " + chr(34) + "This is the power that& the humans feared." + chr(34) + "/%%" -} -if (room == room_water7) -{ - global.msg[0] = "* (Ancient writing covers the& walls..^1. you can just make& out the words.)/" - global.msg[1] = "* " + chr(34) + "The War of Humans and& Monsters." + chr(34) + "/%%" -} -if (room == room_water14) - global.msg[0] = "* The northern room hides a& great treasure./%%" -if (room == room_water15) -{ - global.msg[0] = "* Hurt, beaten, and fearful for& our lives, we surrendered& to the humans./" - global.msg[1] = "* Seven of their greatest& magicians sealed us underground& with a magic spell./" - global.msg[2] = "* Anything can enter through the& seal, but only beings with a& powerful SOUL can leave./%%" -} -if (room == room_water19) -{ - global.msg[0] = "* However...&* There is a prophecy./" - global.msg[1] = "* The Angel...&* The One Who Has Seen The& Surface.../" - global.msg[2] = "* They will return.&* And the underground will go& empty./%%" -} -if (room == room_water_nicecream) - global.msg[0] = "* The ancient glyphs have been& painted over with a list of& 21 different flavors./%%" -if (room == room_water_prebird) - global.msg[0] = "* Achoo^1!&* Tried to catch a bug^1, but& I just caught a cold.../%%" -if (room == room_water_preundyne) -{ - global.msg[0] = "* The humans, afraid of our& power^1, declared war on us./" - global.msg[1] = "* They attacked suddenly, and& without mercy./%%" -} -if (room == room_water17) - global.msg[0] = "* Without candles or magic to& guide them Home^1, the monsters& used crystals to navigate./%%" -if (room == room_water20) -{ - if instance_exists(obj_monsterkidtrigger7) - obj_monsterkidtrigger7.con = 80 - cantalk = 0 -} -if (room == room_fire_lab1) -{ - global.msg[0] = "* (It's a beat-up figurine& of a female human with& cat ears.)/%%" - if (global.plot < 126 && scr_murderlv() < 12) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" -} -if (room == room_fire_lab2) - global.msg[0] = "* (Scientific books.^1)&* (They seem very dusty.)/%%" -if (room == room_fire_cookingshow) -{ - global.msg[0] = "* (It's a fridge.^1)&* (It's strangely warm.)/%%" - if (global.plot < 134) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" - if instance_exists(obj_mettaton_npc) - { - global.typer = 27 - global.msg[0] = "* MILK^1? EGGS^1? IN THE FRIDGE?/" - global.msg[1] = "* NO WAY^1, DARLING^1!&* THEY'D GET COLD!!!/%%" - } - if (global.plot == 134) - { - snd_play(snd_phone) - global.typer = 5 - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* Um^1, is it really& a good idea to be& getting a snack?/" - global.msg[3] = "\E8* Well^1, I guess I& really shouldn't& judge you.../" - global.msg[4] = "\E0* After all^1, I'm the& one eating potato& chips in my PJs!/" - global.msg[5] = "\E5* Uhhh^1, I mean..^1.&* H-hey^1, go over to& the right!/%%" - if (specialread > 0) - { - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* H-hey^1!&* Head over to the& right!/%%" - } - specialread += 1 - } -} -if (room == room_water_undynehouse) -{ - global.typer = 37 - global.facechoice = 5 - global.faceemotion = 4 - global.msc = 0 - if (x > 180) - { - global.msg[0] = "* I hate cold food./" - global.msg[1] = "\E0* So Alphys fixed up& my fridge so it& heats up food instead!/" - global.msg[2] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - if (read > 0) - global.msg[0] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - } - else - { - global.faceemotion = 0 - global.msg[0] = "* This oven is some& top-of-the-line& MTT thing./" - global.msg[1] = "\E4* But^1, y'know^1, as much& as technology& advances.../" - global.msg[2] = "\E0* Nothing beats food& home-cooked with& fire magic./%%" - } -} -if (room == room_fire_spidershop) -{ - global.msg[0] = "* (It looks like some sort of& powerful bracelet...)/" - global.msg[1] = "* (Wait.^1)&* (It's just a croissant...)/%%" -} -if (room == room_fire_hotelfront_2) - global.msg[0] = "* (It's just a regular wall.)/%%" -if (room == room_fire_core_branch) - global.msg[0] = "* (East...)&* (The End.)/%%" -if (room == room_fire_core_left) - global.msg[0] = "* (Solve this puzzle,& and The End will open.)/%%" -if (room == room_fire_core_top) - global.msg[0] = "* (Traverse the northern& room^1, and The End will& open.)/%%" -if (room == room_fire_core_right) -{ - global.msg[0] = "* (I cannot fight.)&* (I cannot think.)/" - global.msg[1] = "* (But^1, with patience^1,& I will make my way& through.)/%%" -} -if (room == room_fire_core_center) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_treasureleft) - global.msg[0] = "* (Why not relax and have& a nice snack?)/%%" -if (room == room_fire_core_treasureright) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_metttest) -{ - global.msg[0] = "* (It's completely trashed.^1)&* (There's no way it could& ever be repaired.)/%%" - if (global.flag[425] == 0) - global.msg[0] = "* (It's out of batteries.)/%%" -} -if (room == room_truelab_hall1) -{ - global.msg[0] = "* ENTRY NUMBER 1/" - global.msg[1] = "* This is it..^1.&* Time to do what the King& has asked me to do./" - global.msg[2] = "* I will create the power to& free us all./" - global.msg[3] = "* I will unleash the power of& the SOUL./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hub) -{ - global.msg[0] = "* POWER ROOM/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall2) -{ - global.msg[0] = "* ENTRY NUMBER 6/" - global.msg[1] = "* ASGORE asked everyone& outside the city for monsters& that had " + chr(34) + "fallen down." + chr(34) + "/" - global.msg[2] = "* Their bodies came in today./" - global.msg[3] = "* They're still comatose..^1.&* And soon^1, they'll all& turn into dust./" - global.msg[4] = "* But what happens if I& inject " + chr(34) + "determination" + chr(34) + " into& them?/" - global.msg[5] = "* If their SOULS persist& after they perish^1, then.../" - global.msg[6] = "* Freedom might be closer& than we all thought./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_operatingroom) -{ - global.msg[0] = "* ENTRY NUMBER 9/" - global.msg[1] = "* things aren't going well./" - global.msg[2] = "* none of the bodies have& turned into dust^1, so I& can't get the SOULs./" - global.msg[3] = "* i told the families that& i would give them the& dust back for the funerals./" - global.msg[4] = "* people are starting to& ask me what's happening./" - global.msg[5] = "* what do i do?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_prebed) -{ - global.msg[0] = "* ENTRY NUMBER 12/" - global.msg[1] = "* nothing is happening^1.&* i don't know what to do./" - global.msg[2] = "* i'll just keep injecting& everything with& " + chr(34) + "determination." + chr(34) + "/" - global.msg[3] = "* i want this to work./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_bedroom) -{ - global.msg[0] = "* ENTRY NUMBER 14/" - global.msg[1] = "* Everyone that had fallen& down.../" - global.msg[2] = "* ... has woken up./" - global.msg[3] = "* They're all walking around& and talking like nothing& is wrong./" - global.msg[4] = "* I thought they were& goners...?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_mirror) -{ - global.msg[0] = "* ENTRY NUMBER 7/" - global.msg[1] = "* We'll need a vessel to& wield the monster SOULs& when the time comes./" - global.msg[2] = "* After all^1, a monster& cannot absorb the SOULs& of other monsters./" - global.msg[3] = "* Just as a human cannot& absorb a human SOUL.../" - global.msg[4] = "* So then.../" - global.msg[5] = "* What about something that's& neither human nor monster?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall3) -{ - global.msg[0] = "* ENTRY NUMBER 15/" - global.msg[1] = "* Seems like this research& was a dead end.../" - global.msg[2] = "* But at least we got a& happy ending out of it...?/" - global.msg[3] = "* I sent the SOULS back to& ASGORE^1, returned the& vessel to his garden..../" - global.msg[4] = "* And I called all of the& families and told them& everyone's alive./" - global.msg[5] = "* I'll send everyone back& tomorrow. :) /%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* ENTRY NUMBER 17/" - global.msg[1] = "* monsters' physical forms& can't handle " + chr(34) + "determination" + chr(34) + "& like humans' can./" - global.msg[2] = "* with too much determination^1,& our bodies begin to break& down./" - global.msg[3] = "* everyone's melted together.../%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* DT EXTRACTION MACHINE&* STATUS: INACTIVE/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_tv) -{ - global.msg[0] = "* ENTRY NUMBER 4/" - global.msg[1] = "* I've been researching humans& to see if I can find any& info about their SOULS./" - global.msg[2] = "* I ended up snooping around& the castle...&* And found these weird tapes./" - global.msg[3] = "* I don't feel like ASGORE's& watched them.../" - global.msg[4] = "* I don't think he should./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_fan) - global.msc = 780 -if (room == room_truelab_cooler) -{ - global.msg[0] = "* ENTRY NUMBER 19/" - global.msg[1] = "* the families keep calling& me to ask when everyone& is coming home./" - global.msg[2] = "* what am i supposed to say?/" - global.msg[3] = "* i don't even answer the& phone anymore./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" - if (global.flag[490] == 0) - global.msg[0] = "* (It's too dark to see near& the walls.)/%%" -} -if (room == room_truelab_prepower) -{ - global.msg[0] = "* (Seems to be turned off.)/%%" - if (global.flag[485] == 1) - { - global.msg[0] = "* ENTRY NUMBER 8/" - global.msg[1] = "* I've chosen a candidate./" - global.msg[2] = "* I haven't told ASGORE yet^1,& because I want to surprise& him with it.../" - global.msg[3] = "* In the center of his& garden^1, there's something& special./" - global.msg[4] = "* The first golden flower^1,& that grew before all the& others./" - global.msg[5] = "* The flower from the outside& world./" - global.msg[6] = "* It appeared just before& the queen left./" - global.msg[7] = "* I wonder.../" - global.msg[8] = "* What happens when something& without a SOUL gains& the will to live?/%%" - } -} -if (room == room_truelab_elevatorinside) - global.msg[0] = "* (None of the buttons work.^1)&* (It seems to have lost power.)/%%" -if (room == room_castle_elevatorout) - global.msg[0] = "* (The door is jammed shut& with vines.)/%%" -if (room == room_truelab_castle_elevator) - global.msg[0] = "* (Seems like another elevator& has lost its power.)/%%" -if (room == room_tundra_grillby) - global.msg[0] = "* (The jukebox is broken.)/%%" -if (room == room_water_blookyard) - global.msg[0] = "* (It's locked.)/%%" -if (room == room_tundra_sansroom) - global.msg[0] = "* (It's a worn mattress.^1)&* (The sheets are bunched up in a& weird^1, creasy ball.)/%%" -if (room == room_tundra_sansbasement) -{ - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (He looks happy.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (... and^1, one photo of you& standing with Sans and all& your friends.)/" - global.msg[3] = "* (He looks happy.)/%%" - } - if (global.flag[279] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of..^1. Huh?)/" - global.msg[2] = "* (A card is sticking out from& the back flap of the binder.)/" - global.msg[3] = "* (It's a poorly drawn picture& of three smiling people.^1)&* (Written on it...)/" - global.msg[4] = "* " + chr(34) + "don't forget." + chr(34) + "/%%" - } -} -if (room == room_fire_pacing) -{ - global.msg[0] = "* (It's a poster for Mettaton's& latest stage performance.)/" - global.msg[1] = "* (A tragic tale of two star-& crossed lovers^1, kept apart& by the tides of fate...)/" - global.msg[2] = "* (Looks like it's almost time& for the performance.)/%%" -} -if (room == room_fire_hoteldoors) - global.msg[0] = "* (It's locked from the inside.)/%%" -if (room == room_fire_hotellobby) -{ - global.msg[0] = "* (There's an inscription on& this fountain.)/" - global.msg[1] = "* Royal Memorial Fountain&* Built 201X&* (Mettaton Added Last Week)/%%" -} -if (room == room_fire_restaurant) -{ - global.msg[0] = "* (It's a Wall of Fame full of& quotes and photos from visiting& celebrities.)/" - global.msg[1] = "* " + chr(34) + "The food is to die for!^1" + chr(34) + "&* " + chr(34) + "Gorgeous style and fragrance!^1" + chr(34) + "&* " + chr(34) + "My face tastes beautiful!" + chr(34) + "/" - global.msg[2] = "* (... these are all Mettaton.)/%%" -} -if (room == room_fire_hotelbed) -{ - global.msg[0] = "* (It's a lamp.^1)&* (There's no lightswitch.)/" - global.msg[1] = "* (It says that stars make& their own light...)/%%" -} -if (room == room_water_temvillage) - global.msg[0] = "* (Rich history of Tem.)/%%" -read += 1 -if (cantalk == 1) - mydialoguer = instance_create(0, 0, obj_dialoguer) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index d03c73c02..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - draw_set_font(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, "Exit") - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if keyboard_check_pressed(vk_return) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - draw_set_font(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (keyboard_check_pressed(vk_return) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_truechara_Step_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_truechara_Step_0.gml deleted file mode 100644 index 0b3663c04..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_truechara_Step_0.gml +++ /dev/null @@ -1,192 +0,0 @@ -if (con == 1) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Greetings./" - global.msg[1] = (("I^2 am " + global.charname) + "./%%") - instance_create(220, 320, OBJ_WRITER) - con = 2 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - caster_loop(ch_sfx1, 1, 1) - con = 3 - alarm[4] = 60 -} -if (con == 4) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Thank you./" - global.msg[1] = "Your power awakened&me from death./" - global.msg[2] = 'My "human soul."/' - global.msg[3] = 'My "determination."/' - global.msg[4] = "They were not mine^1,&but YOURS./" - global.msg[5] = "At first^1, I&was so confused./" - global.msg[6] = "Our plan had failed^1,&hadn't it?/" - global.msg[7] = "Why was I brought&back to life?/" - global.msg[8] = ".../" - global.msg[9] = "You./" - global.msg[10] = "With your guidance./" - global.msg[11] = "I realized the purpose&of my reincarnation./" - global.msg[12] = "Power./" - global.msg[13] = "Together^1, we eradicated&the enemy and became&strong./" - global.msg[14] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[15] = "Every time a number&increases^1, that&feeling.../" - global.msg[16] = "That's me./" - global.msg[17] = (('"' + global.charname) + '."/') - global.msg[18] = "Now./" - global.msg[19] = "Now, we have reached&the absolute./" - global.msg[20] = "There is nothing&left for us here./" - global.msg[21] = "Let us erase this&pointless world^1, and&move on to the next./%%" - if file_exists("system_information_963") - { - global.msg[0] = (('"' + global.charname) + '."/') - global.msg[1] = "The demon that comes&when people call&its name./" - global.msg[2] = "It doesn't matter when./" - global.msg[3] = "It doesn't matter where./" - global.msg[4] = "Time after time,&I will appear./" - global.msg[5] = "And, with your help./" - global.msg[6] = "We will eradicate the&enemy and become&strong./" - global.msg[7] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[8] = "Every time a number&increases^1, that&feeling.../" - global.msg[9] = "That's me./" - global.msg[10] = (('"' + global.charname) + '."/') - global.msg[11] = ".../" - global.msg[12] = "But./" - global.msg[13] = "You and I are not&the same^1, are we?/" - global.msg[14] = "This SOUL resonates&with a strange&feeling./" - global.msg[15] = "There is a reason&you continue to&recreate this world./" - global.msg[16] = "There is a reason&you continue to&destroy it./" - global.msg[17] = "You./" - global.msg[18] = "You are wracked with&a perverted&sentimentality./" - global.msg[19] = "Hmm./" - global.msg[20] = "I cannot understand&these feelings&any more./" - global.msg[21] = "Despite this./" - global.msg[22] = "I feel obligated to&suggest./" - global.msg[23] = "Should you choose to&create this world&once more./" - global.msg[24] = "Another path would&be better suited./" - global.msg[25] = "Now, partner./" - global.msg[26] = "Let us send this&world back into the&abyss./%%" - } - instance_create(150, 320, OBJ_WRITER) - con = 5 -} -if (con == 5 && instance_exists(OBJ_WRITER) == 0) -{ - con = 6 - alarm[4] = 30 -} -if (con == 7) -{ - con = 8 - choicer = 1 -} -if (con == 20) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Right^1. You are a&great partner./" - global.msg[1] = "We'll be together&forever^1, won't we?/%%" - con = 22 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 22 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - sprite_index = spr_truechara_weird -} -if (con == 22 && instance_exists(OBJ_WRITER) == 0) - con = 60 -if (con == 30) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "No...?/" - global.msg[1] = "Hmm.../" - global.msg[2] = "How curious./" - global.msg[3] = "You must have&misunderstood./" - global.msg[4] = "SINCE WHEN WERE YOU&THE ONE IN CONTROL?/%%" - if file_exists("system_information_963") - { - global.msg[0] = "No...?/" - global.msg[1] = "Hmm...&This feeling you have./" - global.msg[2] = "This is what I&spoke of./" - global.msg[3] = "Unfortunately,®arding this.../" - global.msg[4] = "YOU MADE YOUR CHOICE&LONG AGO./%%" - } - con = 31 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 31 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 4) - sprite_index = spr_truechara_weird -} -if (con == 31 && instance_exists(OBJ_WRITER) == 0) - con = 40 -if (con == 40) -{ - caster_stop(-3) - caster_play(ch_sfx2, 1, 0.95) - sprite_index = spr_truechara_laugh - image_speed = 0.5 - con = 41 - flashred = 1 - alarm[4] = 120 - wx = 0 - wy = 0 - if (global.osflavor == 1) - { - window_set_fullscreen(false) - window_set_caption(" ") - window_center() - wx = window_get_x() - wy = window_get_y() - } -} -if (con == 41) -{ - x = (((room_width / 2) + random(4)) - random(4)) - y = (((room_height / 2) + random(4)) - random(4)) - image_xscale += 0.08 - image_yscale += 0.08 - if (global.osflavor == 1) - window_set_position(((wx + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4))), ((wy + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4)))) -} -if (con == 42) -{ - con = 60 - if (global.osflavor == 1) - window_center() - flashred = 0 -} -if (con == 60) -{ - caster_free(-3) - snd_play(snd_laz) - image_speed = 0 - image_index = 0 - sprite_index = spr_strike - image_xscale = 5 - image_yscale = 5 - y = ((room_height / 2) - (sprite_height / 2)) - x = ((room_width / 2) - (sprite_width / 2)) - image_speed = 0.1 - con = 61 -} -if (con == 61) -{ - if (image_index >= 5.5) - { - visible = false - con = 62 - alarm[4] = 40 - } -} -if (con == 63) -{ - snd_play(snd_damage) - instance_create(0, 0, obj_gameshake) - con = 64 -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index f424d711c..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = string("0") - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ccf249543..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6411 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = " " - adder = "\W " - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y " - if (global.flag[22] == 2) - adder = "\p " - } - global.msg[0] = adder - global.msg[0] += (" * " + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += " A" - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += " B" - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += " C" - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = " " - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y " - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p " - } - } - global.msg[0] += " * Spare" - if (global.mercy == 0) - global.msg[0] += "& \W * Flee" - break - case 9: - global.msg[0] = ((" * " + global.itemnameb[0]) + " ") - if (global.item[1] != 0) - global.msg[0] += ("* " + global.itemnameb[1]) - global.msg[0] += " &" - if (global.item[2] != 0) - global.msg[0] += ((" * " + global.itemnameb[2]) + " ") - if (global.item[3] != 0) - global.msg[0] += ("* " + global.itemnameb[3]) - global.msg[0] += " & PAGE 1" - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = ((" * " + global.itemnameb[4]) + " ") - if (global.item[5] != 0) - global.msg[0] += ("* " + global.itemnameb[5]) - global.msg[0] += " &" - if (global.item[6] != 0) - global.msg[0] += ((" * " + global.itemnameb[6]) + " ") - if (global.item[7] != 0) - global.msg[0] += ("* " + global.itemnameb[7]) - global.msg[0] += " & PAGE 2" - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += (("* You recovered " + string(global.item[8])) + " HP!/%") - else - global.msg[0] += "* Your HP was maxed out./%" - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = (("* You bid a quiet farewell& to the " + global.itemname[global.menucoord[1]]) + ".") - if (i == 1) - global.msg[0] = (("* You put the " + global.itemname[global.menucoord[1]]) + "& on the ground and gave it a& little pat.") - if (i == 2) - global.msg[0] = (("* You threw the " + global.itemname[global.menucoord[1]]) + "& on the ground like the piece& of trash it is.") - if (i == 3) - global.msg[0] = (("* You abandoned the & " + global.itemname[global.menucoord[1]]) + ".") - if (i > 3) - global.msg[0] = (("* The " + global.itemname[global.menucoord[1]]) + " was& thrown away.") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = " * I'm outta here." - if (i == 2) - global.msg[0] = " * I've got better to do." - if (i > 3) - global.msg[0] = " * Escaped..." - if (i == 3) - global.msg[0] = " * Don't slow me down." - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = ((((" * Ran away with " + string(global.xpreward[3])) + " EXP& and ") + string(global.goldreward[3])) + " GOLD.") - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = "* (The shadow of the ruins& looms above^1, filling you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins7) - { - global.msg[0] = "* (Playfully crinkling through& the leaves fills you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins12A) - { - global.msg[0] = "* (Knowing the mouse might one& day leave its hole and& get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_ruins19) - global.msg[0] = "* (Seeing such a cute^1, tidy& house in the RUINS gives& you determination.)/%%" - if (global.flag[202] >= 20) - global.msg[0] = "* Determination./%%" - if (room == room_tundra1) - global.msg[0] = "* (The cold atmosphere of a& new land... it fills you& with determination.)/%%" - if (room == room_tundra3) - global.msg[0] = "* (The convenience of that& lamp still fills you& with determination.)/%%" - if (room == room_tundra_spaghetti) - { - global.msg[0] = "* (Knowing the mouse might one& day find a way to heat& up the spaghetti...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = "* (Knowing that dog will& never give up trying to& make the perfect snowdog...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - if (global.flag[55] == 1) - { - global.msg[0] = "* (Snow can always be broken& down and rebuilt into& something more useful.)/" - global.msg[1] = "* (This simple fact fills& you with determination.)/%%" - } - } - if (room == room_tundra_town) - global.msg[0] = "* (The sight of such a friendly& town fills you with& determination.)/%%" - if (room == room_water2) - global.msg[0] = "* (The sound of rushing water& fills you with& determination.)/%%" - if (room == room_water4) - global.msg[0] = "* (A feeling of dread hangs& over you...^1)&* (But you stay determined.)/%%" - if (room == room_water_savepoint1) - { - global.msg[0] = "* (Knowing the mouse might one& day extract the cheese from& the mystical crystal...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_preundyne) - { - global.msg[0] = "* (The sound of muffled rain& on the cavetop...)/" - if (global.flag[86] == 1) - global.msg[0] = "* (The serene sound of a& distant music box...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_trashzone2) - global.msg[0] = "* (The feeling of your socks& squishing as you step& gives you determination.)/%%" - if (room == room_water_trashsavepoint) - { - global.msg[0] = "* (The waterfall here seems& to flow from the& ceiling of the cavern...)/" - global.msg[1] = "* (Occasionally^1, a piece of& trash will flow& through...)/" - global.msg[2] = "* (... and fall into the& bottomless abyss below.)/" - global.msg[3] = "* (Viewing this endless& cycle of worthless& garbage...)/" - global.msg[4] = "* (It fills you with& determination.)/%%" - if (global.flag[91] == 1) - global.msg[0] = "* (Partaking in worthless& garbage fills you& with determination.)/%%" - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = "* (You feel a calming& tranquility^1. You're filled& with determination...)/%%" - if (room == room_water_temvillage) - global.msg[0] = "* (You feel..^1. something.)&* (You're filled with& detemmienation.)/%%" - if (room == room_water_undynefinal) - { - global.msg[0] = "* (The wind is howling^1.&* You're filled with& determination...)/%%" - if (global.flag[99] > 0) - global.msg[0] = "* (The howling wind is& now a breeze^1. This gives& you determination...)/%%" - if (global.flag[350] == 1) - global.msg[0] = "* (The wind has stopped^1.&* You're filled with& determination...)/%%" - } - if (room == room_fire_prelab) - { - global.msg[0] = "* (Seeing such a strange& laboratory in a place like& this...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire6) - global.msg[0] = "* (The wooshing sound of steam& and cogs..^1. it fills you& with determination.)/%%" - if (room == room_fire_savepoint1) - { - global.msg[0] = "* (An ominous structure looms& in the distance...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_mewmew2) - { - global.msg[0] = "* (Knowing the mouse might one& day hack the computerized& safe and get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_fire_hotelfront_1) - global.msg[0] = "* (A huge structure lies north.^1)&* (You're filled with& determination.)/%%" - if (room == room_fire_hotellobby) - global.msg[0] = "* (The relaxing atmosphere& of this hotel..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_branch) - global.msg[0] = "* (The air is filled with& the smell of ozone..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_premett) - { - global.msg[0] = "* (Behind this door must be& the elevator to the King's& castle.)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_savepoint2) - { - global.msg[0] = "* (The smell of cobwebs fills& the air...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& put away.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& tossed inside recklessly.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& placed thoughtfully inside.") - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& grabbed impatiently.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out and held like a& small puppy.") - global.msg[0] += "/%" - break - case 18: - global.msg[0] = "* You can't carry any more./%%" - break - case 19: - global.msg[0] = "* The box is full./%%" - break - case 23: - global.msg[0] = "* You leave the Quiche on the& ground and tell it you'll& be right back./%%" - break - case 30: - global.msg[0] = "* Use the box?& & Yes No \C " - global.msg[1] = " " - global.msg[2] = " " - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = " %%" - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = "* You have no items^1.&* You put a little time into& the box./%%" - if (gx == 1) - global.msg[0] = "* You have no items^1.&* You put a little effort& into the box./%%" - if (gx == 2) - global.msg[0] = "* You have no items^1.&* You put a little feeling& into the box./%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 200: - global.msg[0] = "\W* Howdy^2!&* I'm\Y FLOWEY\W.^2 &* \YFLOWEY\W the \YFLOWER\W!/" - global.msg[1] = "* Hmmm.../" - global.msg[2] = "* You're new to the& UNDERGROUND^2, aren'tcha?/" - global.msg[3] = "* Golly^1, you must be& so confused./" - global.msg[4] = "* Someone ought to teach& you how things work& around here!/" - global.msg[5] = "* I guess little old me& will have to do./" - global.msg[6] = "* Ready^2?&* Here we go!/%%" - break - case 201: - global.msg[0] = "\E2* This way./%%" - global.msg[1] = "%%%" - break - case 202: - global.msg[0] = "\E2* Welcome to your new& home^1, innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of the& RUINS./%%" - break - case 203: - global.msg[0] = "\E2* The RUINS are full of& puzzles./" - global.msg[1] = "* Ancient fusions between & diversions and doorkeys./" - global.msg[2] = "* One must solve them& to move from room to& room./" - global.msg[3] = "* Please adjust yourself to the sight of them./%" - break - case 204: - global.msg[0] = "\E2* To make progress here,^1 & you will need to trigger& several switches./" - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./%" - if (global.flag[6] == 1) - { - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./" - global.msg[2] = "* ... eh^1?&* It seems that the& labelling has worn away./" - global.msg[3] = "* Oh dear./" - global.msg[4] = "* This might be far more& challenging than I& anticipated.../%%" - } - break - case 205: - global.msg[0] = "\E2* The first switch is over& on the wall./%" - break - case 206: - global.msg[0] = "\E1* Do you need some help..^1?&* Press the switch on the wall./" - global.msg[1] = "\E0* Come on^1, you can do it!/%" - break - case 207: - global.msg[0] = "\E2* Go on^1, press the switch& on the left./%" - if (global.flag[6] == 1) - global.msg[0] = "\E2* I believe it was& the switch on the& left./%" - break - case 208: - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/" - global.msg[1] = "\E0* Press the switch that I& labelled for you./%" - if (global.flag[6] == 1) - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/%%" - break - case 209: - global.msg[0] = "\E1* You are very curious,^1 & are you not?/" - global.msg[1] = "\E1* Please understand.^2 & \E0I only want the best& for you./%" - break - case 210: - global.msg[0] = "\E0* Splendid!^2 &* I am proud of you,^1 & little one./" - global.msg[1] = "* Let us move to the& next room./%" - break - case 211: - global.msg[0] = "\E1* As a human living in& the UNDERGROUND,^1 & monsters may attack you./" - global.msg[1] = "\E2* You will need to be& prepared for this& situation./" - global.msg[2] = "\E0* However, worry not!^2 &* The process is simple./" - global.msg[3] = "\E2* When you encounter a & monster,^1 you will enter& a FIGHT./" - global.msg[4] = "* While you are in a& FIGHT^1, strike up a& friendly conversation./" - global.msg[5] = "\E2* Stall for time.& I will come to resolve& the conflict./" - global.msg[6] = "\E2* Practice talking to& the dummy./%" - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = "\E1* Ahh,^1 the dummies are& not for fighting!^2 &* They are for talking!/" - global.msg[1] = "* We do not want to hurt& anybody, do we...?^2 \E0 &* Come now./%" - } - if (global.flag[10] == 1) - global.msg[0] = "\E0* Ah,^1 very good!^2 &* You are very good./%" - if (global.flag[11] == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E1* ... you ran away.../" - global.msg[2] = "\E0* Truthfully^1, that was& not a poor choice./" - global.msg[3] = "\E0* It is better to& avoid conflict& whenever possible./" - global.msg[4] = "\E1* That..^1. however^1, is& only a dummy^2.&* It cannot harm you./" - global.msg[5] = "\E1* It is made of cotton^1.&* It has no desire& for revenge.../" - global.msg[6] = "\E0* Nevermind^2.&* Stay close to me and& I will keep you safe./%" - } - if (global.flag[13] == 1) - { - global.msg[0] = "\E3* ^1.^1.^1./" - global.msg[1] = "\E4* ^1.^1.^1./" - global.msg[2] = "\E0* The next room awaits./%" - } - break - case 213: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E2 &* I do not think the dummy& will be bothered./%" - break - case 214: - global.msg[0] = "\E0* Do you need some& ideas for conversation& topics?/" - global.msg[1] = "* Well^1, I often start with& a simple 'how do you& do...'/" - global.msg[2] = "* You could ask them about& their favorite books.../" - global.msg[3] = "* Jokes can be useful for& 'breaking the ice.'/" - global.msg[4] = "* Listen to this one.../" - global.msg[5] = "* What did the skeleton& tile his roof with?/" - global.msg[6] = "* ... SHIN-gles!/" - global.msg[7] = "\E1* .../" - global.msg[8] = "\E0* Well^1, I thought it& was amusing./%" - break - case 215: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E0 &* The dummy will not& be bothered./%" - break - case 216: - global.msg[0] = "\E1* There is another puzzle& in this room.../" - global.msg[1] = "\E0* I wonder if you can& solve it?/%" - break - case 217: - global.msg[0] = "\E1* This is the puzzle^1,& but.../" - global.msg[1] = "\E0* Here^1, take my hand& for a moment./%" - break - case 218: - global.msg[0] = "\E1* Puzzles seem a little& too dangerous for& now./%" - break - case 219: - global.msg[0] = ".../%" - break - case 220: - global.msg[0] = "\E2* Greetings,^1 my child^2.&* Do not worry^1, I did& not leave you./" - global.msg[1] = "\E0* I was merely behind this& pillar the whole time./" - global.msg[2] = "* Thank you for trusting& me./" - global.msg[3] = "\E2* However^1, there was an& important reason for& this exercise./" - global.msg[4] = "* ... to test your& independence./" - global.msg[5] = "\E1* I must attend to some& business^1, and you must& stay alone for a while./" - global.msg[6] = "\E0* Please remain here^2.&*\E1 It's dangerous to& explore by yourself./" - global.msg[7] = "\E0* I have an idea^2.&* I will give you a& CELL PHONE./" - global.msg[8] = "* If you have a need for& anything^1, just call./" - global.msg[9] = "\E1* Be good^1, alright?/%" - break - case 221: - global.msg[0] = "\E0* You have done& excellently thus& far^1, my child./" - global.msg[1] = "\E2* However... I have a& difficult request to ask& of you./" - global.msg[2] = "* .../" - global.msg[3] = "* I would like you to walk& to the end of the room& by yourself./" - global.msg[4] = "\E1* Forgive me for this./%" - break - case 222: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?& Cinnamon Bscotch \C" - global.msg[5] = " " - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ini_close() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - global.msg[0] = "* Oh^1, I see.&* Thank you very much!/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* Click.../%%" - global.msg[5] = "* /" - break - case 224: - global.msg[0] = "* It's a fishing rod affixed& to the ground.../" - global.msg[1] = "* Reel it in?& & Yes No \C " - global.msg[2] = " " - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = "* All that's attached to& the end is a photo of a& weird-looking monster.../" - global.msg[1] = "* (Call Me!& Here's my number!)/" - global.msg[2] = "* You decide not to call./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* All that's attached to& the end is a note./" - global.msg[1] = "* (Nevermind^1, guys!)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* You leave it alone./%%" - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = "* I shouldn't have given myself& away so easily.../%%" - if (global.flag[56] == 4) - { - global.msg[0] = "* Did you just...&* Consume the part of me& I had given you?/" - global.msg[1] = "* In front of my very eyes!?/" - global.msg[2] = "* I have no words for you..^1.&* Begone!/%%" - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = "* Thank you for taking care& of me.../%%" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = "* Huh^1? Again...?/" - global.msg[1] = "* I'm sorry..^1. if I give you& any more^1, there will be& nothing left of me./" - global.msg[2] = "* I suppose it is true^1.&* Travelling beyond our limits& is but a fantasy./" - global.msg[3] = "* It's no different for& anyone else./" - global.msg[4] = "* All of monsterkind& are doomed to stay& underground^1, forever.../%%" - } - } - if (global.flag[56] == 1) - { - global.msg[0] = "* How am I doing^1?&* By " + chr(34) + "I" + chr(34) + " I mean the piece& of me I gave you.../" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = "* Huh^1? You lost it...^1?&* ... I suppose I can give& you another piece.../" - scr_itemget(16) - if (noroom == 1) - global.msg[2] = "* You don't have any room^1?&* OK..^1. I understand I am not& a priority for you^1, then./%%" - else - { - global.msg[2] = "* Please be careful this& time./" - global.msg[3] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = "* Hello^1.&* I am a snowman./" - global.msg[1] = "* I want to see the world..^1.&* But I cannot move./" - global.msg[2] = "* If you would be so kind^1,& traveller^1, please.../" - global.msg[3] = "* Take a piece of me and& bring it very far away.& Yes No \C " - global.msg[4] = " " - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = "* It seems you do not& have enough room for me./%%" - else - { - global.msg[0] = "* Thank you... good luck!/" - global.msg[1] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* I see^1.&* Good journey^1, then./%%" - break - case 228: - global.msg[0] = "SANS!!^1!&THAT DIDN'T DO&ANYTHING!/" - if (global.flag[254] == 0) - global.msg[0] = "SANS!!^1!&THEY DIDN'T EVEN&LOOK AT IT!/" - scr_sansface(1, 0) - global.msg[2] = "* whoops./" - global.msg[3] = "* i knew i should have& used today's crossword& instead./" - scr_papface(4, 1) - global.msg[5] = "WHAT!^1?&CROSSWORD!?/" - global.msg[6] = "I CAN'T BELIEVE&YOU SAID THAT!!/" - global.msg[7] = "IN MY OPINION.../" - global.msg[8] = "\E3JUNIOR JUMBLE&IS EASILY THE&HARDEST./" - scr_sansface(9, 0) - global.msg[10] = "* what^1? really^1, dude^1?&* that easy-peasy word& scramble?/" - global.msg[11] = "\E1* that's for baby bones./" - scr_papface(12, 3) - global.msg[13] = "UN^1. BELIEVABLE./" - global.msg[14] = "\E0HUMAN!!^1!&SOLVE THIS DISPUTE!/" - global.msg[15] = "\TS \F0 \E0 \T0 %" - global.msg[16] = "* (Which is harder?)& & Jumble Crossword \C " - global.msg[17] = " " - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = "HA^1! HA^1! YES!/" - global.msg[2] = "HUMANS MUST BE&VERY INTELLIGENT!/" - global.msg[3] = "IF THEY ALSO FIND&JUNIOR JUMBLE&SO DIFFICULT!/" - global.msg[4] = "NYEH^1! HEH^1! HEH HEH!/%%" - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = "YOU TWO ARE WEIRD!/" - global.msg[2] = "\E3CROSSWORDS ARE SO&EASY./" - global.msg[3] = "IT'S THE SAME&SOLUTION EVERY&TIME./" - global.msg[4] = "\E0I JUST FILL ALL&THE BOXES IN WITH&THE LETTER " + chr(34) + "Z" + chr(34) + ".../" - global.msg[5] = "BECAUSE EVERY TIME&I LOOK AT A&CROSSWORD.../" - global.msg[6] = "ALL I CAN DO IS&SNORE!!!/" - global.msg[7] = "NYEH HEH HEH!!!/%%" - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here you go^1!&* Have a super-duper day^1!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1?&* You don't have enough& money.../" - global.msg[1] = "* I wish I could make& Nice Cream for free.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Out in the middle of& the woods.../%%" - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hey^1, you have an umbrella^1,& just like my cart.../" - global.msg[1] = "* Such solidarity^1!&* I have no choice but to& give you a deal!/" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Umbrella solidarity!^1?&* I guess I have to give& you a deal.../" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - } - if (itemcount > 2) - { - global.msg[0] = "* Hey^1!&* You have 3 Punch Cards!/" - global.msg[1] = "* How about redeeming them& for some Nice Cream!?/" - global.msg[2] = "* It's free!& & Yes No \C" - global.msg[3] = " " - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Super^1! Here you go^1!&* Your Card's in the box!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1? No money^1?&* Sorry^1, I can't give it to& you for free./%%" - if (global.flag[85] == 1) - global.msg[0] = "* Huh^1? You can't afford it& even with the discount^1?&* I.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = "* Here^1! A free Nice Cream^1!&* (You lost 3 cards and got& a Nice Cream.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Hidden in the depths of a& watery cavern.../%%" - } - break - case 235: - global.msg[0] = "* i've been thinking& about selling treats& too./" - global.msg[1] = "* want some fried snow^1?&* it's just 5G.& Buy No\C" - global.msg[2] = " " - break - case 236: - if (global.choice == 0) - { - global.msg[0] = "* did i say 5G^1?&* i meant 50G^1.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* i should charge way& more than than that./%%" - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = "* really^1?&* how about 5000G?& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* that's still too low./%%" - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = "* 50000G^1.&* that's my final offer.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* i have to pay for& the raw materials& somehow./%%" - break - case 239: - if (global.choice == 0) - { - global.msg[0] = "* what^1?&* you don't have the& money?/" - global.msg[1] = "* hey^1, that's okay./" - global.msg[2] = "\E1* i don't have any snow./%%" - if (global.gold >= 50000) - { - global.msg[0] = "* wow^1, that's a lot& of cash./" - global.msg[1] = "\E3* that's why i'm sorry& to say.../" - global.msg[2] = "\E3* i can't sell you& this fried snow./" - global.msg[3] = "\E2* it's got too much& sentimental value./%%" - } - } - if (global.choice == 1) - global.msg[0] = "* don't you know a& good deal when you& hear one?/%%" - break - case 240: - global.msg[0] = "WHAT!^1?&HOW DID YOU&AVOID MY TRAP?/" - global.msg[1] = "\E3AND^1, MORE&IMPORTANTLY.../" - global.msg[2] = "\E0IS THERE ANY&LEFT FOR ME???/" - global.msg[3] = "\TS \F0 \E0 \T0 %" - global.msg[4] = "* (What do you tell Papyrus& about his spaghetti?)& Ate it Left it \C " - global.msg[5] = " " - break - case 241: - scr_papface(0, 0) - global.msg[1] = "REALLY!?/" - if (global.choice == 0) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "NO ONE'S EVER&ENJOYED MY&COOKING BEFORE.../" - global.msg[4] = "\E0WELL THEN!!/" - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "YOU RESISTED THE&FLAVOR OF MY&HOMECOOKED PASTA.../" - global.msg[4] = "JUST SO YOU&COULD SHARE&IT WITH ME???/" - global.flag[62] = 2 - } - global.msg[5] = "\E0FRET NOT HUMAN^1!&I^1, MASTER CHEF&PAPYRUS.../" - global.msg[6] = "WILL MAKE YOU ALL&THE PASTA YOU&COULD EVER WANT!/" - global.msg[7] = "HEH HEH HEH HEH&HEH HEH NYEH!/%%" - break - case 243: - global.msg[0] = "HEY!/" - global.msg[1] = "IT'S THE HUMAN!/" - global.msg[2] = "\E0YOU'RE GONNA&LOVE THIS&PUZZLE!/" - global.msg[3] = "IT WAS MADE&BY THE GREAT&DR. ALPHYS!/" - global.msg[4] = "YOU SEE&THESE TILES&!?/" - global.msg[5] = "ONCE I THROW&THIS SWITCH.../" - global.msg[6] = "THEY WILL&BEGIN TO&CHANGE COLOR!/" - global.msg[7] = "EACH COLOR HAS&A DIFFERENT&FUNCTION!/" - global.msg[8] = "RED TILES ARE&IMPASSABLE!/" - global.msg[9] = "YOU CANNOT&WALK ON THEM!/" - global.msg[10] = "YELLOW TILES&ARE ELECTRIC!/" - global.msg[11] = "THEY WILL&ELECTROCUTE&YOU!/" - global.msg[12] = "GREEN TILES&ARE ALARM&TILES!/" - global.msg[13] = "IF YOU STEP&ON THEM.../" - global.msg[14] = "YOU WILL HAVE&TO FIGHT A&MONSTER!!/" - global.msg[15] = "ORANGE TILES&ARE ORANGE-&SCENTED./" - global.msg[16] = "THEY WILL MAKE&YOU SMELL&DELICIOUS!/" - global.msg[17] = "BLUE TILES ARE&WATER TILES./" - global.msg[18] = "SWIM THROUGH&IF YOU LIKE^1,&BUT.../" - global.msg[19] = "IF YOU SMELL&LIKE ORANGES!/" - global.msg[20] = "THE PIRANHAS&WILL BITE&YOU./" - global.msg[21] = "ALSO^1, IF A&BLUE TILE IS&NEXT TO A,/" - global.msg[22] = "YELLOW TILE^1,&THE WATER WILL&ALSO ZAP YOU!/" - global.msg[23] = "PURPLE TILES&ARE SLIPPERY!/" - global.msg[24] = "YOU WILL SLIDE&TO THE NEXT&TILE!/" - global.msg[25] = "HOWEVER^1, THE&SLIPPERY&SOAP.../" - global.msg[26] = "SMELLS LIKE&LEMONS!!/" - global.msg[27] = "WHICH PIRANHAS&DO NOT LIKE!/" - global.msg[28] = "PURPLE AND&BLUE ARE OK!/" - global.msg[29] = "FINALLY^1,&PINK TILES./" - global.msg[30] = "THEY DON'T DO&ANYTHING./" - global.msg[31] = "STEP ON THEM&ALL YOU LIKE./" - global.msg[32] = "HOW WAS THAT!^1?&UNDERSTAND???/" - global.msg[33] = "\TS \F0 \E0 \T0 %" - global.msg[34] = "* (Understand the explanation?)& & Of course No \C " - global.msg[35] = " " - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "OKAY..^1.&I GUESS I'LL&REPEAT MYSELF.../" - global.msg[2] = "\E0RED TILES ARE&IMPASSABLE./" - global.msg[3] = "YELLOW TILES ARE&ELECTRIC AND&DANGEROUS./" - global.msg[4] = "BLUE TILES MAKE&YOU FIGHT A&MONSTER./" - global.msg[5] = "GREEN TILES ARE&WATER TILES./" - global.msg[6] = "ORANGE TILES ARE&ORANGE SCENTED./" - global.msg[7] = "IF YOU STEP ON&ORANGE^1, DON'T STEP&ON GREEN./" - global.msg[8] = "\E3BROWN TILES ARE.../" - global.msg[9] = "\E1WAIT!!^1!&THERE ARE NO&BROWN TILES.../" - global.msg[10] = "\E0PURPLE TILES&SMELL LIKE&LEMONS.../" - global.msg[11] = "\E3WHY DON'T THE&YELLOW ONES&SMELL LEMONY?/" - global.msg[12] = "\E3UMM.../" - global.msg[13] = "\E1WAIT!^1!&DID I MIX UP&GREEN AND BLUE!?/" - global.msg[14] = "THE BLUE ONES&ARE WATER ONES!/" - global.msg[15] = "\E3PINK TILES.../" - global.msg[16] = "I DON'T..^1.&REMEMBER???/" - global.msg[17] = "\E1WAIT!!!/" - global.msg[18] = "\E3THOSE ONES DON'T&DO ANYTHING./" - global.msg[19] = "\E0OKAY^1!&DO YOU UNDERSTAND&BETTER NOW!?/" - global.msg[20] = "\TS \F0 \E0 \T0 %" - global.msg[21] = "* (Understand the explanation?)& & Yes Even less \C " - global.msg[22] = " " - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "........../" - global.msg[2] = "OK^1, YOU KNOW&WHAT???/" - global.msg[3] = "HOW ABOUT..^1.&YOU JUST.../" - global.msg[4] = "DO THIS PUZZLE..^1.&ON YOUR OWN.../" - global.msg[5] = "I'LL LEAVE THE&INSTRUCTIONS.../" - global.msg[6] = "JUST READ THEM./" - global.msg[7] = "THEN WHEN YOU&UNDERSTAND IT.../" - global.msg[8] = "YOU CAN THROW&THE SWITCH./" - global.msg[9] = "AND DO IT AT&YOUR OWN PACE./" - global.msg[10] = "GOOD LUCK./" - global.msg[11] = "NYEH..^1.&HEH..^1.&HEH!/%%" - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = "* (There's a lone quiche& sitting underneath& this bench.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* It's just a bench./%%" - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Abandoned& Quiche.)/%%" - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = "* (You're carrying too much.)/" - global.msg[1] = "* (You aren't ready for the& responsibility.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* (The quiche was left all& alone...)/%%" - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = "* (There's a tutu lying on& the ground here.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Old Tutu.)/%%" - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = (("* (The box contains " + card) + " cards.)/") - if (global.flag[80] > 2) - global.msg[0] = (("* (Two bugs in the box are& playing a " + card) + "-card game.)/") - if (global.flag[80] > 4) - global.msg[0] = (("* (There's a smiley face made& of " + card) + " cards in the box.)/") - if (global.flag[80] > 6) - global.msg[0] = (("* (A house made of " + card) + " cards& sits in the box.)/") - if (global.flag[80] > 12) - global.msg[0] = "* (The box is overstuffed with& cards.)/" - global.msg[1] = "* (Take a card?)& & Take Leave \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's a box for storing Punch& Cards^1.)&* (It's empty right now.)/%%" - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = "* (You got a Punch Card.)/%%" - if (global.flag[80] > 2) - global.msg[0] = "* (All games must end one day.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 4) - global.msg[0] = "* (Happiness is fleeting.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 6) - global.msg[0] = "* (The house collapses.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 12) - global.msg[0] = "* (You got a Punch Card.)/%%" - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = "* (It's a pair of ballet shoes.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Ballet Shoes.)/%%" - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 254: - global.msg[0] = "* (This little bird wants to& carry you across.)/" - global.msg[1] = "* (Accept the bird's offer?)& & Get ride No \C " - global.msg[2] = " " - if (global.flag[85] == 1) - global.msg[0] = "* (Umbrellas and birds...^1)&* (A bad combination.)/%%" - break - case 255: - global.msg[0] = " %%" - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = "* (It's a legendary artifact.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The artifact is gone.)/%%" - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = "* (This will never happen.)/%%" - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - if (noroom == 2) - global.msg[0] = "* (You're carrying too many& dogs.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/" - global.msg[1] = "* (Take a package of noodles?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/%%" - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Instant Noodles.)/%%" - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* (You decide to stay healthy.)/%%" - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = "* (There's a frypan lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Burnt Pan.)/%%" - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = "* (There's an apron lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Stained Apron.)/%%" - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = "* (There's a Glamburger inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Glamburger.)/%%" - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = "* (There's 100G inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = "* (You got 100G.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = "* (There's a worn dagger& inside the box.)/" - else - global.msg[0] = "* (Knife inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Worn Dagger.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got the Real Knife.)/%%" - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = "* (There's a heart-shaped& locket inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Heart-shaped& Locket.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got The Locket.)/%%" - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 272: - global.msg[0] = "* (The box is empty.)/%%" - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = "* Hello...&* Would you like some& Nice Cream...?/" - global.msg[1] = "* It's the frozen treat...&* That warms your heart./" - global.msg[2] = "* Now only 12G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[250] >= 1) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1.&* It's the frozen treat^1.&* That warms your heart./" - global.msg[2] = "* Now just 12G.& & Yes No \C" - global.msg[3] = " " - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here^1.&* (You got the Nice Cream.)/%%" - if (afford == 0) - global.msg[0] = "* You don't have enough& money.../%%" - } - if (noroom == 1) - global.msg[0] = "* Drop something./%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* Life..^1. is suffering./%%" - } - break - case 500: - global.msg[0] = "* (Golden flowers.^1)&* (They must have& broken your fall.)/%%" - global.msg[1] = "%%%" - break - case 501: - global.msg[0] = "* " + chr(34) + "Press [Z] to read signs!" + chr(34) + "/%%" - break - case 502: - global.msg[0] = "* Just a regular old pillar./%%" - break - case 503: - global.msg[0] = "* Please don't step on the& leaves./%%" - break - case 504: - global.msg[0] = "* Didn't you read the sign& downstairs?/%%" - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* WHOA there^1, pardner^2!&* Who said you could push& me around?/" - global.msg[1] = "* HMM^2?&* So you're ASKIN' me to& move over?/" - global.msg[2] = "* Okay^1, just for you^1,& pumpkin./%%" - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You want me to move some& more?/" - global.msg[1] = "* Alrighty^1, how's this?/%%" - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* That was the wrong direction?/" - global.msg[1] = "* Okay^1, think I got it./%%" - } - if (conversation == 9) - global.msg[0] = "* Was that helpful?/%%" - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You wanted me to STAY there?/" - global.msg[1] = "* You're giving me a real& workout./%%" - } - } - else - { - global.msg[0] = "* Aren't things easier when& you just ask?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* The exit's open^1?&* Guess I better roll out.../" - global.msg[1] = "* Hey^1, y'mind giving me a& push^1, pumpkin?/%%" - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = "*'Take one.'&* Take a candy?& Yes No \C" - if (global.flag[34] == 0) - global.msg[0] = "* It says 'take one.'&* Take a piece of candy?& Yes No \C" - } - else - global.msg[0] = "* Look at what you've done./%%" - global.msg[1] = " " - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = "* You took a piece of candy.&* (Press [C] to open the menu.)/%%" - if (global.flag[34] == 2) - global.msg[0] = "* You took more candy^1.&* How disgusting../%%" - if (global.flag[34] == 3) - global.msg[0] = "* You take another piece.&* You feel like the& scum of the earth.../%%" - if (global.flag[34] == 4) - global.msg[0] = "* You took too much too fast.&* The candy spills onto& the floor./%%" - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = "* In this hellish world^1, you& can only take 3 pieces& of candy.../%%" - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - } - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 510: - global.msg[0] = "* zzzzzzzzzzzzzzz..^1.&* zzzzzzzzzzzzzz.../" - global.msg[1] = "* zzzzzzzzzz..^1.&* (are they gone yet^1)&* zzzzzzzzzzzzzzz.../" - global.msg[2] = "* (This ghost keeps saying 'z'& out loud repeatedly^1,& pretending to sleep.)/" - global.msg[3] = "* Move it with force?& & Yes No \C" - global.msg[4] = " " - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = "* It says 'Take them all.'&* Take a candy?& Yes No \C" - global.msg[1] = " " - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = "* You took a piece.&* Boy^1, that's heavy./%%" - if (haveit == 1) - global.msg[0] = "* You can't carry more.&* It's just too heavy./%%" - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 7G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 18G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = "* You found a Faded Ribbon./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = "* Nothing happened./%%" - if (global.choice == 1) - global.msg[0] = "%%" - if (global.flag[43] > 25) - global.msg[0] = "* You're making the switches& uncomfortable with all& this attention./%%" - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = "* You hear a clicking sound./%%" - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = "* You found the Toy Knife./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = "* It's TORIEL's diary.&* Read the circled passage?& Yes No \C" - global.msg[1] = " " - break - case 525: - if (global.choice == 0) - { - global.msg[0] = "* You read the passage.../" - global.msg[1] = "* " + chr(34) + "Why did the skeleton want& a friend?" + chr(34) + "/" - global.msg[2] = "* " + chr(34) + "Because she was feeling& BONELY..." + chr(34) + "/" - global.msg[3] = "* The rest of the page is& filled with jokes of& a similar caliber./%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& butterscotch-cinnamon& pie./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& snail pie.../%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - break - case 527: - global.msg[0] = "* Hello there^1,& little one!/" - global.msg[1] = "* The pie has not& cooled down yet./" - global.msg[2] = "* Perhaps you should& take a nap.& Yes No \C " - global.msg[3] = " " - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = "* Sweet dreams./%%" - else - { - global.msg[0] = "\E1* You'd rather stay& up and chat with& me^1, then?/" - if (global.flag[103] > 0) - global.msg[0] = "* Up already^1, I see?/" - global.msg[1] = "\E0* Um^1, I want you to know& how glad I am to& have someone here./" - global.msg[2] = "* There are so many& old books I want& to share./" - global.msg[3] = "* I want to show you& my favorite bug-& hunting spot./" - global.msg[4] = "* I've also prepared& a curriculum for& your education./" - global.msg[5] = "* This may come as& a surprise to you.../" - global.msg[6] = "* But I have always& wanted to be a& teacher./" - global.msg[7] = "\E1* ... actually^1, perhaps& that isn't very& surprising./" - global.msg[8] = "\E5* STILL./" - global.msg[9] = "\E0* I am glad to have& you living here./" - global.msg[10] = "\E1* Oh^1, did you& want something?/" - global.msg[11] = "* What is it?& When can& Nothing I go home?\C " - global.msg[12] = " " - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = "* Well^1, talk to me& again if you& need anything./%%" - else - { - global.msg[0] = "\E1* What^1?&* This..^1. this IS your& home now./" - global.msg[1] = "* Um..^1. would you like& to hear about this& book I am reading?/" - if (global.choice == -1) - { - global.msg[0] = "\E0* Oh^1, hello!/" - global.msg[1] = "* Did you want to& hear about the& book I am reading?/" - } - global.msg[2] = "\E0* It is called& " + chr(34) + "72 Uses for Snails." + chr(34) + "/" - global.msg[3] = "* How about it?& How to exit& Sure the RUINS\C " - global.msg[4] = " " - } - break - case 530: - global.plot = 19.3 - global.msg[0] = "* Here is an exciting& snail fact./" - if (global.choice == 1) - global.msg[0] = "\E1* Um^1.^1.^1.&*\E0 How about an exciting& snail fact?/" - global.msg[1] = "\E2* Did you know& that snails.../" - r = round(random(3)) - if (r == 0) - global.msg[2] = "\E0* Have a chainsaw-like& tongue called a& radula?/" - if (r == 1) - global.msg[2] = "\E0* Sometimes flip their& digestive systems& as they mature?/" - if (r == 2) - global.msg[2] = "\E0* Make terrible& shoelaces?/" - if (r == 3) - global.msg[2] = "\E0* Talk^2. Really^2. Slowly^2?&* Just kidding^1, snails& don't talk./" - global.msg[3] = "\E0* Interesting.& How to exit& Yeah the RUINS\C " - global.msg[4] = " " - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = "* Well^1, bother me& if you need anything& else./%%" - else - { - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something^1.&* Stay here./%%" - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = "\E0* What is it?& How to exit& Nothing the RUINS\C " - } - global.msg[1] = " " - break - case 532: - if (global.choice == 0) - global.msg[0] = "* If you need anything^1,& just ask./%%" - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something.&* Stay here./%%." - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = " " - break - case 540: - global.msg[0] = "\E2NYOO HOO HOO.../" - global.msg[1] = "I CAN'T EVEN&STOP SOMEONE AS&WEAK AS YOU.../" - global.msg[2] = "UNDYNE'S GOING TO&BE DISAPPOINTED&IN ME./" - global.msg[3] = "I'LL NEVER JOIN THE&ROYAL GUARD..^1.&AND.../" - global.msg[4] = "MY FRIEND QUANTITY&WILL REMAIN&STAGNANT!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (What should you say?)& Let's be What a& friends loser\C" - global.msg[7] = " " - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = "\E0WOWIE!^1!&YOU DID IT!!!/" - global.msg[1] = "YOU DIDN'T DO A&VIOLENCE!!!/" - global.msg[2] = "\E5TO BE HONEST^1,&I WAS A LITTLE&AFRAID.../" - global.msg[3] = "\E0BUT YOU'RE ALREADY&BECOMING A GREAT&PERSON!/" - global.msg[4] = "\E7I'M SO PROUD I&COULD CRY!!!/" - global.msg[5] = "\E3... WAIT^1, WASN'T I&SUPPOSED TO&CAPTURE YOU...?/" - global.msg[6] = "\E0WELL^1, FORGET IT!/" - global.msg[7] = "I JUST WANT YOU&TO BE THE BEST&PERSON YOU CAN BE./" - global.msg[8] = "SO LET'S LET&BYBONES BE&BYBONES./" - global.msg[9] = "I'LL EVEN TELL YOU&HOW TO LEAVE THE&UNDERGROUND!/" - global.msg[10] = "JUST KEEP GOING&EAST!/" - global.msg[11] = "EVENTUALLY YOU'LL&REACH THE KING'S&CASTLE./" - global.msg[12] = "THEN YOU CAN&LEAVE!/%%" - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "REALLY!^1?&YOU WANT TO BE&FRIENDS^1, WITH ME???/" - global.msg[2] = "WELL THEN.../" - global.msg[3] = "\E0I GUESS..^1./" - global.msg[4] = "I GUESS&I CAN MAKE AN&ALLOWANCE FOR YOU!/" - global.msg[5] = " %" - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "HUH^1?&WHY WOULD YOU.../" - global.msg[2] = "BERATE YOURSELF&SO LOUDLY???/" - global.msg[3] = "IS IT BECAUSE.../" - global.msg[4] = "\E3YOU DON'T THINK&YOU'RE GOOD ENOUGH&TO BE MY FRIEND?/" - global.msg[5] = "\E0NO!!^1!&YOU'RE GREAT!!^1!&I'LL BE YOUR FRIEND!/" - } - if (global.flag[66] == 1) - { - global.msg[6] = "WOWIE!^1!&WE HAVEN'T EVEN HAD&OUR FIRST DATE.../" - global.msg[7] = "AND I'VE ALREADY&MANAGED TO HIT&THE FRIEND ZONE!!!/" - global.msg[8] = "WHO KNEW THAT&ALL I NEEDED TO&MAKE PALS.../" - } - else - { - global.msg[6] = "WOW!!!/" - global.msg[7] = "I HAVE FRIENDS!!!/" - global.msg[8] = "AND WHO KNEW THAT&ALL I NEEDED TO&MAKE THEM.../" - } - global.msg[9] = "WAS TO GIVE PEOPLE&AWFUL PUZZLES AND&THEN FIGHT THEM??/" - global.msg[10] = "YOU TAUGHT ME A&LOT^1, HUMAN./" - global.msg[11] = "I HEREBY GRANT&YOU PERMISSION&TO PASS THROUGH!/" - global.msg[12] = "AND I'LL GIVE&YOU DIRECTIONS&TO THE SURFACE./" - global.msg[13] = "CONTINUE FORWARD&UNTIL YOU REACH THE&END OF THE CAVERN./" - global.msg[14] = "\WTHEN..^1. WHEN YOU&REACH THE CAPITAL^1,&CROSS \YTHE BARRIER\W./" - global.msg[15] = "THAT'S THE MAGICAL&SEAL TRAPPING US&ALL UNDERGROUND./" - global.msg[16] = "ANYTHING CAN ENTER&THROUGH IT^1, BUT&NOTHING CAN EXIT.../" - global.msg[17] = "... EXCEPT SOMEONE&WITH A POWERFUL&SOUL./" - global.msg[18] = "... LIKE YOU!!!/" - global.msg[19] = "THAT'S WHY THE&KING WANTS TO&ACQUIRE A HUMAN./" - global.msg[20] = "HE WANTS TO OPEN&THE BARRIER WITH&SOUL POWER./" - global.msg[21] = "THEN US MONSTERS&CAN RETURN TO&THE SURFACE!/%%" - break - case 544: - global.msg[0] = "YOU'RE BACK AGAIN?!?!/" - global.msg[1] = "I FINALLY REALIZE&THE TRUE REASON WHY./" - global.msg[2] = "YOU.../" - global.msg[3] = "JUST MISS SEEING MY&FACE SO MUCH.../" - global.msg[4] = "I'M NOT SURE I&CAN FIGHT SOMEONE&WHO FEELS THIS WAY./" - global.msg[5] = "BUT MOSTLY..^1. I'M GETTING&REALLY TIRED OF&CAPTURING YOU!/" - global.msg[6] = "SO..^1.&WHAT DO YOU SAY?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* (Fight Papyrus?)& & Yes No\C" - global.msg[8] = " " - break - case 545: - global.msg[0] = "\TP %" - if (global.choice == 0) - { - global.msg[1] = "OKAY.../" - global.msg[2] = "I GUESS./" - global.msg[3] = "IF YOU WANT ME TO&CAPTURE YOU./" - global.msg[4] = "I'LL TRY AGAIN!!!/%%" - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = "... OKAY.../" - global.msg[2] = "I GUESS I'LL ACCEPT&MY FAILURE.../%%" - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = "* Welcome to Snowed Inn^1!&* Snowdin's premier hotel!/" - global.msg[1] = "* One night is 80G.& & Stay Leave\C" - if (global.flag[72] == 2) - { - global.msg[0] = "* Back again^1?&* Well^1, stay as long as you& like./" - global.msg[1] = "* How about it?& & Stay Leave\C" - } - global.msg[2] = " " - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = "* What^1?&* No^1, you can't get a& second key!" - if (global.flag[7] == 1) - { - global.msg[0] = "* Hello^1!&* Sorry^1, no time for a& nap.../" - global.msg[1] = "* Snowed Inn is shutting& down so we can all go& to the surface./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Oh^1, there you are^1.&* I was worrying about& you!/" - global.msg[1] = "* Things are going to be OK^1,& you hear?/" - global.msg[2] = "* We're all going to the& surface world soon.../" - global.msg[3] = "* There's bound to be a& place you can stay there!/%%" - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = "Error./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = "* ... You don't even have 80G?/" - global.msg[1] = "* Oh^1! You poor thing^1.&* I can only imagine what& you've been through./" - global.msg[2] = "* One of the rooms upstairs& is empty^1./" - global.msg[3] = "* You can sleep there for& free^1, okay?/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = "* You aren't carrying enough& money./%%" - } - else - global.msg[0] = "* Well^1, feel free to come& back any time./%%" - break - case 549: - global.msg[0] = "* (Look through the telescope?)& & Yes No\C" - global.msg[1] = " " - break - case 550: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = "* i'm thinking about& getting into the& telescope business./" - global.msg[1] = "* it's normally 50000G& to use this premium& telescope.../" - global.msg[2] = "* but..^1.&*\E1 since i know you^1,& you can use it for free./" - global.msg[3] = "\E2* howzabout it?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Use the telescope?)& & Yes No\C" - } - else - { - global.msg[0] = "* huh^1?&* you aren't satisfied?/" - global.msg[1] = "\E1* don't worry./" - global.msg[2] = "\E2* i'll give you a& full refund./%%" - } - global.msg[6] = " " - break - case 552: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = "* well^1, come back& whenever you want./%%" - } - break - case 553: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - global.flag[75] = global.armor - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "\E3HOW DID I GET THIS&NUMBER...?/" - global.msg[4] = "\E0IT WAS EASY!!!/" - global.msg[5] = "\E0I JUST DIALED EVERYNUMBER SEQUENTIALLYUNTIL I GOT YOURS!!!/" - global.msg[6] = "NYEH HEH HEH HEH!!/" - global.msg[7] = "\E2SO..^1.&WHAT ARE YOU&WEARING...?/" - global.msg[8] = "\E3I'M..^1.&ASKING FOR A&FRIEND./" - global.msg[9] = (("\E0SHE THOUGHT SHE&SAW YOU WEARING A&" + armor) + "./") - global.msg[10] = (("\E3IS THAT TRUE^1?&ARE YOU WEARING A&" + armor) + "?/") - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* (What will you say?)& & Yes No\C" - global.msg[13] = " " - break - case 554: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = (("SO YOU ARE WEARING&A " + armor) + ".../") - global.msg[2] = "GOT IT!!^1!&WINK WINK!!!/" - global.msg[3] = "HAVE A NICE DAY!/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - } - else - { - global.flag[76] = 1 - global.msg[1] = (("SO YOU AREN'T&WEARING A&" + armor) + ".../") - global.msg[2] = "GOT IT!/" - global.msg[3] = "YOU'RE MY FRIEND^1,&SO I TRUST YOU&100-PERCENT./" - global.msg[4] = "HAVE A NICE DAY!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - break - case 556: - global.msg[0] = "* (There's an empty pie tin& inside the stove.)/%%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "\E0MY BROTHER ALWAYS&GOES OUT TO EAT^1.&BUT.../" - global.msg[2] = "\E3RECENTLY^1, HE TRIED&'BAKING' SOMETHING./" - global.msg[3] = "IT WAS LIKE..^1.&A QUICHE./" - global.msg[4] = "BUT FILLED WITH A&SUGARY^1, NON-EGG&SUBSTANCE./" - global.msg[5] = "\E0HOW ABSURD!/%%" - } - break - case 557: - global.msg[0] = "* (It's a joke book.)/" - global.msg[1] = "* (Take a look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 558: - if (global.choice == 0) - { - global.msg[0] = "* (Inside the joke book was& a quantum physics book.)/" - global.msg[1] = "* (You look inside...)/" - global.msg[2] = "* (Inside the quantum physics& book was another joke& book.)/" - global.msg[3] = "* (You look inside...)/" - global.msg[4] = "* (There's another quantum& physics book...)/" - global.msg[5] = "* (You decide to stop.)/%%" - } - else - global.msg[0] = " %%" - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THAT'S MY ROOM^1!/" - global.msg[2] = "IF YOU'VE&FINISHED LOOKING&AROUND.../" - global.msg[3] = "WE COULD GO IN&AND.../" - global.msg[4] = "" + chr(34) + "HANG-OUT" + chr(34) + " LIKE&A PAIR OF VERY&COOL FRIENDS?/" - if (global.flag[66] == 1) - global.msg[4] = "\E3DO WHATEVER&PEOPLE DO WHEN&THEY DATE???/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Go inside?)& & Yes No\C" - global.msg[7] = " %" - } - else - { - global.msg[0] = "* (It's the door to& Papyrus's room.)/" - global.msg[1] = "* (It's covered in many& labels...)/" - global.msg[2] = "\TP %" - global.msg[3] = "* (NO GIRLS ALLOWED!)/" - global.msg[4] = "* (NO BOYS ALLOWED!)/" - global.msg[5] = "* (PAPYRUS ALLOWED.)/%%" - } - break - case 560: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THERE ARE NO&SKELETONS INSIDE&MY CLOSET!!!/" - global.msg[2] = "\E3EXCEPT ME&SOMETIMES./" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Look in the closet?)& & Yes No\C" - global.msg[5] = " " - } - else - { - global.msg[0] = "* (Look in the closet?)& & Yes No\C" - global.msg[1] = " " - } - break - case 562: - if (global.choice == 0) - global.msg[0] = "* (Clothes are hung up& neatly inside.)/%%" - else - { - global.msg[0] = " %%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "IT'S OK TO BE&INTIMIDATED BY&MY FASHION SENSE./%%" - } - } - break - case 563: - global.msg[0] = "\E3SO^1, UM.../" - global.msg[1] = "\E3IF YOU'VE SEEN&EVERYTHING.../" - global.msg[2] = "\E2DO YOU WANT TO&START HANGING OUT?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the hangouts?)& & Yes No\C" - global.msg[5] = " " - if (global.flag[66] == 1) - { - global.msg[2] = "\E2DO YOU WANT TO&START THE DATE?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the date?)& & Yes No\C" - global.msg[5] = " " - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = "\E0OKAY!!^1!&DATING START!!!/%%" - if (global.flag[66] == 0) - global.msg[1] = "\E0OKAY!!^1!&LET'S HANG TEN!!/%%" - } - else - { - scr_papface(0, 2) - global.msg[1] = "\E2TAKE YOUR TIME..^1.&I'LL WAIT FOR&YOU./%%" - } - break - case 565: - global.msg[0] = "* (This mailbox is labelled& " + chr(34) + "PAPYRUS" + chr(34) + ".)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 566: - if (global.choice == 0) - global.msg[0] = "* (It's empty.)/%%" - else - global.msg[0] = "* (You realize that would& probably be illegal.)/%%" - break - case 567: - global.msg[0] = "* what^1?&* haven't you seen a guy& with two jobs before?/" - global.msg[1] = "\E1* fortunately^1, two jobs& means twice as many& legally-required breaks./" - global.msg[2] = "\E0* i'm going to grillby's.&* wanna come?& Yeah I'm busy \C" - global.msg[3] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - if (scr_murderlv() >= 7) - { - global.msg[0] = "\E2* hey^1, looks like you're& really turning yourself& around./" - global.msg[1] = "\E0* how about i treat you& to lunch at grillby's?/" - global.msg[2] = "\E1* ... when everyone you& scared away comes& back^1, i mean./%%" - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = "* well^1, if you insist..^1.&* i'll pry myself away& from my work.../%%" - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* OK^1. have fun./%%" - break - case 570: - global.msg[0] = "\E1* whoops^1, watch where& you sit down./" - global.msg[1] = "* sometimes weirdos put& whoopee cushions on& the seats./" - global.msg[2] = "\E0* anyway^1, let's order./" - global.msg[3] = "* whaddya want...?& & Fries Burger\C" - global.msg[4] = " " - break - case 571: - global.msg[0] = "* ok^1, coming right up./%%" - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& fries./%%" - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& burg./%%" - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = "* so^1, what do you& think.../" - global.msg[1] = "* of my brother?& & Cool Uncool\C" - global.msg[2] = " " - break - case 573: - if (global.choice == 0) - { - global.msg[0] = "* of course he's cool./" - global.msg[1] = "\E1* you'd be cool too& if you wore that& outfit every day./" - global.msg[2] = "\E0* he'd only take that& thing off if he& absolutely had to./" - global.msg[3] = "* oh well^1.&* at least he washes& it./" - global.msg[4] = "\E1* and by that i mean& he wears it in& the shower./%%" - } - else - { - global.msg[0] = "* hey^1, pal./" - global.msg[1] = "\E1* sarcasm isn't funny^1,& okay?/" - global.msg[2] = "\E0* my brother's a real& star./" - global.msg[3] = "* he's the person who& pushed me to get& this sentry job./" - global.msg[4] = "* maybe it's a little& strange^1, but& sometimes.../" - global.msg[5] = "* ... it's nice to have& someone call you out& on being lazy./" - global.msg[6] = "\E1* even though nothing& could be further& from the truth./%%" - } - break - case 574: - global.msg[0] = "* here comes the grub./" - global.msg[1] = "* want some ketchup^1?& & Yes No \C" - global.msg[2] = " " - break - case 575: - if (global.choice == 0) - global.msg[0] = "\E2* bone appetit./%%" - else - { - global.msg[0] = "\E2* more for me./%%" - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = "\W* have you ever heard& of a \Ytalking flower\W?& Yes No \C" - global.msg[1] = " " - break - case 577: - if (global.choice == 0) - global.msg[0] = "\E1* so you know all& about it./" - if (global.choice == 1) - global.msg[0] = "\E1* i'll tell you^1, then./" - global.msg[1] = "\W*\E0 the \Becho flower\W./" - global.msg[2] = "* they're all over the& marsh./" - global.msg[3] = "* say something to them^1,& and they'll repeat it& over and over.../" - global.msg[4] = "* what about it?/" - global.msg[5] = "* well^1, papyrus told& me something interesting& the other day./" - global.msg[6] = "* sometimes^1, when no& one else is around.../" - global.msg[7] = "* a flower appears and& whispers things to& him./" - global.msg[8] = "* flattery..^1.&* advice..^1.&* encouragement.../" - global.msg[9] = "* ... predictions./" - global.msg[10] = "* weird^1, huh?/" - global.msg[11] = "* someone must be using& an echo flower to& play a trick on him./" - global.msg[12] = "* keep an eye out^1, ok?/" - global.msg[13] = "* thanks./%%" - break - case 578: - global.msg[0] = "\E1* oh^1, by the way.../" - global.msg[1] = "\E0* i'm flat broke^1.&* can you foot the& bill?/" - global.msg[2] = "* it's just 10000G.& & Yes No \C" - global.msg[3] = " " - break - case 579: - global.msg[0] = " %%" - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = "* My mind is running wild^1!&* I haven't felt like this& in a long time.../%%" - if (global.flag[84] == 5) - global.msg[0] = "* Please leave./%%" - if (global.flag[84] < 2) - { - global.msg[0] = "* You..^1.&* You came from outside^1,& didn't you?/" - global.msg[1] = "* People like you are so& rare.../" - global.msg[2] = "* Please^1!* Stranger!/" - global.msg[3] = "* Tell me about outside...?& & Yes No\C" - global.msg[4] = " " - } - if (global.flag[84] == 2) - global.msg[0] = "* Well^1, what are you& waiting for?/%%" - if (global.flag[84] == 3) - { - global.msg[0] = "* Oh^1!&* You're back!/" - global.msg[1] = "* How's the room?& & Different Same\C" - global.msg[2] = " " - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = "* Huh^1?&* " + chr(34) + "SURFACE" + chr(34) + "^1?&* What do you mean?/" - global.msg[1] = "* I just meant outside this& room./" - global.msg[2] = "* If you haven't noticed^1, my& mycelium have bound me& to the ground./" - global.msg[3] = "* Please^1!&* Stranger!/" - global.msg[4] = "* I'll make this simple./" - global.msg[5] = "* I've spent my whole life& in the same spot^1,& in the same room./" - global.msg[6] = "* But I've long wondered& what lies inside the& room to the right./" - global.msg[7] = "* Long I've fantasized& about entering^1, and& changing my scenery.../" - global.msg[8] = "* No..^1.&* Changing my LIFE!/" - global.msg[9] = "* Please^1.&* Go and tell me what's& inside./%%" - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* Is everyone out there& like you^1?&* How terrible./%%" - } - else - { - if (global.choice == 0) - { - global.msg[0] = "* Oh^1, that's a relief^1!/" - global.msg[1] = "* That's all I need to& continue my fantasies^1.&* Thank you^1, stranger./%%" - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = "* So it's the same./" - global.msg[1] = "* The same.../" - global.msg[2] = "* Same.../" - global.msg[3] = "* .../" - global.msg[4] = "* OK./%%" - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = "* (Take an umbrella?)& & Take one Do not\C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (Return the umbrella?)& & Put back Do not\C" - global.msg[1] = " " - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You took an umbrella.)/%%" - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = " %%" - } - else if (global.choice == 0) - { - global.msg[0] = "* (You returned the umbrella.)/%%" - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 585: - global.msg[0] = "* (It's a statue^1.)&* (The structures at its& feet seem dry.)/%%" - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = "* (Put the umbrella on the& statue?)& Yes Do not\C" - global.msg[1] = " " - } - if (global.flag[86] == 1) - global.msg[0] = "* (The music continues^1, and& doesn't stop.)/%%" - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You place the umbrella& atop the statue.)/" - global.msg[1] = "* (Inside the statue^1, a music& box begins to play...)/%%" - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 587: - global.msg[0] = "* (It's a rusty old& fridge.)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 588: - if (global.choice == 0) - { - global.msg[0] = "* (You open the fridge.^1)&* (The air fills with a& rotten stench.)/" - global.msg[1] = "* (All the food inside here& spoiled long ago.)/%%" - } - else - global.msg[0] = " %%" - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = "* error/%%" - if (global.flag[108] > 2) - global.msg[0] = "* (The cooler is empty.)/%%" - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = "* (Take a space food bar& from the cooler?)& Yes No \C" - global.msg[1] = " " - } - if (global.flag[108] == 0) - { - global.msg[0] = "* (It's a cooler^1.&* It has no brand^1, and& shows no signs of wear...)/" - global.msg[1] = "* (Inside are a couple& of freeze-dried space& food bars.)/" - global.msg[2] = "* (Take one?)& & Yes No \C" - global.msg[3] = " " - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = "* (You got the Astronaut Food.)/%%" - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* %%" - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = "* (Seems like a regular& training dummy.)/" - global.msg[1] = "* (Do you want to beat it& up?)& Yes No \C" - global.msg[2] = " " - } - else - global.msg[0] = "* (You've had enough of& the dummy.)/%%" - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = "* (You tap the dummy with& your fist.)/" - global.msg[1] = "* (You feel bad.)/%%" - } - if (global.lv > 1) - { - global.msg[0] = "* (You hit the dummy& lightly.)/" - global.msg[1] = "* (You don't feel like& you learned anything.)/%%" - } - if (global.lv > 4) - { - global.msg[0] = "* (You sock the dummy.)/" - global.msg[1] = "* (Who cares?)/%%" - } - if (global.lv > 7) - { - global.msg[0] = "* (You punch the dummy at& full force.)/" - global.msg[1] = "* (Feels good.)/%%" - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = "* (You stare into each& other's eyes for a& moment...)/%%" - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = "* (It's a horse stable.)/" - global.msg[1] = "* (Do you want to go& inside?)& Yes No \C" - global.msg[2] = " " - break - case 594: - if (global.choice == 0) - { - global.msg[0] = "* (You jostle the door.)&* (It's locked.)/" - global.msg[1] = "* (Suddenly^1, from inside& the [redacted], you hear a&/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 1) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* (Spooktunes are dead.)/%%" - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 608: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 2) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 610: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 3) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 612: - global.msg[0] = "* (Look inside the fridge?)& & Open it No\C" - global.msg[1] = " " - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = "* (There's a lonely sandwich& inside.)/%%" - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = "* (It's empty.)/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 615: - global.msg[0] = "* this is a ghost sandwich.../" - global.msg[1] = "* do you want to try it...& & Yes No\C" - global.msg[2] = " " - break - case 616: - if (global.choice == 0) - { - global.msg[0] = "* (You attempt to bite& into the ghost sandwich.)/" - global.msg[1] = "* (You phase right through& it...)/" - global.msg[2] = "* oh.../" - global.msg[3] = "* nevermind.../%%" - } - if (global.choice == 1) - global.msg[0] = "* oh.....................& ....................& ................./%%" - break - case 617: - global.msg[0] = "* after a great meal i like& to lie on the ground and& feel like garbage.../" - global.msg[1] = "* it's a family tradition.../" - global.msg[2] = "* do you want..^1.&* ... to join me...& Yes No\C" - global.msg[3] = " " - break - case 618: - if (global.choice == 0) - global.msg[0] = "* okay..^1.&* follow my lead.../%%" - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = "* oh.....................& ....................& ................./%%" - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = "* do you want to play a game^1?&* it's called thundersnail./" - global.msg[1] = "* the snails will race^1, and if& the yellow snail wins^1, you& win./" - global.msg[2] = "* it's 10G to play.& & Play No\C" - global.msg[3] = " " - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = "* um..^1.&* you don't have any money?/" - global.msg[1] = "* n-no^1, you can still play^1,& don't worry about it.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = "* um..^1. that's less than 10G./" - global.msg[1] = "* but since you're my only& real customer^1, i guess i'll& just take what you have.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[1] = "* ready?/%%" - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* oh.........../%%" - break - case 621: - global.msg[0] = "* .../" - global.msg[1] = "* Seven./" - global.msg[2] = "* Seven human souls./" - global.msg[3] = "* With the power of seven& human souls^1, our king.../" - global.msg[4] = "\W* \YKing \RASGORE \YDreemurr\W.../" - global.msg[5] = "* ... will become a god./" - global.msg[6] = "\W* With that power^1, \RASGORE\W & can finally shatter the& barrier./" - global.msg[7] = "* He will finally take the& surface back from humanity.../" - global.msg[8] = "* And give them back the& suffering and pain that& we have endured./" - global.msg[9] = "* .../" - global.msg[10] = "* Understand^1, human?/" - global.msg[11] = "* This is your only chance& at redemption./" - global.msg[12] = "* Give up your soul.../" - global.msg[13] = "* Or I'll tear it from& your body./%%" - break - case 622: - if (global.choice == 0) - { - global.msg[0] = "* That spark in your eyes.../" - global.msg[1] = "* You're really eager to& die^1, aren't you?/%%" - } - if (global.choice == 1) - global.msg[0] = "* .../%%" - break - case 623: - global.msg[0] = "* Yo^1, I know I'm not supposed& to be here^1, but.../" - global.msg[1] = "* I wanna ask you something./" - global.msg[2] = "* .../" - global.msg[3] = "* Man^1, I've never had to ask& anyone this before.../" - global.msg[4] = "* Umm.../" - global.msg[5] = "* Yo..^1. You're human^1, right?&* Haha./" - global.msg[6] = "* Man^1! I knew it!/" - global.msg[7] = "* ... well^1, I know it now^1,& I mean.../" - global.msg[8] = "* Undyne told me^1, um^1, " + chr(34) + "stay& away from that human." + chr(34) + "/" - global.msg[9] = "* So^1, like^1, ummm.../" - global.msg[10] = "* I guess that makes us enemies& or something./" - global.msg[11] = "* But I kinda stink at that^1,& haha./" - global.msg[12] = "* Yo^1, say something mean so& I can hate you?/" - global.msg[13] = "* Please? & & Yes No \C" - global.msg[14] = " " - break - case 624: - if (global.choice == 0) - { - global.msg[0] = "* Huh...?/" - global.msg[1] = "* Yo^1, that's your idea of& something mean?/" - global.msg[2] = "* My sister says that to me& ALL THE TIME!/" - global.msg[3] = "* Guess I have to do it^1, haha./" - global.msg[4] = "* Yo^1, I..^1. I hate your guts./" - global.msg[5] = "* .../" - global.msg[6] = "* Man^1, I..^1. I'm such a turd./" - global.msg[7] = "* I'm..^1. I'm gonna go home& now./%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Yo^1, what^1?&* So I have to do it?/" - global.msg[1] = "* Here goes nothing.../" - global.msg[2] = "* Yo^1, I..^1. I hate your guts./" - global.msg[3] = "* .../" - global.msg[4] = "* Man^1, I..^1. I'm such a turd./" - global.msg[5] = "* I'm..^1. I'm gonna go home& now./%%" - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = "* (It's a water cooler.)&* (Take a cup of water?)& Yes No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There's no more water left& in the cooler.)/%%" - if instance_exists(obj_undynefall) - global.msg[0] = "* (Sadistically^1, you've poured& out all the water right in& front of Undyne's eyes.)/%%" - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = "* (You take a cup of water.)/%%" - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 627: - global.msg[0] = "* (Get rid of the water?)& & Yes No \C" - global.msg[1] = " " - break - case 628: - if (global.choice == 0) - { - global.msg[0] = "* (You pour the water on& the ground next to the& water cooler.)/%%" - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 629: - global.msg[0] = "* A rousing error./%%" - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = "* (Give Undyne the water?)& & Yes No \C" - global.msg[1] = " " - } - else - global.msg[0] = "* (She looks dry...)/%%" - } - break - case 630: - global.msg[0] = " %%" - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = "BEPIS." - armor2 = "BEPIS." - if (global.flag[75] == 4) - armor1 = "GROSS BANDAGE" - if (global.flag[75] == 12) - armor1 = "FADED RIBBON" - if (global.flag[75] == 15) - armor1 = "BANDANNA" - if (global.flag[75] == 24) - armor1 = "DUSTY TUTU" - if (global.flag[77] == 4) - armor2 = "GROSS BANDAGE" - if (global.flag[77] == 12) - armor2 = "FADED RIBBON" - if (global.flag[77] == 15) - armor2 = "BANDANNA" - if (global.flag[77] == 24) - armor2 = "DUSTY TUTU" - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "REMEMBER WHEN&I ASKED YOU&ABOUT CLOTHES?/" - global.msg[4] = "\E3WELL^1, THE FRIEND&WHO WANTED TO&KNOW.../" - global.msg[5] = "\E0HER OPINION OF&YOU IS VERY.../" - global.msg[6] = "\E3MURDERY./" - global.msg[7] = "\E0ERROR!!^1!&SEE YOU LATER!/%%" - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I TOLD HER WHAT&YOU TOLD ME&YOU WERE WEARING!/" - global.msg[10] = (("A " + armor1) + "!/") - global.msg[11] = "BECAUSE I KNEW^1,&OF COURSE.../" - global.msg[12] = "\E3AFTER SUCH A&SUSPICIOUS&QUESTION.../" - global.msg[13] = "\E0YOU WOULD&OBVIOUSLY CHANGE&YOUR CLOTHES!/" - global.msg[14] = "YOU'RE SUCH A&SMART COOKIE!/" - global.msg[15] = "THIS WAY YOU'RE&SAFE AND I&DIDN'T LIE!!!/" - global.msg[16] = "NO BETRAYAL&ANYWHERE!!!/" - global.msg[17] = "BEING FRIENDS&WITH EVERYONE&IS EASY!!!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = "\E3I AM NOT A&CRUEL PERSON./" - global.msg[10] = "\E0I STRIVE TO BE&COMFORTING AND&PLEASANT./" - global.msg[11] = "PAPYRUS!&HE SMELLS LIKE&THE MOON./" - global.msg[12] = "SO, BECAUSE OF&MY INHERENT&GOODNESS.../" - global.msg[13] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[14] = "\E3EVEN THOUGH YOU&TOLD ME YOU&WERE!/" - global.msg[15] = "INSTEAD^1, I MADE&SOMETHING UP!/" - global.msg[16] = "I TOLD HER YOU&WERE WEARING.../" - global.msg[17] = (("\E0A " + armor2) + "./") - global.msg[18] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[19] = (("I KNOW YOU WOULD&NEVER EVER WEAR&A " + armor2) + "./") - global.msg[20] = "\E0BUT YOUR SAFETY&IS MORE IMPORTANT&THAN FASHION./" - global.msg[21] = "\E3DANG!/" - global.msg[22] = "I JUST WANT TO&BE FRIENDS WITH&EVERYONE.../" - global.msg[23] = "\TS \F0 \T0 %" - global.msg[24] = "* Click.../%%" - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "\E3PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = (("\WY\E0OU SAID YOU WERE\Y &NOT WEARING A&" + armor1) + "\W./") - global.msg[10] = "\E3SO OF COURSE&I ACTUALLY&TOLD HER.../" - global.msg[11] = (("\E0YOU WERE&INDEED WEARING&A " + armor1) + "!/") - global.msg[12] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[13] = (("BUT SINCE YOU&AREN'T WEARING&A " + armor1) + "./") - global.msg[14] = "\E0SHE SURELY&WON'T ATTACK&YOU!/" - global.msg[15] = "NOW YOU ARE&SAFE AND SOUND./" - global.msg[16] = "\E2WOWIE..^1.&THIS IS HARD./" - global.msg[17] = "I JUST WANT TO&BE EVERYBODY'S&FRIEND!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I KNEW WHEN&YOU SAID:/" - global.msg[10] = (('\E3"I AM NOT&WEARING A&' + armor1) + '."/') - global.msg[11] = "\E0IT WAS REALLY&A SECRET CODE!/" - global.msg[12] = "\E3YOU REALLY&MEANT.../" - global.msg[13] = (('\E0"I ACTUALLY AM&WEARING&A ' + armor1) + '!"/') - global.msg[14] = "YOU WERE TRYING&TO PROTECT&YOURSELF.../" - global.msg[15] = "WHILE MAKING IT&SO I DIDN'T&HAVE TO LIE!/" - global.msg[16] = "I PICKED UP ON&THIS, AND FOLLOWED&YOUR PLAN./" - global.msg[17] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[18] = "IN FACT I TOOK&IT ONE STEP&FURTHER!/" - global.msg[19] = "\E3I TOLD HER YOU&WERE PROBABLY.../" - global.msg[20] = (("\E0WEARING A&" + armor2) + "!/") - global.msg[21] = "\E3OF COURSE, YOU&WOULD NEVER&WEAR THAT./" - global.msg[22] = "\E0BUT THAT'S THE&POINT!/" - global.msg[23] = "SHE WON'T&RECOGNIZE YOU&NOW!/" - global.msg[24] = "AND I DIDN'T&HAVE TO BETRAY&EITHER OF YOU!/" - global.msg[25] = "SINCE I JUST&TOLD HER WHAT&YOU SAID!/" - global.msg[26] = "WOWIE^1!&YOU'RE SUCH A&SMART COOKIE!/" - global.msg[27] = "I REALLY CAN&BE FRIENDS WITH&EVERYONE!!!/" - global.msg[28] = "\TS \F0 \T0 %" - global.msg[29] = "* Click.../%%" - } - } - break - case 633: - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HEY^1!&WHAT'S UP!?/" - global.msg[3] = "I WAS JUST&THINKING.../" - global.msg[4] = "YOU^1, ME^1, AND&UNDYNE SHOULD ALL&HANG OUT SOMETIME!/" - global.msg[5] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE&LATER!/" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - if (global.flag[88] < 3) - { - global.msg[5] = "AFTER YOU HANG&OUT WITH ME.../" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE!/" - global.msg[7] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - } - break - case 635: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 636: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 637: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 638: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 639: - global.msg[0] = "* (It's a book labelled& Monster History Part 7.)& Read it Do not\C" - global.msg[1] = " " - break - case 640: - global.msg[0] = "* When a human dies^1, its& soul remains stable& outside the body./" - global.msg[1] = "* Meanwhile^1, a monster's soul& disappears near-instantly& upon death./" - global.msg[2] = "* This allows monsters to& absorb the souls of& humans.../" - global.msg[3] = "* While it is extremely& difficult for humans to& absorb a monster's soul./" - global.msg[4] = "* This is why they feared us./" - global.msg[5] = "* Though monsters are weak^1,& with enough human souls.../" - global.msg[6] = "* They could easily destroy& all of mankind./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 641: - global.msg[0] = "* (It's a book labelled& Monster History Part 8.)& Read it Do not\C" - global.msg[1] = " " - break - case 642: - global.msg[0] = "* There is one exception& to the aforementioned& rules:/" - global.msg[1] = "* A certain type of monster^1,& the " + chr(34) + "boss" + chr(34) + " monster./" - global.msg[2] = "* Due to its life cycle^1, it& possesses an incredibly& strong soul for a monster./" - global.msg[3] = "* This soul can remain& stable after death^1, if& only for a few moments./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 643: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 644: - global.msg[0] = "* (You look inside a book.)/" - global.msg[1] = "* (It's a comic of a giant& robot fighting a beautiful& alien princess.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 645: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 646: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (Two scantily-clad chefs are& flinging energy pancakes& at each other.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 647: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 648: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (A hideous android is running& to school with toast in& its mouth.)/" - global.msg[2] = "* (Seems like it's late.)/" - global.msg[3] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 660: - global.msg[0] = "* (There's a piano here.^1)&* (Play it?)& Yes No\C" - global.msg[1] = " " - break - case 661: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = "See that heart^1? &That is your SOUL^1,&the very culmination&of your being!/" - global.msg[1] = "Your SOUL starts off&weak^1, but can grow&strong if you gain&a lot of LV./" - global.msg[2] = "What's LV stand for^1?&Why^1, LOVE^1, of course!/" - global.msg[3] = "You want some&LOVE, don't you?/" - global.msg[4] = "Don't worry,&I'll share some&with you!/%" - break - case 667: - global.msg[0] = "Down here^1, LOVE is&shared through..^1./" - global.msg[1] = "Little white..^2.\E1 &" + chr(34) + "friendliness&pellets." + chr(34) + "/" - global.msg[2] = "\E2Are you ready\E0?/%" - break - case 668: - global.msg[0] = "Move around^1!&Get as many as&you can^2!%%%" - global.msg[1] = "%%%" - break - case 669: - global.msg[0] = "You idiot./" - global.msg[1] = "In this world^1, it's&kill or BE killed./" - global.msg[2] = "Why would ANYONE pass&up an opportunity&like this!?/%" - break - case 670: - global.msg[0] = "Die./%" - break - case 671: - global.msg[0] = "Hey buddy^1,&you missed them./" - global.msg[1] = "Let's try again^1,&okay?/%" - break - case 672: - global.msg[0] = "Is this a joke^2?&Are you braindead^2?&RUN^2. INTO^2. THE^2.&BULLETS!!!" - break - case 673: - global.msg[0] = "You know what's&going on here^1,&don't you?/" - global.msg[1] = "You just wanted to&see me suffer./%" - break - case 674: - global.msg[0] = "\E1What a terrible&creature^1, torturing&such a poor^1,&innocent youth.../" - global.msg[1] = "\E2Ah, do not be&afraid^1, my child./" - global.msg[2] = "\XI am \BTORIEL\X,&caretaker of&the \RRUINS\X./" - global.msg[3] = "I pass through this&place every day to&see if anyone has&fallen down./" - global.msg[4] = "You are the first&human to come here&in a long time./" - global.msg[5] = "I will do my best&to ensure your&protection during&your time here./%%" - global.msg[5] = "\E2Come^2!&I will guide you&through the&catacombs./%%" - global.msg[6] = "%%%" - break - case 680: - global.msg[0] = "* Three gold for the ferry.& & Yes No\C" - global.msg[1] = " " - break - case 681: - global.msg[0] = "* Later^1, then./%%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = "* Hop on!/%%" - } - break - case 682: - global.msg[0] = "* (It's a switch.)& & Press it Don't\C" - global.msg[1] = " " - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were deactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were reactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "\E1* Um.../" - global.msg[3] = "\E0* I noticed you've been& kind of quiet.../" - global.msg[4] = "\W*\E8 Are you w-worried& about meeting \RASGORE\W...?/" - global.msg[5] = "\E2* .../" - global.msg[6] = "\E0* W-well^1, don't worry^1,& okay?/" - global.msg[7] = "\E7* Th-the king is a& really nice guy.../" - global.msg[8] = "\E0* I'm sure you can& talk to him^1, and.../" - global.msg[9] = "* W-with your human& soul^1, you can pass& through the barrier!/" - global.msg[10] = "* S-so no worrying^1, OK^1?&* J-just forget about it& and smile./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* Click.../%%" - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = "* hey buddy^1, what's up^1?&* wanna buy a hot dog?/" - global.msg[1] = "* it's only 30G.& & Yes No \C" - global.msg[2] = " " - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = "* here^1.&* have fun./%%" - if (global.flag[380] == 1) - { - global.msg[0] = "* here's another hot& dog./" - global.msg[1] = "* it's on the house^1.&* well^1, no^1.&* it's on you./%%" - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = "* sorry^1, thirty is& the limit on& head-dogs./%%" - if (global.flag[381] == 0) - { - global.msg[0] = "\TS*^1 \Tsi'll be 'frank' with& you./" - global.msg[1] = "* as much as i like& putting hot dogs& on your head.../" - global.msg[2] = "* thirty is just& an excessive number./" - global.msg[3] = "* twenty-nine^1, now& that's fine^1, but& thirty.../" - global.msg[4] = "* does it look like& my arms can reach& that high?/%%" - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = "* thanks, kid^1.&* here's your hot dog./%%" - if (global.flag[379] == 0) - { - global.msg[0] = "* thanks, kid^1.&* here's your 'dog./" - global.msg[1] = "* yeah^1. 'dog^1.&* apostrophe-dog^1.&* it's short for hot-dog./%%" - } - if (global.flag[379] == 1) - { - global.msg[0] = "* another h'dog^1?&* here you go.../" - global.msg[1] = "* whoops^1, i'm actually& out of hot dogs./" - global.msg[2] = "* here^1, you can have& a hot cat instead./%%" - } - if (global.flag[379] == 2) - { - global.msg[0] = "* another dog^1, coming& right up.../" - global.msg[1] = "* ... you really like& hot animals^1, don't& you?/" - global.msg[2] = "* hey^1, i'm not judging./" - global.msg[3] = "* i'd be out of a job& without folks like you./%%" - } - if (global.flag[379] == 3) - { - global.msg[0] = "* cool^1.&* here's that ''dog./" - global.msg[1] = "* apostrophe-apostrophe& dog./" - global.msg[2] = "* it's short for& apostrophe-dog./" - global.msg[3] = "* which is^1, in turn^1,& short for.../%%" - } - if (global.flag[379] == 4) - { - global.msg[0] = "* another one^1?&* okay./" - global.msg[1] = "* careful^1.&* if you eat& too many hot dogs.../" - global.msg[2] = "* you'll probably get& huge like me./" - global.msg[3] = "* huge as in super-& popular^1, i mean./" - global.msg[4] = "* i'm practically& a hot-dog tycoon now./%%" - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = "* whoops^1, you don't have& enough cash./" - global.msg[1] = "* you should get a job^1.&* i've heard being a& sentry pays well./%%" - } - } - if (noroom == 1) - { - global.msg[0] = "* you're holding too much^1.&* ... guess i'll just put& it on your head./%%" - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* yeah^1, you've gotta& save your money for& college and spiders./%%" - break - case 690: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* L-looks like you& beat him!/" - global.msg[3] = "\E0* Y-you did a really& great job out there./" - global.msg[4] = " & All thanks& to you ... \C" - global.msg[5] = " " - break - case 691: - if (global.choice == 0) - { - global.msg[0] = "\E3* What^1?&* Oh no^1, I mean.../" - global.msg[1] = "\E4* You were the one& doing everything cool!/" - global.msg[2] = "\E0* I just wrote some& silly programs for& your phone./" - } - if (global.choice == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E2* .../" - global.msg[2] = "\E1* .../" - } - global.msg[3] = "\E2* .../" - global.msg[4] = "\E4* ... umm^1, h-hey^1, this& might sound strange^1,& but.../" - global.msg[5] = "\E6* ... c-can I tell& you something?/" - global.msg[6] = "\E9* .../" - global.msg[7] = "\E4* B-before I met you^1,& I d-didn't really.../" - global.msg[8] = "\E9* I didn't really& like myself very& much./" - global.msg[9] = "* For a long time^1,& I f-felt like a& total screw-up./" - global.msg[10] = "\E9* L-like I couldn't& do a-anything& w-without.../" - global.msg[11] = "\E9* W-without ending up& letting everyone& down./" - global.msg[12] = "\E3* B-but...!/" - global.msg[13] = "\E4* Guiding you has& made me feel.../" - global.msg[14] = "\E9* A lot better about& myself./" - global.msg[15] = "\E0* So... thanks for& letting me help& you./" - global.msg[16] = "\E9* .../" - global.msg[17] = "\E4* Uhhh^1, anyway^1, we're& almost to the CORE./" - global.msg[18] = "\E0* It's just past& MTT Resort./" - global.msg[19] = "\E6* Come on^1!&* Let's finish this!/%%" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* Click.../%%" - break - case 692: - global.msg[0] = "\E0EUREKA!!!/" - global.msg[1] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[2] = "\E3YOU SEEM LIKE&YOU'RE HAVING&FUN^1, THOUGH.../" - global.msg[3] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[6] = " " - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 694: - global.msg[0] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[1] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[4] = " " - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 696: - global.msg[0] = "* (There's a switch on the& trunk of this tree.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - break - case 697: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = "OHO^1!&THE HUMAN ARRIVES!/" - global.msg[1] = "ARE YOU READY TO&HANG OUT WITH&UNDYNE?/" - global.msg[2] = "I HAVE A PLAN&TO MAKE YOU TWO&GREAT FRIENDS!/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Will you hang out?)& & Yes No\C" - global.msg[5] = " " - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = "HMMM..^1.&STILL GETTING&READY?/" - global.msg[2] = "\E0TAKE YOUR TIME!/%%" - } - break - case 700: - global.msg[0] = "OKAY^1!&ALL READIED-UP&TO HANG OUT!?/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* (Will you hang out?)& & Yes No\C" - global.msg[3] = " " - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 703: - global.msg[0] = "\E4* .../" - global.msg[1] = "\E5* So why are YOU& here?/" - global.msg[2] = "\E4* To rub your victory& in my face?/" - global.msg[3] = "\E4* To humiliate me& even further?/" - global.msg[4] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[5] = " " - break - case 704: - if (global.choice == 0) - { - global.msg[0] = "\E2* Oh-ho-ho-ho./" - global.msg[1] = "\E1* Well^1, I've got news& for you^1, BRAT./" - global.msg[2] = "\E2* You're on MY& battlefield now./" - global.msg[3] = "\E3* And you AREN'T& going to& humiliate me./" - global.msg[4] = "\E3* I'll TELL you& what's going to& happen./" - global.msg[5] = "\E0* We're going to& hang out./" - global.msg[6] = "\E2* We're going to& have a good& time./" - global.msg[7] = "\M1* We're going to& become " + chr(34) + "friends." + chr(34) + "/" - global.msg[8] = "\E3* You'll become so& enamored with me.../" - global.msg[9] = "\E1* YOU'LL be the one& feeling humiliated& for your actions!/" - global.msg[10] = "\E6* Fuhuhuhuhu!!/" - global.msg[11] = "\M2* It's the perfect& revenge!!!/" - global.msg[12] = "\E1* Err.../" - global.msg[13] = "\E9* Why don't you& have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\E4* Then why are you& here?/" - global.msg[1] = "\E1* ...!/" - global.msg[2] = "\E2* Wait^1, I get it./" - global.msg[3] = "\E3* You think that I'm& gonna be friends& with you^1, huh?/" - global.msg[4] = "* Right???& NEVER & Yes with you\C" - global.msg[5] = " " - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = "\E6* Really^1?&* How delightful!^1!&* I accept!/" - global.msg[1] = "* Let's all frolick& in the fields& of friendship!/" - global.msg[2] = "\E2* ...NOT!/" - global.msg[3] = "\E2* Why would I EVER& be friends with& YOU!?/" - global.msg[4] = "\E3* If you weren't my& houseguest^1, I'd beat& you up right now!/" - global.msg[5] = "\E0* You're the enemy& of everyone's hopes& and dreams!/" - global.msg[6] = "\E1* I WILL NEVER& BE YOUR FRIEND./" - global.msg[7] = "\E3* Now get out of& my house!/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = "\E1* WHAT?/" - global.msg[1] = "\E4* First you parade& into my house^1,& then you INSULT me?/" - global.msg[2] = "\E2* You little BRAT^1!&* I have half a& mind to.../" - global.msg[3] = "\E1* .../" - global.msg[4] = "\E3* Wait./" - global.msg[5] = "\E2* I'll prove you& WRONG./" - global.msg[6] = "\E3* We ARE going to& be friends./" - global.msg[7] = "\E1* In fact.../" - global.msg[8] = "\E3* We./" - global.msg[9] = "\M1* Are going to be& BESTIES./" - global.msg[10] = "* I'll make you like& me so much.../" - global.msg[11] = "\E1* Your WHOLE LIFE& will revolve around& me!!/" - global.msg[12] = "\M2* It's the perfect& revenge!!!/" - global.msg[13] = "\E6* FUHUHUHUHU!!!/" - global.msg[14] = "\E1* Err.../" - global.msg[15] = "\E9* Now^1, why don't& you have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = "* (Sit down and progress?)& & Yes No\C" - global.msg[1] = " " - break - case 707: - global.msg[0] = " %%" - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = " %%" - global.msg[1] = " %%" - } - break - case 708: - global.msg[0] = "* That sugar's for& the tea./" - global.msg[1] = "\E2* I'm not gonna give& you a cup of& sugar!/" - global.msg[2] = "\E6* What do I look& like^1, the ice-cream& woman?/" - global.msg[3] = "\E2* Do human ice-cream& women TERRORIZE HUMANITY& with ENERGY SPEARS?/" - global.msg[4] = "\E3* Are their ice-cream& songs a PRELUDE TO& DESTRUCTION?/" - global.msg[5] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[6] = " " - break - case 709: - if (global.choice == 0) - { - global.msg[0] = "\E1* ... what^1?&* REALLY?/" - global.msg[1] = "\E6* That rules!!!/%%" - } - if (global.choice == 1) - global.msg[0] = "\E3* That's what I& thought./%%" - break - case 710: - global.msg[0] = "* Envision these& vegetables as your& greatest enemy!/" - global.msg[1] = "\E2* Now!^1!&* Pound them to dust& with your fists!!/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (How will you pound?)& & Strong Wimpy\C" - global.msg[4] = " " - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = "* (You punch the vegetables& at full force^1.&* You knock over a tomato.)/" - scr_undface(1, 6) - global.msg[2] = "* YEAH^1!&* YEAH!/" - global.msg[3] = "\E1* Our hearts are& uniting against these& healthy ingredients!/" - global.msg[4] = "\M2* NOW IT'S MY TURN!/" - global.msg[5] = "* NGAHHH!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = "* (You pet the vegetables& in an affectionate& manner.)/" - scr_undface(1, 1) - global.msg[2] = "* OH MY GOD!!^1!&* STOP PETTING THE& ENEMY!!!/" - global.msg[3] = "\M2* I'll show you& how it's done!/" - global.msg[4] = "* NGAHHH!/%%" - } - break - case 712: - global.msg[0] = "* ... we add the& noodles!/" - global.msg[1] = "\E0* Homemade noodles& are the best!/" - global.msg[2] = "\E6* BUT I JUST BUY& STORE-BRAND!/" - global.msg[3] = "\M2* THEY'RE THE& CHEAPEST!!!/" - global.msg[4] = "\E1* NGAHHHHHHHHH& HHHHHHHHHH!!!/" - global.msg[5] = "\E9* Uhh^1, just put them& in the pot./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "\M0* (How will you put them in?)& & Fiercely Careful\C" - global.msg[8] = " " - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = "* (You throw everything into& the pot as hard as you can^1,& including the box.)/" - global.msg[1] = "* (It clanks against the& empty bottom.)/" - scr_undface(2, 6) - global.msg[3] = "\M2* YEAH!!^1!&* I'M INTO IT!!!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = "* (You place the noodles& in one at a time.)/" - global.msg[1] = "* (They clank against the& empty bottom.)/" - scr_undface(2, 9) - global.msg[3] = "* Nice???/%%" - } - break - case 714: - global.msg[0] = "\E0* Humans suck^1, but& their history..^1.&* Kinda rules./" - global.msg[1] = "\E2* Case in point^1:&* This giant sword!/" - global.msg[2] = "\E0* Historically^1, humans& wielded swords up& to 10x their size./" - global.msg[3] = "\E1* RIGHT?& & True False\C" - global.msg[4] = " " - break - case 715: - if (global.choice == 0) - { - global.msg[0] = "\E6* Heh^1, I knew it!/" - global.msg[1] = "\E2* When I first heard& that^1, I immediately& wanted one!/" - global.msg[2] = "\E0* So me and Alphys& built a giant& sword together./" - global.msg[3] = "\E0* She figured out all& the specs herself.../" - global.msg[4] = "\E6* She's smart^1, huh!?/%%" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* Pfft^1!&* You liar!/" - global.msg[1] = "\E3* I've READ Alphys's& human history book& collection!/" - global.msg[2] = "\E3* I know all about& your giant swords.../" - global.msg[3] = "\E3* Your colossal^1,& alien-fighting& robots.../" - global.msg[4] = "* Your supernatural& princesses.../" - global.msg[5] = "\E6* Heh^1! There's no& way you're gonna& fool me!!!/%%" - } - break - case 716: - global.msg[0] = "* (Look inside the bone drawer?)& & Yes No\C" - global.msg[1] = " " - break - case 717: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = "\M5* WHAT A SENSATIONAL OPPORTUNITY& FOR A STORY!/" - global.msg[1] = "\M3* I CAN SEE THE HEADLINE NOW:/" - global.msg[2] = "\M4* " + chr(34) + "A DOG EXISTS SOMEWHERE." + chr(34) + "/" - global.msg[3] = "\M2* FRANKLY^1, I'M BLOWN AWAY./" - global.msg[4] = "* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 721: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 722: - global.msg[0] = "\M5* THIS DOG..^1.&* STILL EXISTS!/" - global.msg[1] = "* THIS STORY..^1.&* JUST KEEPS GETTING& BETTER AND BETTER!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 723: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 724: - global.msg[0] = "\M5* OH MY!!!!/" - global.msg[1] = "\M2* ... IT'S A COMPLETELY& NONDESCRIPT GLASS OF WATER./" - global.msg[2] = "\M4* BUT ANYTHING CAN MAKE& A GREAT STORY WITH ENOUGH& SPIN!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 725: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 726: - global.msg[0] = "\M3* I'M HONORED TO BE IN THE& PRESENCE OF SUCH A HUGE& LUKEWARM WATER FAN^1, FOLKS!/" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 727: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 728: - global.msg[0] = "\M5* OH NO!!^1!&* THAT MOVIE SCRIPT!!^1!&* HOW'D??^1? THAT GET THERE???/" - global.msg[1] = "\M4* IT'S A SUPER-JUICY SNEAK& PREVIEW OF MY LATEST& GUARANTEED-NOT-TO-BOMB FILM:/" - global.msg[2] = "\M6* METTATON THE MOVIE XXVIII..^1.& STARRING METTATON!/" - global.msg[3] = "\M1* I'VE HEARD THAT LIKE THE& OTHER FILMS.../" - global.msg[4] = "\M1* IT CONSISTS MOSTLY OF A SINGLE& FOUR-HOUR SHOT OF ROSE PETALS& SHOWERING ON MY RECLINING BODY./" - global.msg[5] = "\M5* OOH!!^1!&* BUT THAT'S!!^1!&* NOT CONFIRMED!!/" - global.msg[6] = "\M5* YOU WOULDN'T (COUGH) SPOIL MY& MOVIE FOR EVERYONE WITH A& PROMOTIONAL STORY^1, WOULD YOU?/" - global.msg[7] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[8] = " " - break - case 729: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\M5* PHEW!!^1! THAT WAS CLOSE!^1!&* YOU ALMOST GAVE ME A BUNCH& OF FREE ADVERTISEMENT!!/%%" - global.msg[1] = "\M2 %%" - } - break - case 730: - global.msg[0] = "\M3* OH^1!&* YOU'RE BACK!/" - global.msg[1] = "\M6* THAT'S RIGHT^1, FOLKS^1!&* IT SEEMS NO ONE CAN RESIST& THE ALLURE OF MY NEW FILM!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 731: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 732: - global.msg[0] = "\M4* BASKETBALL'S A BLAST^1, ISN'T IT^1,& DARLING?/" - global.msg[1] = "\M1* TOO BAD YOU CAN'T PLAY WITH& THESE BALLS./" - global.msg[2] = "\M4* THEY'RE MTT-BRAND FASHION& BASKETBALLS^1.&* FOR WEARING^1, NOT PLAYING./" - global.msg[3] = "\M6* YOU CAN'T GET RICH AND FAMOUS& LIKE MOI WITHOUT BEAUTIFYING& A FEW ORBS./" - global.msg[4] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 733: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 734: - global.msg[0] = "* IT SEEMS OUR REPORTER IS DRAWN& TO SPORTS LIKE MOTHS TO A& FLAMING BASKETBALL HOOP./" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 735: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 736: - global.msg[0] = "\M5* OH MY^1! IT'S A PRESENT^1!&* AND IT'S ADDRESSED TO YOU^1,& DARLING!/" - global.msg[1] = "\M6* AREN'T YOU JUST BURSTING& WITH EXCITEMENT?/" - global.msg[2] = "\M5* WHAT COULD BE INSIDE^1?&* WELL^1, NO TIME LIKE THE& " + chr(34) + "PRESENT" + chr(34) + " TO FIND OUT!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 737: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 738: - global.msg[0] = "\M4* READY FOR YOUR..^1.&* PRESENTATION?/" - global.msg[1] = "\M4* (... LET'S CUT THAT ONE IN& POST.)/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 739: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 740: - global.msg[0] = "\M5* OOH LA LA^1!&* THIS VIDEO GAME YOU FOUND..^1.&* IS DYNAMITE!!!/" - global.msg[1] = "\M4* THOUGH I DON'T MAKE AN& APPEARANCE IN IT UNTIL& THREE-FOURTHS IN./" - global.msg[2] = "\M3* BUT I LIKE THAT./" - global.msg[3] = "\M6* APPEARING FROM THE HEAVENS LIKE& MANNA^1, SLAKING THE AUDIENCE'S& HUNGER FOR GORGEOUS ROBOTS.../" - global.msg[4] = "\M5* OOH^1!&* THAT'S METTATON!/" - global.msg[5] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[6] = " " - break - case 741: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 742: - global.msg[0] = "* AH^1, YOU UNDERSTAND./" - global.msg[1] = "* THIS IS A GAME WHERE YOU& SHOULD CHECK EVERYTHING& TWICE./" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 743: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Cider for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Donut for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 748: - global.msg[0] = "* Ribbit^1, ribbit.&* (I have heard you are quite& merciful^1, for a human...)/" - global.msg[1] = "\W* (Surely you know by now a& monster wears a \YYELLOW\W name& when you can \YSPARE\W it.)/" - global.msg[2] = "* (What do you think of that?)& Very It's& Helpful Bad\C" - global.msg[3] = " " - break - case 749: - if (global.choice == 0) - { - global.msg[0] = "* (It is rather helpful.^1)&* (Remember^1, sparing is just& saying you won't fight.)/" - global.msg[1] = "* (Maybe one day^1, you'll& have to do it even if& their name isn't yellow.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Really^1? Then^1, I'll tell all& of my friends to tell& their friends' friends...)/" - global.msg[1] = "* (Never use yellow names.)&* (How about that?)/" - global.msg[2] = " Keep No more& Yellow Yellow& Names Names\C" - global.msg[3] = " " - } - break - case 750: - if (global.choice == 0) - global.msg[0] = "* (OK^1, they will still& use yellow names.)/%%" - if (global.choice == 1) - { - global.msg[0] = "* (OK^1, I will let them& know not to use yellow& names.)/%%" - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = "* Ribbit^1, ribbit^1.&* (How are you doing without& yellow names?)/" - global.msg[1] = " Bring & It's Them& great Back\C" - global.msg[2] = " " - break - case 752: - if (global.choice == 0) - { - global.msg[0] = "* (Glad to hear it.^1)&* (Though^1, I do not know why& you dislike yellow.)/" - global.msg[1] = "* (You had better hope you do& not encounter a banana-themed& monster.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Huh^1? It's rather inconvenient& that you changed your mind& like this.)/" - global.msg[1] = "* (Since I told everyone& not to use yellow names^1,& everyone threw theirs out.)/" - global.msg[2] = "* (This is really troubling...^1)&* (Hmmm...)/" - global.msg[2] = "\W* (Well^1, last year it was& fashionable to have \ppink\W & names.)/" - global.msg[3] = "* (I think everyone still& has those in their closets& somewhere...)/" - global.msg[4] = "* (I'll ask everyone to look.^1)&* (But this is the last time!)/%%" - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = "* Ribbit^1, ribbit...&* (I hope you're satisfied.)/%%" - break - case 754: - global.msg[0] = "* \YNAPSTABLOOK22 has sent you& a friend request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 755: - global.flag[409] = 1 - global.msg[0] = "* (It seems to have already& rejected itself...)/%%" - break - case 756: - global.msg[0] = "* \YMETTATON has sent you a& Mortal Enemy request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 757: - if (global.choice == 0) - { - global.msg[0] = "* Congratulations^1!&* You are now Mortal Enemies& with Mettaton./" - global.msg[1] = "* \YCOOLSKELETON95\W has posted& a comment on this change./" - global.msg[2] = "* CONGRATULATIONS^1, YOU TWO^1!&* WISH YOU A LONG AND& HORRIBLE RIVALRY./%%" - } - if (global.choice == 1) - global.msg[0] = "* You rejected the request./%%" - break - case 758: - global.msg[0] = "* \YMETTATON has sent you an& invitation to " + chr(34) + "Die." + chr(34) + "\W /" - global.msg[1] = "* RSVP?& & Respond Ignore\C" - global.msg[2] = " " - break - case 759: - if (global.choice == 0) - global.msg[0] = "* Bepis valley Granola Bars/%%" - if (global.choice == 1) - global.msg[0] = "* Bepis valley Granola Bars/%%" - break - case 760: - global.msg[0] = "* hey^1.&* i heard you're going& to the core./" - global.msg[1] = "\E0* how about grabbing some& dinner with me first?& Yeah I'm busy \C" - global.msg[2] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - break - case 761: - if (global.choice == 0) - { - global.msg[0] = "* great^1, thanks for& treating me./%%" - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* well^1, have fun in& there./%%" - break - case 762: - global.msg[0] = "* This is the barrier./" - global.msg[1] = "* This is what keeps& us all trapped& underground./" - global.msg[2] = "* .../" - global.msg[3] = "* If.../" - global.msg[4] = "* If by chance you& have any unfinished& business.../" - global.msg[5] = "* Please do what you& must./" - global.msg[6] = " & & Continue Go Back\C" - global.msg[7] = " " - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Anything you want to& do is important& enough./" - global.msg[2] = "* Even something as small& as reading a book^1,& or taking a walk.../" - global.msg[3] = "* Please take your time./%%" - } - break - case 764: - global.msg[0] = "* Oh..^1.&* Back so soon?/" - global.msg[1] = "* How are you feeling?/" - global.msg[2] = " & & Ready Go Back\C" - global.msg[3] = " " - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Do what you have to./%%" - } - break - case 770: - global.msg[0] = "* Tra la la^1.&* I am the riverman./" - global.msg[1] = "* Or am I the riverwoman...^1?&* It doesn't really matter./" - global.msg[2] = "* I love to ride in my boat^1.&* Would you care to join me?/" - global.msg[3] = "* (Ride in the boat?)& & Yes No\C" - global.msg[4] = " " - if (global.flag[460] > 0) - { - global.msg[0] = "* Tra la la^1.&* Care for a ride?/" - global.msg[1] = "* (Ride in the boat?)& & Yes No\C" - global.msg[2] = " " - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = "* Where will we go today?& & Error Error\C" - if (room == room_fire_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Waterfall\C" - if (room == room_water_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Hotland\C" - if (room == room_tundra_dock) - global.msg[0] = "* Where will we go today?& & Waterfall Hotland\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* Then perhaps another time^1.&* Or perhaps not^1.&* It doesn't really matter./%%" - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = "* Then we're off.../%%" - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = "* (There's a switch on the& wall.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = "* (The switch doesn't do& anything.)/%%" - break - case 781: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = "* (Seems like a comfortable& bed.)/" - global.msg[1] = "* (Lie on it?)& & Yes No\C" - global.msg[2] = " " - break - case 783: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = "* (It's just a regular suspicious& bed now.)/%%" - if (global.flag[484] == 1) - { - global.msg[0] = "* (It's a yellow key.^1)&* (You put it on your& keychain.)/%%" - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = "* (There's something under& the sheets.)/" - global.msg[1] = "* (Check it out?)& & Yes No\C" - global.msg[2] = " " - } - break - case 785: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = "* (The power has been turned& on.)/%%" - if (global.flag[491] == 0) - { - global.msg[0] = "* (It seems like this controls& the elevator's power.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - break - case 787: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = (("\E7* I always was a crybaby^1,& wasn't I^1, " + global.charname) + "?/") - global.msg[1] = "\E1* .../" - global.msg[2] = "\E2* ... I know./" - global.msg[3] = (("\E0* You're not actually& " + global.charname) + ", are you?/") - global.msg[4] = (("\E7* " + global.charname) + "'s been gone for& a long time./") - global.msg[5] = "* .../" - global.msg[6] = "\E9* Um..^1. what.../" - global.msg[7] = "\E0* What IS your name?/" - global.msg[8] = "\E2* .../" - global.msg[9] = "\E5* " + chr(34) + "Frisk?" + chr(34) + "/" - global.msg[10] = "\E7* That's.../" - global.msg[11] = "\E5* A nice name./" - global.msg[12] = "* .../" - global.msg[13] = "\E7* Frisk.../" - global.msg[14] = "\E0* I haven't felt like& this for a long time./" - global.msg[15] = "\E2* As a flower^1, I was& soulless./" - global.msg[16] = "\E1* I lacked the power to& love other people./" - global.msg[17] = "\E2* However^1, with everyone's& souls inside me.../" - global.msg[18] = "\E7* I not only have my own& compassion back.../" - global.msg[19] = "\E5* But I can feel every& other monster's as& well./" - global.msg[20] = "\E7* They all care about& each other so much./" - global.msg[21] = "\E0* And..^1. they care about& you too^1, Frisk./" - global.msg[22] = "* .../" - global.msg[23] = "\E7* I wish I could tell& you how everyone& feels about you./" - global.msg[24] = "* Papyrus..^1. Sans..^1.&* Undyne..^1. Alphys.../" - global.msg[25] = "\E0* ... Toriel./" - global.msg[26] = "\E7* Monsters are weird./" - global.msg[27] = "\E5* Even though they barely& know you.../" - global.msg[28] = "\E6* It feels like they& all really love& you./" - global.msg[29] = "\E8* Haha./" - global.msg[30] = "* .../" - global.msg[31] = "\E1* Frisk..^1. I..^1.&* I understand if you& can't forgive me./" - global.msg[32] = "* I understand if you& hate me./" - global.msg[33] = "* I acted so strange and& horrible./" - global.msg[34] = "\E3* I hurt you./" - global.msg[35] = "* I hurt so many people./" - global.msg[36] = "\E1* Friends^1, family^1,& bystanders.../" - global.msg[37] = "\E3* There's no excuse for& what I've done./" - global.msg[38] = " & & Forgive Do not\C" - global.msg[39] = " " - break - case 801: - if (global.choice == 0) - { - global.msg[0] = "\E3* Wh..^1. what?/" - global.msg[1] = "\E7* ... Frisk^1, come on./" - global.msg[2] = "\E0* You're..^1.&* You're gonna make me& cry again./" - global.msg[3] = "\E7* ... besides^1, even if& you do forgive me.../" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* ... right^1./" - global.msg[1] = "* I understand./" - global.msg[2] = "\E1* I just hope that.../" - global.msg[3] = "* I can make up for& it a little right& now./" - } - global.msg[4] = "\E1* I can't keep these& souls inside of me./" - global.msg[5] = "\E0* The least I can do& is return them./" - global.msg[6] = "\E2* But first.../" - global.msg[7] = "\E4* There's something I& have to do./" - global.msg[8] = "* Right now^1, I can feel& everyone's hearts& beating as one./" - global.msg[9] = "* They're all burning& with the same& desire./" - global.msg[10] = "* With everyone's power..^1.&* With everyone's& determination.../" - global.msg[11] = "* It's time for& monsters.../" - global.msg[12] = "* To finally go free./%%" - break - case 803: - global.msg[0] = "\E7* Frisk.../" - global.msg[1] = "\E0* I have to go now./" - global.msg[2] = "\E7* Without the power of& everyone's souls.../" - global.msg[3] = "\E1* I can't keep& maintaining this& form./" - global.msg[4] = "* In a little while.../" - global.msg[5] = "* I'll turn back into& a flower./" - global.msg[6] = "\E3* I'll stop being& " + chr(34) + "myself." + chr(34) + "/" - global.msg[7] = "* I'll stop being able& to feel love again./" - global.msg[8] = "\E1* So..^1. Frisk./" - global.msg[9] = "\E7* It's best if you& just forget about& me^1, OK?/" - global.msg[10] = "\E0* Just go be with& the people who& love you./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & Comfort& him Do not\C" - global.msg[13] = " " - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = "\E0* So^1, Alphys.../" - global.msg[1] = "\E9* What do you want& to do now that& we're all free?/" - global.msg[2] = "\E0* We have the whole& world to explore& now./" - scr_alface(3, 3) - global.msg[4] = "\E3* W-well^1, of course& I'm going to go& out and.../" - global.msg[5] = "\E4* Um.../" - global.msg[6] = "\E3* No^1, I should be& honest!!/" - global.msg[7] = "\E1* I'm gonna stay inside& and watch anime like& a total loser!/" - scr_papface(8, 0) - global.msg[9] = "\E0THAT'S THE SPIRIT!/" - global.msg[10] = "EVERYONE!!^1!&A CELEBRATION!!!&TO BEING LOSERS!!/" - scr_undface(11, 9) - global.msg[12] = "\E9* Heh^1.&* Papyrus has the& right idea./" - global.msg[13] = "\E0* Losing to Frisk is& the best thing to& ever happen to me./" - global.msg[14] = "\E0* So I'm glad that& we.../" - global.msg[15] = "\E9* Huh^1?&* What is it^1, Asgore?/" - scr_asgface(16, 2) - global.msg[17] = "\E2* Um..^1. what's an.../" - global.msg[18] = "\E0* ... anime?/" - scr_alface(19, 1) - global.msg[20] = "\E1* (Oh My God?)/" - global.msg[21] = "\E3* (Frisk^1. Please.)/" - global.msg[22] = "\E2* (Help me explain what& anime is to Asgore.)/" - global.msg[23] = "\E0* Y-you see^1, it's& like a cartoon^1,& but.../" - global.msg[24] = "\TS \F0 \T0 %" - global.msg[25] = " & With With& Sword's Gun's\C" - global.msg[26] = " " - break - case 807: - scr_asgface(0, 2) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with swords?/" - if (global.choice == 1) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with guns?/" - global.msg[2] = "\E0* Golly^1!&* That sounds neato!/" - global.msg[3] = "\E3* Where is this^1?&* Where can I see the& Anime./" - scr_alface(4, 3) - global.msg[5] = "\E3* H-hold on^1, uh..^1.&* I think I have& some on my phone./" - global.msg[6] = "\E0* Here^1, l-look at& this!/" - global.msg[7] = "\E0* .../" - global.msg[8] = "\E3*...Oh^1, uh.../" - global.msg[9] = "\E4* Um..^1. that's the..^1.&* That's the wrong.../" - global.msg[10] = "\E5* Uh^1, nevermind./" - scr_asgface(11, 1) - global.msg[12] = "* Golly^1.&* Were those two robots.../" - scr_undface(13, 9) - global.msg[14] = "\E9* ... kissing?/" - scr_asgface(15, 0) - global.msg[16] = "\E0* Boy^1!&* Technology sure is& something^1, isn't it?/" - scr_alface(17, 5) - global.msg[18] = "\E5* Eheheh..^1. yeah^1!&* It sure is!/%%" - break - case 808: - global.msg[0] = "\E0* Psst..^1.&* F-Frisk./" - global.msg[1] = "\E3* Um^1, you've gotta& tell me./" - global.msg[2] = "\E6* D..^1. do you think& Asgore and Toriel& are...?/" - global.msg[3] = "\E3* Uh^1, ever gonna get& back together?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "& & Yeah Nope\C" - global.msg[6] = " " - break - case 809: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = "\E7* Y-yeah!!^1!&* Yeah^1, that's what& I hope^1, too./" - global.msg[2] = "\E7* Just think about how& cute they must have& been together./" - global.msg[3] = "\E0* It's quickly becoming& my number one ship& of all time./" - global.msg[4] = "\E7* Tori and Gorey.../" - global.msg[5] = "\E5* My..^1.&* My old boss and& his ex-wife./" - global.msg[6] = "\E8* ... uh^1, that sounds& a lot less cool& all of a sudden./%%" - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = "\E8* ... yeah^1, that's what& I thought./" - global.msg[2] = "\E7* A woman can dream& though^1, right?/" - global.msg[3] = "\E2* And write fanfiction./" - global.msg[4] = "\E1* A LOT of fanfiction./%%" - } - break - case 810: - global.msg[0] = "\E0* Frisk^1!&* I just realized!/" - global.msg[1] = "\E3* Now that we aren't& fighting each& other.../" - global.msg[2] = "\E2* I can finally ask& you.../" - global.msg[3] = "\E0* " + chr(34) + "Would you like a& cup of tea?" + chr(34) + "/" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E0* Would you like a& cup of tea?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "& & Yes No\C" - global.msg[8] = " " - break - case 811: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = "* Oh^1!&* Well!/" - global.msg[2] = "\E3* Actually^1, the cup I& had is cold now./" - global.msg[3] = "* So you shouldn't& have it./" - global.msg[4] = "\E0* But^1, I am so& happy you said& yes./" - global.msg[5] = "\E0* As soon as I can^1,& I will make some& more for you./" - global.msg[6] = "\E0* Then we can be& great pals./%%" - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = "\E3* Oh.../" - global.msg[2] = "\E3* Okay./" - scr_undface(3, 2) - global.msg[4] = "\E2* Frisk^1! Stop^1!&* You're breaking his& big burly heart!/" - scr_asgface(5, 2) - global.msg[6] = "\E2* Um^1, it's OK^1, Undyne./" - global.msg[7] = "\E0* My heart's already& broken./" - scr_undface(8, 6) - global.msg[9] = "\E6* ASGORE^1! STOP^1!&* YOU'RE BREAKING MY& BIG BURLY HEART!/" - scr_alface(10, 9) - global.msg[11] = "\E9* Y-yeah^1, Asgore^1.&* Don't break Undyne's& heart./" - global.msg[12] = "\E2* That's my job./" - scr_undface(13, 2) - global.msg[14] = "\E2* OH MY GOD!&* YOU'RE GOING BACK& IN THE TRASH!!!/" - scr_papface(15, 0) - global.msg[16] = "\E0CAN I GO IN THE&TRASH TOO?/" - scr_undface(17, 9) - global.msg[18] = "\E9* Sure^1, Papyrus./" - scr_sansface(19, 1) - global.msg[20] = "\E1* guess i have to& go in the trash& too./" - scr_torface(21, 0) - global.msg[22] = "\E0* Oh^1, may I enter& the trash as well?/" - scr_undface(23, 1) - global.msg[24] = "\E1* Uh^1, okay?/" - scr_asgface(25, 0) - global.msg[26] = "\E0* Am I invited to& the trash?/" - scr_undface(27, 6) - global.msg[28] = "\E6* SURE!!!&* WHY NOT!!!/" - scr_torface(29, 1) - global.msg[30] = "\E1* On second thought^1,& do not put me& in the trash./" - scr_asgface(31, 5) - global.msg[32] = "\E5* Oh.../" - scr_undface(33, 1) - global.msg[34] = "\E1* OH MY GOD!!!/%%" - } - break - case 812: - global.msg[0] = "* (If you leave here^1, your& adventure will really& be over.)/" - global.msg[1] = "* (Your friends will follow& you out of the underground.)/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = " & Don't I'm& leave ready\C" - global.msg[4] = " " - break - case 813: - global.msg[0] = " %%" - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = "\E0* Oh my.../" - scr_asgface(1, 0) - global.msg[2] = "\E0* Isn't it beautiful^1,& everyone?/" - scr_alface(3, 3) - global.msg[4] = "\E3* Wow..^1. it's e-even& better than on TV./" - global.msg[5] = "\E7* WAY better^1!&* Better than I ever& imagined!/" - scr_undface(6, 1) - global.msg[7] = "\E1* Frisk^1, you LIVE with& this!?/" - global.msg[8] = "\E9* The sunlight is so& nice..^1. and the air& is so fresh!/" - global.msg[9] = "* I really feel alive!/" - scr_papface(10, 0) - global.msg[11] = "\E0HEY SANS.../" - global.msg[12] = "\E3WHAT'S THAT GIANT&BALL?/" - scr_sansface(13, 1) - global.msg[14] = "\E1* we call that& " + chr(34) + "the sun^1," + chr(34) + " my friend./" - scr_papface(15, 0) - global.msg[16] = "\E0THAT'S THE SUN!^1?&WOWIE!!!/" - global.msg[17] = "I CAN'T BELIEVE&I'M FINALLY MEETING&THE SUN!!!/" - scr_asgface(18, 0) - global.msg[19] = "\E0* I could stand here& and watch this for& hours.../" - scr_torface(20, 0) - global.msg[21] = "\E0* Yes^1, it is beautiful^1,& is it not?/" - global.msg[22] = "\E1* But we should really& think about what comes& next./" - scr_asgface(23, 3) - global.msg[24] = "\E3* Oh^1, right./" - global.msg[25] = "\E0* Everyone.../" - global.msg[26] = "* This is the beginning& of a bright new& future./" - global.msg[27] = "* An era of peace between& humans and monsters./" - global.msg[28] = "\E2* Frisk.../" - global.msg[29] = "* I have something to& ask of you./" - global.msg[30] = "\E0* Will you act as our& ambassador to the& humans?/" - global.msg[31] = "\TS \F0 \T0 %" - global.msg[32] = "* (Be the ambassador?)& & Yes No\C" - global.msg[33] = " " - break - case 815: - scr_papface(0, 0) - global.msg[1] = "WOWi, Nice error./%%" - if (global.choice == 0) - { - global.msg[1] = "\E0YEAH^1!&FRISK WILL BE THE&BEST AMBASSADOR!/" - global.msg[2] = "AND I^1, THE GREAT&PAPYRUS.../" - global.msg[3] = "WILL BE THE BEST&MASCOT!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E0IT'S OK FRISK^1!&I'VE GOT YOU&COVERED!/" - global.msg[2] = "IF YOU DON'T WANT&TO BE THE&AMBASSADOR.../" - global.msg[3] = "I CAN DO IT FOR&YOU!!!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - break - case 820: - global.msg[0] = "* Frisk.../" - global.msg[1] = "\E2* You came from this& world^1, right...?/" - global.msg[2] = "\E1* So you must have& a place to return to^1,& do you not?/" - global.msg[3] = "\E2* What will you do& now?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = " I want I have& to stay places& with you to go\C" - global.msg[6] = " " - break - case 821: - global.msg[0] = " %%" - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = "* (The door has no mail slot.)/" - global.msg[1] = "* (Slide the letter under?)& & Slide NO!!!! \C" - global.msg[2] = " " - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = "* (You slide the letter under& the door and give it a& knock.)/%%" - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* (You'll keep the letter& warm for a little longer.)/%%" - break - case 827: - global.msg[0] = "* (It's a note from Alphys.)/" - global.msg[1] = "* (Read it...?)& & Read Do not \C" - global.msg[2] = " " - break - case 828: - if (global.choice == 0) - { - global.msg[0] = "* (It's hard to read because& of the handwriting^1, but& you try your best...)/" - global.msg[1] = "* Hey./" - global.msg[2] = "* Thanks for your help back& there./" - global.msg[3] = "* You guys..^1.&* Your support really means a& lot to me./" - global.msg[4] = "* But..^1.&* As difficult as it is& to say this.../" - global.msg[5] = "* You guys alone can't& magically make my own& problems go away./" - global.msg[6] = "* I want to be a better& person./" - global.msg[7] = "* I don't want to be& afraid anymore./" - global.msg[8] = "* And for that to happen^1,& I have to be able to& face my own mistakes./" - global.msg[9] = "* I'm going to start& doing that now./" - global.msg[10] = "* I want to be clear./" - global.msg[11] = "* This isn't anyone else's& problem but mine./" - global.msg[12] = "* But if you don't ever& hear from me again.../" - global.msg[13] = "* If you want to know& " + chr(34) + "the truth." + chr(34) + "/" - global.msg[14] = "* Enter the door to the& north of this note./" - global.msg[15] = "* You all at least deserve& to know what I did./" - global.msg[16] = "* (That's all she wrote.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = "* (Buy chips for 25G?)& & Buy No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There were no chips left& in the machine.)/%%" - global.msg[1] = " " - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* (The vending machine& dispensed some chisps.)/%%" - if (afford == 0) - global.msg[0] = "* (You didn't have enough& gold.)/%%" - } - if (noroom == 1) - global.msg[0] = "* (You are carrying too& many items.)/%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 831: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?/" - global.msg[5] = "\E1* ... wait^1.&* Do not tell me./" - if (bs == 0) - global.msg[6] = "\E0* It is ERROR MESSAGE!& & Yes No \C" - if (bs == 1) - global.msg[6] = "\E0* Is it Butterscotch?& & Yes No \C" - if (bs == 2) - global.msg[6] = "\E0* Is it Cinnamon?& & Yes No \C" - global.msg[7] = " " - break - case 832: - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - if (bs == 2) - global.flag[46] = 0 - global.msg[0] = "\E0* Hee hee hee^1.&* I had a feeling./" - global.msg[1] = "\E1* When humans fall down& here^1, strangely..^1.&* I.../" - global.msg[2] = "\E1* I often feel like& I already know them./" - global.msg[3] = "\E0* Truthfully^1, when I first& saw you^1, I felt.../" - global.msg[4] = "\E1* ... like I was seeing& an old friend for& the first time./" - global.msg[5] = "\E0* Strange^1, is it not?/" - global.msg[6] = "* Well^1, thank you for& your selection./" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - if (bs == 2) - global.flag[46] = 1 - global.msg[0] = "\E1* Oh..^1. I see./" - global.msg[1] = "\E0* Well^1, thank you^1.&* Goodbye for now./" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* Click.../%%" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - break - case 833: - global.msg[0] = "* (Seems like you could skip& Mettaton's monologue by& turning him around now.)/" - global.msg[1] = "* (What will you do?)& & Skip Hear again\C" - global.msg[2] = " " - break - case 834: - if (global.choice == 0) - { - global.msg[0] = "* (You told Mettaton there& was something cool& behind him.)/%%" - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = " %%" - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = "* though.../" - global.msg[1] = "* one thing about you& always struck me& as kinda odd./" - global.msg[2] = "* now^1, i understand& acting in self-defense./" - global.msg[3] = "* you were thrown into& those situations& against your will./" - global.msg[4] = "* but.../" - global.msg[5] = "* sometimes.../" - global.msg[6] = "* you act like you& know what's gonna& happen./" - global.msg[7] = "* like you've already& experienced it all& before./" - global.msg[8] = "* this is an odd thing& to say^1, but.../" - global.msg[9] = "\W* if you have some sort& of \Yspecial power\W.../" - global.msg[10] = "* isn't it your& responsibility to do& the right thing?/" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & & Yes No\C" - global.msg[13] = " " - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* ah./" - global.msg[2] = "\E0* i see./" - global.msg[3] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* heh./" - global.msg[2] = "\E0* well^1, that's your& viewpoint./" - global.msg[3] = "\E2* i won't judge you& for it./" - global.msg[4] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = "* (Ring...)/" - scr_alface(1, 0) - global.msg[2] = "\E0* Hey!/" - global.msg[3] = "\E3* This um^1, doesn't have& anything to do with& guiding you..^1. but.../" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E6* Uhh^1, hey^1, would you want& to watch a human TV& show together???/" - global.msg[6] = "* Sometime???/" - global.msg[7] = "\E4* It's called^1, um^1,& M..^1.Mew Mew Kissy& Cutie.../" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = " & & Sure! ...no...\C" - global.msg[10] = " " - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = "* R-really!?/" - global.msg[2] = "\E3* It's so good^1!&* It's um^1, my favorite& show!/" - global.msg[3] = "* It's all about this& human girl named Mew Mew& who has cat ears!%" - global.msg[4] = "\E3* Which humans don't have!&* S-so she's all& sensitive about them!%" - global.msg[5] = "\E6* But like...&* Eventually!%" - global.msg[6] = "* She realizes that her& ears don't matter!%" - global.msg[7] = "* That her friends like& her despite the ears!%" - global.msg[8] = "\E7* It's really moving!%" - global.msg[9] = "\E5* Whoops, spoilers%" - global.msg[10] = "\E6* Also, this sounds& weird, but she has& the power!%" - global.msg[11] = "\E5* To control the minds& of anyone she kisses!%" - global.msg[12] = "\E3* She kisses people and& controls them to fix& her problems!!%" - global.msg[13] = "\E5* They don't remember& anything after the& kiss I mean!!%" - global.msg[14] = "\E3* BUT IF SHE MISSES& THE KISS!!!&* THEN!!%" - global.msg[15] = "\E4* Then^1, uh^1, and^1, uh^1,& also I mean^1, of course%" - global.msg[16] = "\E5* Eventually^1, she& realizes that& controlling people%" - global.msg[17] = "\E3* OKAY WELL I almost& spoiled the whole& show^1, but%" - global.msg[18] = "\E5* Uhhh^1, I think you'd& really like it!!!/" - global.msg[19] = "\E0* We should watch it^1!&* After you get through& all this!/" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* (Click...)/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E5* Um^1! Well^1!&* That's okay!/" - global.msg[2] = "* Just thought I'd!^1!&* Ask!!!/" - global.msg[3] = "\E6* B-but I think you'd& really like it!!/" - global.msg[4] = "* If you gave it a& chance!!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Click...)/%%" - } - break - case 839: - global.msg[0] = "\M1* Did y'hear!^1?&* You're back!/" - global.msg[1] = "\M0* I'll tell you a big secret./" - global.msg[2] = "\M1* I'm starting a band^1, y'hear?/" - global.msg[3] = "\M1* It's called the Red Hot& Chibi Peppers./" - global.msg[4] = "\M0* All I've thought of is& the name./" - global.msg[5] = "\M3* And I don't^1, play...&* Instruments^1, or sing./" - global.msg[6] = "\M1* Well^1!&* Do you think we'll be& popular!!!/" - global.msg[7] = " & & Yeah No\C" - global.msg[8] = " " - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = "\M0* Yeah^1, me too.../%%" - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = " %%" - } - break - case 845: - global.msg[0] = "* (It's a lamp.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - break - case 846: - if (global.choice == 0) - { - global.msg[0] = "* (There's no lightbulb.^1)&* (A flashlight is stuck in& the bulb socket.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = " %%" - break - case 847: - if (global.choice == 0) - global.msg[0] = "* (The flashlight is out of& batteries.)/%%" - else - global.msg[0] = " %%" - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = "* Hey^1, hey^1!&* Did you remember my name?/" - global.msg[1] = "* (Did you?)& & Yes No\C" - global.msg[2] = " " - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = "* Wh-WHAT!^1?&* You REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = "* Wh-WHAT!^1?&* You DON'T REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - break - case 853: - global.msg[0] = "* (It's a small white dog.^1)&* (It's fast asleep...)/" - global.msg[1] = "* (Fight the dog?)& & Yes No\C" - global.msg[2] = " " - break - case 854: - if (global.choice == 0) - { - global.msg[0] = "* (Can't fight the dog.)/" - global.msg[1] = "* (Seems like the fabric it's& sleeping on has too many& holes in it.)/" - global.msg[2] = "* (Seems like the dog needs& to " + chr(34) + "patch" + chr(34) + " the fabric.)/" - global.msg[3] = "* (Then you can fight the dog.^1)&* (... maybe.)/" - global.msg[4] = "* (Upon closer examination^1,& the holes in the fabric& seem to be growing.)/" - global.msg[5] = "* (Might take a while for the& dog to fix all of them.)/" - global.msg[6] = "* (Dogs aren't usually very& good at knitting.)/" - global.msg[7] = "* (A crocheting dog is out of& the question.)/%%" - } - else - global.msg[0] = "* (Let sleeping dogs lie^1, instead& of fighting them.^1)&* (That's how the saying goes.)/%%" - break - case 860: - global.msg[0] = "* (Knock knock)./" - if (global.flag[262] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Sea Tea" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a million ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = "* (You pour the Sea Tea under& the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 862: - global.msg[0] = "* (Knock knock)./" - if (global.flag[263] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Cinnamon Bun" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a trillion ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = "* (You flatten the Cinnamon Bun& until it's paper thin.)&* (You slide it under the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 864: - global.msg[0] = "* (You hear shuffling.)/" - global.msg[1] = "* (Seems like you could put& something under the door.)/" - global.msg[2] = " & & Put No Put\C" - global.msg[3] = " " - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - break - case 865: - if (global.choice == 0) - { - global.msg[0] = "* (...)/" - global.msg[1] = "* (But you didn't have anything& appealing.)/%%" - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = "* (You put a Hot Dog in front& of the door.)/" - global.msg[1] = "* (A white paw shoots out from& under the door.)/" - global.msg[2] = "* (It tries to pull the Hot Dog& into its room...)/" - global.msg[3] = "* (But it keeps pressing down too& hard^1, and the hot dog keeps& spinning away.)/" - global.msg[4] = "* (...)/" - global.msg[5] = "* (It finally succeeds.)/" - global.msg[6] = "* (...)/" - global.msg[7] = "* (You hear the grinding of& stone.)/" - global.msg[8] = "* (A single hushpuppy slides& out from under the door.)/" - global.msg[9] = "* (You got Hush Puppy.)/%%" - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = "* (You put a Hot Cat in front& of the door.)/" - global.msg[1] = "* (You hear growling...)/%%" - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = "* (You put a Dog Salad in front& of the door.^1)&* (It slides underneath.)/" - global.msg[1] = "* (...)/" - global.msg[2] = "* (The Dog Salad was absorbed& by the darkness.)/%%" - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = "* (You put a Dog Residue in& front of the door.)/" - global.msg[1] = "* (It slides underneath the door^1,& as if pulled by a magnet.)/" - global.msg[2] = "* (...)/" - if (noroom == 1) - global.msg[3] = "* (ZOMMM!!^1!)&* (It shoots back out at a& high speed!)/%%" - else - global.msg[3] = "* (Two Dog Residues slowly slide& back out from underneath& the door.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 866: - global.msg[0] = "* Yes^1, we know^1.&* The elevator to the city& is NOT working./" - global.msg[1] = "* Because of this incident^1, rooms& are running at a special rate!/" - global.msg[2] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[3] = " " - if (global.flag[267] == 2) - { - global.msg[0] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[1] = " " - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = "* Did you enjoy your stay?/" - global.msg[1] = "* What^1?&* Room..^1.&* Key?/" - global.msg[2] = "* No^1, we don't do that./" - global.msg[3] = "* If you leave your room^1,& you'll have to pay again./" - global.msg[4] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[5] = " " - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* Fabulous^1!&* We'll escort you to your& room!/%%" - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = "* ... that's not enough money./%%" - } - else - global.msg[0] = "* Do let us know if you& change your mind^1.&* Have a sparkular day!/%%" - break - case 870: - global.msg[0] = "* ... MY ONE TRUE LOVE?/" - global.msg[1] = "* .../" - global.msg[2] = "* (YOU LOOK BORED^1, DARLING.)/" - global.msg[3] = "* (I WANT THIS TO BE A STELLAR& PERFORMANCE^1, SO IF YOU& WON'T GIVE IT YOUR ALL...)/" - global.msg[4] = "* (THEN I'LL SKIP AHEAD FOR& THE AUDIENCE'S SAKE.)/" - global.msg[5] = "* (Perform?)& & Yeah Skip this\C" - global.msg[6] = " " - break - case 871: - if (global.choice == 0) - global.msg[0] = "* (UNDERSTOOD.^1)&* (LET'S KNOCK 'EM DEAD!)/%%" - else - { - global.msg[0] = "* (KA-SIGH...^1)&* (THE SHOW MUST GO ON!)/%%" - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = "Interesting./" - global.msg[1] = "You want to go back./" - global.msg[2] = "You want to go bac^1k&to the worl^2d&you destroyed./" - global.msg[3] = "It was you who pushed&everythin^1g to its edge./" - global.msg[4] = "It was you who led the worl^1d&to its destruction./" - global.msg[5] = "But you cannot accept it./" - global.msg[6] = "You think you are above&consequences.& Yes No\C" - global.msg[7] = "" - break - case 889: - if (global.choice == 0) - global.msg[0] = "Exactly./%%" - else - global.msg[0] = "Then what are you looking for?/%%" - break - case 890: - global.msg[0] = "Perhaps./" - global.msg[1] = "We can reach a compromise./" - global.msg[2] = "You still have somethin^1g&I want./" - global.msg[3] = "Give it to me./" - global.msg[4] = "And I will bring this&world back./" - global.msg[5] = " & & Yes No\C" - global.msg[6] = "" - break - case 891: - if (global.choice == 0) - { - global.msg[0] = "Then it is agreed./" - global.msg[1] = "You will give me your SOUL.& & Yes No\C" - global.msg[2] = " " - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = ".../" - global.msg[1] = "Then^1, it is done./%%" - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 900: - global.msg[0] = "* hey./" - global.msg[1] = "* is your refrigerator& running?/" - global.msg[2] = " & & yes no\C" - global.msg[3] = " " - break - case 901: - if (global.choice == 0) - global.msg[0] = "* nice^1.&* i'll be over to deposit& the brewskis./%%" - else - { - global.msg[0] = "* ok^1, i'll send someone& over to fix it./" - global.msg[1] = "* thanks for letting me& know./" - global.msg[2] = "* good communication is& important./%%" - } - break - case 1001: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = " * Check * Console& * Terrorize" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = " * Check * Talk& * Devour * Dinner" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = " * Check * Pick On& * Don't Pick On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = " * Check * Flirt& * Threat * Cheer" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = " * Check * Pet" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = " * Check * Pet& * Pet * Pet & * Pet * Pet " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = " * Check * Agree& * Clash * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = " * Check * Compliment& * Ignore * Steal" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = " * Check * Compliment" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = " * Check * Ditch" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = " * Check * Decorate& * Undecorate * Gift" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = " * Check * Flex& * Shoo" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = " * Check * Flex& * Feed Temmie * Talk& Flakes " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = " * Check * Flirt& * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = " * Check * Clean& * Touch * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = " * Check * Smile& * Hum * Conduct" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = " * Check * Plead& * Challenge" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = " * Check * Cry" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = " * Check * Flirt& * Approach" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = " * Check * Criticize& * Encourage * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = " * Check * Cool Down& * Heat Up * Invite" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = (((("\W * Check * Struggle& * Pay " + string(global.flag[382])) + "G& \YYour Money: ") + string(global.gold)) + "G \W ") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = " * Check * Yell" - if (global.flag[385] > 0) - global.msg[0] = "\W * Check \Y* Yellow \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = " * Check * Fake Attack" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = " * Check * Talk & * Stare * Clear Mind" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = " * Check * Talk & * Sing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = " * Check * Defuse Bomb" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = " * Check * Burn" - if (global.flag[424] > 0) - global.msg[0] = "\W * Check \Y* Turn \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = " * Check * Boast& * Pose * Heel Turn" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = " * Call * Hum& * Scream * Flex& * Unhug * Cry" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = " * Check * Pick On& * Mystify * Clean& * Hum * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = " * Check * ITEM & * STAT * CELL" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = " * Check * Join& * Refuse" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = " * Fake Hit * Recipe& * Smile * Clash" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = " * Encourage * Call & * Nerd Out * Quiz" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = " * Joke * Puzzle & * Recipe * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = " * Take break * Joke & * Judgment * Crossword" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = " * Talk * Mercy & * Hug * Preference" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = " * Talk * Mercy & * Stare * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = " * Check * Switch& * Fix * Lie Down" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = " * Check * Hiss& * Devour * Snack" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = " * Check * Applaud& * Boo * Nothing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = " * Check * Something" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = " * Check * Draw" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = " * Check * Hope & * Dream" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = " * Error" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = " * Struggle" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = "\W * Undyne " - else - global.msg[0] = "\W \Y* (Saved) \W " - if (global.flag[506] == 0) - global.msg[0] += "* Alphys \W &" - else - global.msg[0] += "\Y* (Saved)\W &" - if (global.flag[507] == 0) - global.msg[0] += "\W * Papyrus * Sans \W &" - else - global.msg[0] += "\Y * (Saved) * (Saved)\W &" - if (global.flag[508] == 0) - global.msg[0] += "\W * Toriel * Asgore \W " - else - global.msg[0] += "\Y * (Saved) * (Saved)\W " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = " * Someone else" - if (global.flag[501] == 3) - global.msg[0] = " * Asriel Dreemurr" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = "* Dialing..\E0.\TT /" - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You only wanted to& say hello...^2?&* Well then./" - global.msg[4] = "\E0* 'Hello!'/" - global.msg[5] = "* I hope that suffices^1.&* Hee hee./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 2) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You want to say& hello again?/" - global.msg[4] = "* 'Salutations!'/" - global.msg[5] = "* Is that enough?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Are you bored^1?&* I should have given& a book to you./" - global.msg[4] = "* My apologies./" - global.msg[5] = "* Why not use your& imagination to& divert yourself?/" - global.msg[6] = "* Pretend you are..^1.&* A monarch!/" - global.msg[7] = "* Rule over the leaf pile& with a fist of iron./" - global.msg[8] = "* Can you do that for me?/" - global.msg[9] = "\TS \F0 \T0 %" - global.msg[10] = "* Click.../%%" - } - if (global.flag[40] > 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Hello^1, my child./" - global.msg[4] = "\E1* Sorry^1, I do not have& much to say./" - global.msg[5] = "\E0* It was nice to hear& your voice^1, though^1./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - break - case 1502: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* Help with a puzzle^1.^1.^1.?/" - global.msg[4] = "* Um^1, you have not& left the room^1, have you?/" - global.msg[5] = "\E0* Wait patiently for& me and we can solve& it together!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1503: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* You want to know& more about me?/" - global.msg[4] = "* Well^1, I am afraid there& is not much to say./" - global.msg[5] = "\E0* I am just a silly little& lady who worries too& much!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1504: - global.flag[42] = 1 - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E8* Huh^2?&* Did you just call& me... " + chr(34) + "Mom" + chr(34) + "?/" - global.msg[4] = "\E1* Well...&* I suppose.../" - global.msg[5] = "* Would that make you& happy?/" - global.msg[6] = "* To call me..^2.&* " + chr(34) + "Mother?" + chr(34) + "/" - global.msg[7] = "\E0* Well then^1, call me& whatever you like!/!" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E8* ...^2 huh???/" - global.msg[3] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[4] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[5] = "* You can certainly find& better than an old woman& like me./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[41] == 2) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E1* Oh dear,^1 are you& serious...?/" - global.msg[3] = "\E1* I do not know if this is& pathetic,^1 or endearing./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - if (global.flag[42] == 1) - { - global.msg[3] = "\E8* And after you said you& want to call& me " + chr(34) + "mother..." + chr(34) + "/" - global.msg[4] = "\E0* You are an...^2 & \E1... " + chr(34) + "interesting" + chr(34) + "& child./" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* But nobody came./%%" - } - else - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* Nobody picked up./%%" - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* The ringing is coming from& inside your inventory./%%" - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = "* Dialing...\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hey^1, you silly& child./" - global.msg[3] = "* If you want to& talk to me^1, I am& right here./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - break - case 1508: - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* (Somewhere^1, signals deflected& by a dog.)/%%" - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = "* (No response.^1)&* (Their phone might be out& of batteries.)/%%" - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = "* (The box is aclog with the& the hair of a dog.)/%%" - break - case 2001: - global.msg[0] = "\E2* Welcome to your new& home,^1 innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of& the RUINS./%" - break - case 2002: - global.faceplate = 1 - global.msg[0] = "\E8* ...^2 huh???/" - global.msg[1] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[2] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[3] = "* You can certainly find& better than an old woman& like me./%" - break - case 3002: - global.msg[0] = "* You encountered the Dummy." - global.msg[1] = "%%%" - break - case 3003: - global.msg[0] = "* Froggit attacks you!" - global.msg[1] = "%%%" - break - case 3004: - global.msg[0] = "* Froggit hopped close!" - global.msg[1] = "%%%" - break - case 3005: - global.msg[0] = "* Whimsun approached meekly!" - global.msg[1] = "%%%" - break - case 3006: - global.msg[0] = "* Froggit and Whimsun drew near!" - global.msg[1] = "%%%" - break - case 3007: - global.msg[0] = "* Moldsmal blocked the way!" - global.msg[1] = "%%%" - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 18d1db209..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml deleted file mode 100644 index 7865cee5e..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml +++ /dev/null @@ -1,103 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - n += 2 - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "P") - script_execute(SCR_TEXTSETUP, 4, 255, x, y, (x + 150), 43, 4, 94, 10) - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - } - if (global.inbattle == 1) - halt = 5 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_OBJ_WRITER_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_OBJ_WRITER_Draw_0.gml deleted file mode 100644 index 241521ad2..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_OBJ_WRITER_Draw_0.gml +++ /dev/null @@ -1,255 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "L") - mycolor = $FFA914 - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "z") - { - sym = real(string_char_at(originalstring, (n + 2))) - sym_s = spr_infinitysign - if (sym == 4) - sym_s = spr_infinitysign - if (sym == 4) - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - if (myfont == fnt_comicsans) - { - if (myletter == "w") - myx += 2 - if (myletter == "m") - myx += 2 - if (myletter == "i") - myx -= 2 - if (myletter == "l") - myx -= 2 - if (myletter == "s") - myx -= 1 - if (myletter == "j") - myx -= 1 - } - if (myfont == fnt_papyrus) - { - if (myletter == "D") - myx += 1 - if (myletter == "Q") - myx += 3 - if (myletter == "M") - myx += 1 - if (myletter == "L") - myx -= 1 - if (myletter == "K") - myx -= 1 - if (myletter == "C") - myx += 1 - if (myletter == ".") - myx -= 3 - if (myletter == "!") - myx -= 3 - if (myletter == "O" || myletter == "W") - myx += 2 - if (myletter == "I") - myx -= 6 - if (myletter == "T") - myx -= 1 - if (myletter == "P") - myx -= 2 - if (myletter == "R") - myx -= 2 - if (myletter == "A") - myx += 1 - if (myletter == "H") - myx += 1 - if (myletter == "B") - myx += 1 - if (myletter == "G") - myx += 1 - if (myletter == "F") - myx -= 1 - if (myletter == "?") - myx -= 3 - if (myletter == "'") - myx -= 6 - if (myletter == "J") - myx -= 1 - } - n += nskip -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_flowey_writer_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_flowey_writer_Draw_0.gml deleted file mode 100644 index aa57ccad5..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_flowey_writer_Draw_0.gml +++ /dev/null @@ -1,181 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "f") - global.typer = 9 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else if (global.typer == 70 || global.typer == 71 || global.typer == 74 || global.typer == 75 || global.typer == 76 || global.typer == 77) - draw_text_transformed((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter, 2, 2, 0) - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - n += nskip -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 9a5ea7df7..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,398 +0,0 @@ -buffer -= 1 -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if keyboard_multicheck_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ini_close() - room_goto(room_intromenu) -} -draw_set_color(c_white) -draw_set_font(fnt_maintext) -if (weather != 3) - draw_text_transformed(100, 10, "JOYSTICK CONFIG", 2, 2, 0) -else - draw_text_transformed(10, 10, "JOYSTICK CONFIG", 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, "EXIT") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = "CONFIRM - [Z + ENTER] ::" - if (i == 2) - itext = "CANCEL - [X + SHIFT] ::" - if (i == 3) - itext = "MENU - [C + CTRL] ::" - draw_text(20, (60 + (i * 15)), itext) - draw_set_color(c_white) -} -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 75, 245, 90, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 75, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 90, 245, 105, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 90, "(PUSH BUTTON)") - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 90, global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 105, 245, 120, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 105, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 105, global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, "ANALOG SENSITIVITY:") -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense -= global.analog_sense_sense - if keyboard_check(vk_left) - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text_transformed(20, 150, "ANALOG SENSITIVITY SENSITIVITY:", 0.6, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense_sense -= 0.01 - if keyboard_check(vk_left) - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, "DIR CHOICE:") -if (global.joy_dir == 0) - draw_text(100, 170, "NORMAL") -if (global.joy_dir == 1) - draw_text(100, 170, "ANALOG ONLY") -if (global.joy_dir == 2) - draw_text(100, 170, "POV ONLY") -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, 185, r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, 185, "RESET TO DEFAULT") -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = "SPAGHETTI..." - else - r_line = "RESETTED..." - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 200, "CONTROL TEST") -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "cold outside#but stay warm#inside of you", 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "spring time#back to school", 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "try to withstand#the sun's life-#giving rays", 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "sweep a leaf#sweep away a#troubles", 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - draw_rectangle((168 - rectile), -10, -1, 250, false) - draw_set_color(c_black) - draw_rectangle((152 + rectile), -10, 330, 250, false) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 7b8438b88..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = "PET?" - if (gg == 1) - global.msg[0] = "PAT?" - if (gg == 2) - global.msg[0] = "POT?" - global.msg[1] = "%%%" - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_readable_room1_Alarm_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_readable_room1_Alarm_0.gml deleted file mode 100644 index ca62366f8..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_readable_room1_Alarm_0.gml +++ /dev/null @@ -1,480 +0,0 @@ -myinteract = 3 -global.msc = 0 -global.typer = 5 -global.facechoice = 0 -global.faceemotion = 0 -global.msg[0] = "%%" -if (room == room_ruins2) - global.msg[0] = "* Only the fearless may proceed.&* Brave ones, foolish ones.&* Both walk not the middle road./%%" -if (room == room_ruins3) - global.msg[0] = "* Stay on the path./%%" -if (room == room_ruins5) - global.msg[0] = "* The western room is the& eastern room's blueprint./%%" -if (room == room_ruins9) - global.msg[0] = "* Three out of four grey rocks& recommend you push them./%%" -if (room == room_ruins13) - global.msg[0] = "* (There's an ant-sized frog in& a crack in the wall...^1)&* (It waves at you.)/%%" -if (room == room_ruins14) - global.msg[0] = "* There is just one switch./%%" -if (room == room_ruins15A) - global.msg[0] = "* The far door is not an exit^1.&* It simply marks a rotation& in perspective./%%" -if (room == room_ruins15B) - global.msg[0] = "* If you can read this^1,& press the blue switch./%%" -if (room == room_ruins15C) - global.msg[0] = "* If you can read this^1,& press the red switch./%%" -if (room == room_ruins15D) - global.msg[0] = "* If you can read this^1,& press the green switch./%%" -if (room == room_torhouse1) - global.msg[0] = "* These books are worn...&* They must have been read& many times./%%" -if (room == room_asghouse1) -{ - global.msg[0] = "* (There's an old calendar from& the end of 201X.^1)&* (A date is circled on it.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (The date I came here.)/%%" -} -if (room == room_torhouse2) - global.msg[0] = "* The ends of the tools have& been filed down to& make them safer./%%" -if (room == room_asghouse2) - global.msg[0] = "* Seems like gardening tools./%%" -if (room == room_asrielroom) - global.msg[0] = "* Look at these cool toys^2!&* They don't interest you& at all./%%" -if (room == room_asrielroom_final) - global.msg[0] = "* (Dusty toys.)/%%" -if (room == room_castle_finalshoehorn) - global.msg[0] = "* Throne Room/%%" -if (room == room_castle_coffins2) -{ - global.msg[0] = "* (It's a coffin.^1)&* (There's a name engraved on& it.)/" - global.msg[1] = (('* ("' + global.charname) + '.")/') - global.msg[2] = "* (It's empty.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (The coffin is empty...?)/" - global.msg[1] = "* (You didn't notice before^1,& but there's something like...)/" - global.msg[2] = "* (... mummy wrappings at the& bottom of it.)/%%" - } - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (It's as comfortable as it& looks.)/%%" -} -if (room == room_torielroom) -{ - global.msc = 524 - if (x > 192) - { - global.msc = 0 - global.msg[0] = "* You peek inside..^2.&* Scandalous!/" - global.msg[1] = "* It's TORIEL's sock& collection./%%" - if (read > 0) - global.msg[0] = "* You can't stop looking& at the socks./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (You came all the way& back here to look at& Toriel's socks.)/" - global.msg[1] = "* (You have great priorities& in life.)/%%" - } - } -} -if (room == room_asgoreroom) -{ - global.msg[0] = "* It's a clothes drawer^1.&* There are robes^1, button-up& shirts.../" - global.msg[1] = "* ... and a pink^1, hand-knit& sweater that says& " + chr(34) + "Mr. Dad Guy." + chr(34) + "/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* Still has that sweater./%%" - if (y > 120) - global.msg[0] = "* (It's just a chair.)/%%" -} -if (room == room_castle_throneroom) - global.msg[0] = "* (It's a throne.)/%%" -if (room == room_torhouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_asghouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_kitchen) - global.msg[0] = "* For some reason^1, there& is a brand-name chocolate& bar in the fridge./%%" -if (room == room_kitchen_final) -{ - global.msg[0] = "* (The fridge is full of& unopened containers of& snails.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* No chocolate./%%" -} -if (room == room_tundra1) - global.msg[0] = "* ...!^1?&* There's a camera hidden& in the bushes./%%" -if (room == room_tundra8A) - global.msg[0] = "* (His.)/%%" -if (room == room_tundra_snowpuzz) -{ - if (global.plot <= 48) - global.msg[0] = "* There's a switch hidden& in the snow^1.&* Click!/%%" - if (global.plot > 48) - global.msg[0] = "* The switch is stuck now./%%" - if (global.flag[64] == 0) - global.flag[64] = 1 - if (global.plot <= 48) - global.plot = 49 - if (scr_murderlv() >= 3) - global.msg[0] = "* There's a switch here^1.&* It's been depressed with& vines./%%" -} -if (room == room_tundra_lesserdog) - global.msg[0] = "* On the floor inside is& a box of pomeraisins./%%" -if (room == 9999999) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are super crap./" - global.msg[2] = "* When monsters die^1, their& bodies turn into dust./" - global.msg[3] = "* One time this kid at my school& went missing for a week and& everyone thought he was dead.../" - global.msg[4] = "* But then he came back!!!/" - global.msg[5] = "* Turns out he was visiting his& girlfriend in Hotland and& and didn't tell anyone!/" - global.msg[6] = "* To be scientific^1, it sucks& that no one ever knows& if anyone's dead or alive./" - global.msg[7] = "* So yeah^1, what do we do at& funerals^1, anyway?/" - global.msg[8] = "* Professionally speaking:/" - global.msg[9] = "* DUH!!!/" - global.msg[10] = "* We pour the dust on whatever& that person liked./" - global.msg[11] = "* Then they will live on..^1.& ... in that object...& ... symbolically.../" - global.msg[12] = "* Uhhh^1, did I reach the page& minimum yet^1?&* I'm kinda sick of writing./%%" -} -if (room == room_tundra_library) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are cool as heck./" - global.msg[2] = "* When monsters get old and& kick the bucket^1, they turn& into dust./" - global.msg[3] = "* At funerals^1, we take that& dust and spread it on that& person's favorite thing./" - global.msg[4] = "* Then their essence will live& on in that thing.../" - global.msg[5] = "* Uhhh^1, am I at the page& minimum yet^1?&* I'm kinda sick of writing this./%%" -} -if (room == room_tundra_inn) -{ - global.msg[0] = "\W* Mom says that sleeping& can recover your health& \Yabove your maximum HP\W./" - global.msg[1] = "* ... what's maximum HP?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* Mom says that we can& go to the surface world& now!/" - global.msg[1] = "* ... what's so great about& that^1, anyway^1?&* I don't wanna move./%%" - } - if (scr_murderlv() >= 7) - global.msg[0] = "* (It's merely a decoy.)/%%" -} -if (room == room_water12) -{ - global.msg[0] = "* " + chr(34) + "The power to take their& SOULs." + chr(34) + "/" - global.msg[1] = "* " + chr(34) + "This is the power that& the humans feared." + chr(34) + "/%%" -} -if (room == room_water7) -{ - global.msg[0] = "* (Ancient writing covers the& walls..^1. you can just make& out the words.)/" - global.msg[1] = "* " + chr(34) + "The War of Humans and& Monsters." + chr(34) + "/%%" -} -if (room == room_water14) - global.msg[0] = "* The northern room hides a& great treasure./%%" -if (room == room_water15) -{ - global.msg[0] = "* Hurt, beaten, and fearful for& our lives, we surrendered& to the humans./" - global.msg[1] = "* Seven of their greatest& magicians sealed us underground& with a magic spell./" - global.msg[2] = "* Anything can enter through the& seal, but only beings with a& powerful SOUL can leave./%%" -} -if (room == room_water19) -{ - global.msg[0] = "* However...&* There is a prophecy./" - global.msg[1] = "* The Angel...&* The One Who Has Seen The& Surface.../" - global.msg[2] = "* They will return.&* And the underground will go& empty./%%" -} -if (room == room_water_nicecream) - global.msg[0] = "* The ancient glyphs have been& painted over with a list of& 21 different flavors./%%" -if (room == room_water_prebird) - global.msg[0] = "* Achoo^1!&* Tried to catch a bug^1, but& I just caught a cold.../%%" -if (room == room_water_preundyne) -{ - global.msg[0] = "* The humans, afraid of our& power^1, declared war on us./" - global.msg[1] = "* They attacked suddenly, and& without mercy./%%" -} -if (room == room_water17) - global.msg[0] = "* Without candles or magic to& guide them Home^1, the monsters& used crystals to navigate./%%" -if (room == room_water20) -{ - if instance_exists(obj_monsterkidtrigger7) - obj_monsterkidtrigger7.con = 80 - cantalk = 0 -} -if (room == room_fire_lab1) -{ - global.msg[0] = "* (It's a beat-up figurine& of a female human with& cat ears.)/%%" - if (global.plot < 126 && scr_murderlv() < 12) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" -} -if (room == room_fire_lab2) - global.msg[0] = "* (Scientific books.^1)&* (They seem very dusty.)/%%" -if (room == room_fire_cookingshow) -{ - global.msg[0] = "* (It's a fridge.^1)&* (It's strangely warm.)/%%" - if (global.plot < 134) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" - if instance_exists(obj_mettaton_npc) - { - global.typer = 27 - global.msg[0] = "* MILK^1? EGGS^1? IN THE FRIDGE?/" - global.msg[1] = "* NO WAY^1, DARLING^1!&* THEY'D GET COLD!!!/%%" - } - if (global.plot == 134) - { - snd_play(snd_phone) - global.typer = 5 - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* Um^1, is it really& a good idea to be& getting a snack?/" - global.msg[3] = "\E8* Well^1, I guess I& really shouldn't& judge you.../" - global.msg[4] = "\E0* After all^1, I'm the& one eating potato& chips in my PJs!/" - global.msg[5] = "\E5* Uhhh^1, I mean..^1.&* H-hey^1, go over to& the right!/%%" - if (specialread > 0) - { - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* H-hey^1!&* Head over to the& right!/%%" - } - specialread += 1 - } -} -if (room == room_water_undynehouse) -{ - global.typer = 37 - global.facechoice = 5 - global.faceemotion = 4 - global.msc = 0 - if (x > 180) - { - global.msg[0] = "* I hate cold food./" - global.msg[1] = "\E0* So Alphys fixed up& my fridge so it& heats up food instead!/" - global.msg[2] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - if (read > 0) - global.msg[0] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - } - else - { - global.faceemotion = 0 - global.msg[0] = "* This oven is some& top-of-the-line& MTT thing./" - global.msg[1] = "\E4* But^1, y'know^1, as much& as technology& advances.../" - global.msg[2] = "\E0* Nothing beats food& home-cooked with& fire magic./%%" - } -} -if (room == room_fire_spidershop) -{ - global.msg[0] = "* (It looks like some sort of& powerful bracelet...)/" - global.msg[1] = "* (Wait.^1)&* (It's just a croissant...)/%%" -} -if (room == room_fire_hotelfront_2) - global.msg[0] = "* (It's just a regular wall.)/%%" -if (room == room_fire_core_branch) - global.msg[0] = "* (East...)&* (The End.)/%%" -if (room == room_fire_core_left) - global.msg[0] = "* (Solve this puzzle,& and The End will open.)/%%" -if (room == room_fire_core_top) - global.msg[0] = "* (Traverse the northern& room^1, and The End will& open.)/%%" -if (room == room_fire_core_right) -{ - global.msg[0] = "* (I cannot fight.)&* (I cannot think.)/" - global.msg[1] = "* (But^1, with patience^1,& I will make my way& through.)/%%" -} -if (room == room_fire_core_center) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_treasureleft) - global.msg[0] = "* (Why not relax and have& a nice snack?)/%%" -if (room == room_fire_core_treasureright) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_metttest) -{ - global.msg[0] = "* (It's completely trashed.^1)&* (There's no way it could& ever be repaired.)/%%" - if (global.flag[425] == 0) - global.msg[0] = "* (It's out of batteries.)/%%" -} -if (room == room_truelab_hall1) -{ - global.msg[0] = "* ENTRY NUMBER 1/" - global.msg[1] = "* This is it..^1.&* Time to do what the King& has asked me to do./" - global.msg[2] = "* I will create the power to& free us all./" - global.msg[3] = "* I will unleash the power of& the SOUL./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hub) -{ - global.msg[0] = "* POWER ROOM/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall2) -{ - global.msg[0] = "* ENTRY NUMBER 6/" - global.msg[1] = "* ASGORE asked everyone& outside the city for monsters& that had " + chr(34) + "fallen down." + chr(34) + "/" - global.msg[2] = "* Their bodies came in today./" - global.msg[3] = "* They're still comatose..^1.&* And soon^1, they'll all& turn into dust./" - global.msg[4] = "* But what happens if I& inject " + chr(34) + "determination" + chr(34) + " into& them?/" - global.msg[5] = "* If their SOULS persist& after they perish^1, then.../" - global.msg[6] = "* Freedom might be closer& than we all thought./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_operatingroom) -{ - global.msg[0] = "* ENTRY NUMBER 9/" - global.msg[1] = "* things aren't going well./" - global.msg[2] = "* none of the bodies have& turned into dust^1, so I& can't get the SOULs./" - global.msg[3] = "* i told the families that& i would give them the& dust back for the funerals./" - global.msg[4] = "* people are starting to& ask me what's happening./" - global.msg[5] = "* what do i do?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_prebed) -{ - global.msg[0] = "* ENTRY NUMBER 12/" - global.msg[1] = "* nothing is happening^1.&* i don't know what to do./" - global.msg[2] = "* i'll just keep injecting& everything with& " + chr(34) + "determination." + chr(34) + "/" - global.msg[3] = "* i want this to work./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_bedroom) -{ - global.msg[0] = "* ENTRY NUMBER 14/" - global.msg[1] = "* Everyone that had fallen& down.../" - global.msg[2] = "* ... has woken up./" - global.msg[3] = "* They're all walking around& and talking like nothing& is wrong./" - global.msg[4] = "* I thought they were& goners...?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_mirror) -{ - global.msg[0] = "* ENTRY NUMBER 7/" - global.msg[1] = "* We'll need a vessel to& wield the monster SOULs& when the time comes./" - global.msg[2] = "* After all^1, a monster& cannot absorb the SOULs& of other monsters./" - global.msg[3] = "* Just as a human cannot& absorb a human SOUL.../" - global.msg[4] = "* So then.../" - global.msg[5] = "* What about something that's& neither human nor monster?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall3) -{ - global.msg[0] = "* ENTRY NUMBER 15/" - global.msg[1] = "* Seems like this research& was a dead end.../" - global.msg[2] = "* But at least we got a& happy ending out of it...?/" - global.msg[3] = "* I sent the SOULS back to& ASGORE^1, returned the& vessel to his garden..../" - global.msg[4] = "* And I called all of the& families and told them& everyone's alive./" - global.msg[5] = "* I'll send everyone back& tomorrow. :) /%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* ENTRY NUMBER 17/" - global.msg[1] = "* monsters' physical forms& can't handle " + chr(34) + "determination" + chr(34) + "& like humans' can./" - global.msg[2] = "* with too much determination^1,& our bodies begin to break& down./" - global.msg[3] = "* everyone's melted together.../%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* DT EXTRACTION MACHINE&* STATUS: INACTIVE/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_tv) -{ - global.msg[0] = "* ENTRY NUMBER 4/" - global.msg[1] = "* I've been researching humans& to see if I can find any& info about their SOULS./" - global.msg[2] = "* I ended up snooping around& the castle...&* And found these weird tapes./" - global.msg[3] = "* I don't feel like ASGORE's& watched them.../" - global.msg[4] = "* I don't think he should./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_fan) - global.msc = 780 -if (room == room_truelab_cooler) -{ - global.msg[0] = "* ENTRY NUMBER 19/" - global.msg[1] = "* the families keep calling& me to ask when everyone& is coming home./" - global.msg[2] = "* what am i supposed to say?/" - global.msg[3] = "* i don't even answer the& phone anymore./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" - if (global.flag[490] == 0) - global.msg[0] = "* (It's too dark to see near& the walls.)/%%" -} -if (room == room_truelab_prepower) -{ - global.msg[0] = "* (Seems to be turned off.)/%%" - if (global.flag[485] == 1) - { - global.msg[0] = "* ENTRY NUMBER 8/" - global.msg[1] = "* I've chosen a candidate./" - global.msg[2] = "* I haven't told ASGORE yet^1,& because I want to surprise& him with it.../" - global.msg[3] = "* In the center of his& garden^1, there's something& special./" - global.msg[4] = "* The first golden flower^1,& that grew before all the& others./" - global.msg[5] = "* The flower from the outside& world./" - global.msg[6] = "* It appeared just before& the queen left./" - global.msg[7] = "* I wonder.../" - global.msg[8] = "* What happens when something& without a SOUL gains& the will to live?/%%" - } -} -if (room == room_truelab_elevatorinside) - global.msg[0] = "* (None of the buttons work.^1)&* (It seems to have lost power.)/%%" -if (room == room_castle_elevatorout) - global.msg[0] = "* (The door is jammed shut& with vines.)/%%" -if (room == room_truelab_castle_elevator) - global.msg[0] = "* (Seems like another elevator& has lost its power.)/%%" -if (room == room_tundra_grillby) - global.msg[0] = "* (The jukebox is broken.)/%%" -if (room == room_water_blookyard) - global.msg[0] = "* (It's locked.)/%%" -if (room == room_tundra_sansroom) - global.msg[0] = "* (It's a worn mattress.^1)&* (The sheets are bunched up in a& weird^1, creasy ball.)/%%" -if (room == room_tundra_sansbasement) -{ - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (He looks happy.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (... and^1, one photo of you& standing with Sans and all& your friends.)/" - global.msg[3] = "* (He looks happy.)/%%" - } - if (global.flag[279] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of..^1. Huh?)/" - global.msg[2] = "* (A card is sticking out from& the back flap of the binder.)/" - global.msg[3] = "* (It's a poorly drawn picture& of three smiling people.^1)&* (Written on it...)/" - global.msg[4] = "* " + chr(34) + "don't forget." + chr(34) + "/%%" - } -} -if (room == room_fire_pacing) -{ - global.msg[0] = "* (It's a poster for Mettaton's& latest stage performance.)/" - global.msg[1] = "* (A tragic tale of two star-& crossed lovers^1, kept apart& by the tides of fate...)/" - global.msg[2] = "* (Looks like it's almost time& for the performance.)/%%" -} -if (room == room_fire_hoteldoors) - global.msg[0] = "* (It's locked from the inside.)/%%" -if (room == room_fire_hotellobby) -{ - global.msg[0] = "* (There's an inscription on& this fountain.)/" - global.msg[1] = "* Royal Memorial Fountain&* Built 201X&* (Mettaton Added Last Week)/%%" -} -if (room == room_fire_restaurant) -{ - global.msg[0] = "* (It's a Wall of Fame full of& quotes and photos from visiting& celebrities.)/" - global.msg[1] = "* " + chr(34) + "The food is to die for!^1" + chr(34) + "&* " + chr(34) + "Gorgeous style and fragrance!^1" + chr(34) + "&* " + chr(34) + "My face tastes beautiful!" + chr(34) + "/" - global.msg[2] = "* (... these are all Mettaton.)/%%" -} -if (room == room_fire_hotelbed) -{ - global.msg[0] = "* (It's a lamp.^1)&* (There's no lightswitch.)/" - global.msg[1] = "* (It says that stars make& their own light...)/%%" -} -if (room == room_water_temvillage) - global.msg[0] = "* (Rich history of Tem.)/%%" -read += 1 -if (cantalk == 1) - mydialoguer = instance_create(0, 0, obj_dialoguer) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index d03c73c02..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - draw_set_font(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, "Exit") - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if keyboard_check_pressed(vk_return) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - draw_set_font(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (keyboard_check_pressed(vk_return) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_truechara_Step_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_truechara_Step_0.gml deleted file mode 100644 index 0b3663c04..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_truechara_Step_0.gml +++ /dev/null @@ -1,192 +0,0 @@ -if (con == 1) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Greetings./" - global.msg[1] = (("I^2 am " + global.charname) + "./%%") - instance_create(220, 320, OBJ_WRITER) - con = 2 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - caster_loop(ch_sfx1, 1, 1) - con = 3 - alarm[4] = 60 -} -if (con == 4) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Thank you./" - global.msg[1] = "Your power awakened&me from death./" - global.msg[2] = 'My "human soul."/' - global.msg[3] = 'My "determination."/' - global.msg[4] = "They were not mine^1,&but YOURS./" - global.msg[5] = "At first^1, I&was so confused./" - global.msg[6] = "Our plan had failed^1,&hadn't it?/" - global.msg[7] = "Why was I brought&back to life?/" - global.msg[8] = ".../" - global.msg[9] = "You./" - global.msg[10] = "With your guidance./" - global.msg[11] = "I realized the purpose&of my reincarnation./" - global.msg[12] = "Power./" - global.msg[13] = "Together^1, we eradicated&the enemy and became&strong./" - global.msg[14] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[15] = "Every time a number&increases^1, that&feeling.../" - global.msg[16] = "That's me./" - global.msg[17] = (('"' + global.charname) + '."/') - global.msg[18] = "Now./" - global.msg[19] = "Now, we have reached&the absolute./" - global.msg[20] = "There is nothing&left for us here./" - global.msg[21] = "Let us erase this&pointless world^1, and&move on to the next./%%" - if file_exists("system_information_963") - { - global.msg[0] = (('"' + global.charname) + '."/') - global.msg[1] = "The demon that comes&when people call&its name./" - global.msg[2] = "It doesn't matter when./" - global.msg[3] = "It doesn't matter where./" - global.msg[4] = "Time after time,&I will appear./" - global.msg[5] = "And, with your help./" - global.msg[6] = "We will eradicate the&enemy and become&strong./" - global.msg[7] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[8] = "Every time a number&increases^1, that&feeling.../" - global.msg[9] = "That's me./" - global.msg[10] = (('"' + global.charname) + '."/') - global.msg[11] = ".../" - global.msg[12] = "But./" - global.msg[13] = "You and I are not&the same^1, are we?/" - global.msg[14] = "This SOUL resonates&with a strange&feeling./" - global.msg[15] = "There is a reason&you continue to&recreate this world./" - global.msg[16] = "There is a reason&you continue to&destroy it./" - global.msg[17] = "You./" - global.msg[18] = "You are wracked with&a perverted&sentimentality./" - global.msg[19] = "Hmm./" - global.msg[20] = "I cannot understand&these feelings&any more./" - global.msg[21] = "Despite this./" - global.msg[22] = "I feel obligated to&suggest./" - global.msg[23] = "Should you choose to&create this world&once more./" - global.msg[24] = "Another path would&be better suited./" - global.msg[25] = "Now, partner./" - global.msg[26] = "Let us send this&world back into the&abyss./%%" - } - instance_create(150, 320, OBJ_WRITER) - con = 5 -} -if (con == 5 && instance_exists(OBJ_WRITER) == 0) -{ - con = 6 - alarm[4] = 30 -} -if (con == 7) -{ - con = 8 - choicer = 1 -} -if (con == 20) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Right^1. You are a&great partner./" - global.msg[1] = "We'll be together&forever^1, won't we?/%%" - con = 22 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 22 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - sprite_index = spr_truechara_weird -} -if (con == 22 && instance_exists(OBJ_WRITER) == 0) - con = 60 -if (con == 30) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "No...?/" - global.msg[1] = "Hmm.../" - global.msg[2] = "How curious./" - global.msg[3] = "You must have&misunderstood./" - global.msg[4] = "SINCE WHEN WERE YOU&THE ONE IN CONTROL?/%%" - if file_exists("system_information_963") - { - global.msg[0] = "No...?/" - global.msg[1] = "Hmm...&This feeling you have./" - global.msg[2] = "This is what I&spoke of./" - global.msg[3] = "Unfortunately,®arding this.../" - global.msg[4] = "YOU MADE YOUR CHOICE&LONG AGO./%%" - } - con = 31 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 31 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 4) - sprite_index = spr_truechara_weird -} -if (con == 31 && instance_exists(OBJ_WRITER) == 0) - con = 40 -if (con == 40) -{ - caster_stop(-3) - caster_play(ch_sfx2, 1, 0.95) - sprite_index = spr_truechara_laugh - image_speed = 0.5 - con = 41 - flashred = 1 - alarm[4] = 120 - wx = 0 - wy = 0 - if (global.osflavor == 1) - { - window_set_fullscreen(false) - window_set_caption(" ") - window_center() - wx = window_get_x() - wy = window_get_y() - } -} -if (con == 41) -{ - x = (((room_width / 2) + random(4)) - random(4)) - y = (((room_height / 2) + random(4)) - random(4)) - image_xscale += 0.08 - image_yscale += 0.08 - if (global.osflavor == 1) - window_set_position(((wx + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4))), ((wy + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4)))) -} -if (con == 42) -{ - con = 60 - if (global.osflavor == 1) - window_center() - flashred = 0 -} -if (con == 60) -{ - caster_free(-3) - snd_play(snd_laz) - image_speed = 0 - image_index = 0 - sprite_index = spr_strike - image_xscale = 5 - image_yscale = 5 - y = ((room_height / 2) - (sprite_height / 2)) - x = ((room_width / 2) - (sprite_width / 2)) - image_speed = 0.1 - con = 61 -} -if (con == 61) -{ - if (image_index >= 5.5) - { - visible = false - con = 62 - alarm[4] = 40 - } -} -if (con == 63) -{ - snd_play(snd_damage) - instance_create(0, 0, obj_gameshake) - con = 64 -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index f424d711c..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = string("0") - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ccf249543..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6411 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = " " - adder = "\W " - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y " - if (global.flag[22] == 2) - adder = "\p " - } - global.msg[0] = adder - global.msg[0] += (" * " + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += " A" - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += " B" - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += " C" - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = " " - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y " - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p " - } - } - global.msg[0] += " * Spare" - if (global.mercy == 0) - global.msg[0] += "& \W * Flee" - break - case 9: - global.msg[0] = ((" * " + global.itemnameb[0]) + " ") - if (global.item[1] != 0) - global.msg[0] += ("* " + global.itemnameb[1]) - global.msg[0] += " &" - if (global.item[2] != 0) - global.msg[0] += ((" * " + global.itemnameb[2]) + " ") - if (global.item[3] != 0) - global.msg[0] += ("* " + global.itemnameb[3]) - global.msg[0] += " & PAGE 1" - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = ((" * " + global.itemnameb[4]) + " ") - if (global.item[5] != 0) - global.msg[0] += ("* " + global.itemnameb[5]) - global.msg[0] += " &" - if (global.item[6] != 0) - global.msg[0] += ((" * " + global.itemnameb[6]) + " ") - if (global.item[7] != 0) - global.msg[0] += ("* " + global.itemnameb[7]) - global.msg[0] += " & PAGE 2" - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += (("* You recovered " + string(global.item[8])) + " HP!/%") - else - global.msg[0] += "* Your HP was maxed out./%" - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = (("* You bid a quiet farewell& to the " + global.itemname[global.menucoord[1]]) + ".") - if (i == 1) - global.msg[0] = (("* You put the " + global.itemname[global.menucoord[1]]) + "& on the ground and gave it a& little pat.") - if (i == 2) - global.msg[0] = (("* You threw the " + global.itemname[global.menucoord[1]]) + "& on the ground like the piece& of trash it is.") - if (i == 3) - global.msg[0] = (("* You abandoned the & " + global.itemname[global.menucoord[1]]) + ".") - if (i > 3) - global.msg[0] = (("* The " + global.itemname[global.menucoord[1]]) + " was& thrown away.") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = " * I'm outta here." - if (i == 2) - global.msg[0] = " * I've got better to do." - if (i > 3) - global.msg[0] = " * Escaped..." - if (i == 3) - global.msg[0] = " * Don't slow me down." - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = ((((" * Ran away with " + string(global.xpreward[3])) + " EXP& and ") + string(global.goldreward[3])) + " GOLD.") - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = "* (The shadow of the ruins& looms above^1, filling you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins7) - { - global.msg[0] = "* (Playfully crinkling through& the leaves fills you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins12A) - { - global.msg[0] = "* (Knowing the mouse might one& day leave its hole and& get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_ruins19) - global.msg[0] = "* (Seeing such a cute^1, tidy& house in the RUINS gives& you determination.)/%%" - if (global.flag[202] >= 20) - global.msg[0] = "* Determination./%%" - if (room == room_tundra1) - global.msg[0] = "* (The cold atmosphere of a& new land... it fills you& with determination.)/%%" - if (room == room_tundra3) - global.msg[0] = "* (The convenience of that& lamp still fills you& with determination.)/%%" - if (room == room_tundra_spaghetti) - { - global.msg[0] = "* (Knowing the mouse might one& day find a way to heat& up the spaghetti...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = "* (Knowing that dog will& never give up trying to& make the perfect snowdog...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - if (global.flag[55] == 1) - { - global.msg[0] = "* (Snow can always be broken& down and rebuilt into& something more useful.)/" - global.msg[1] = "* (This simple fact fills& you with determination.)/%%" - } - } - if (room == room_tundra_town) - global.msg[0] = "* (The sight of such a friendly& town fills you with& determination.)/%%" - if (room == room_water2) - global.msg[0] = "* (The sound of rushing water& fills you with& determination.)/%%" - if (room == room_water4) - global.msg[0] = "* (A feeling of dread hangs& over you...^1)&* (But you stay determined.)/%%" - if (room == room_water_savepoint1) - { - global.msg[0] = "* (Knowing the mouse might one& day extract the cheese from& the mystical crystal...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_preundyne) - { - global.msg[0] = "* (The sound of muffled rain& on the cavetop...)/" - if (global.flag[86] == 1) - global.msg[0] = "* (The serene sound of a& distant music box...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_trashzone2) - global.msg[0] = "* (The feeling of your socks& squishing as you step& gives you determination.)/%%" - if (room == room_water_trashsavepoint) - { - global.msg[0] = "* (The waterfall here seems& to flow from the& ceiling of the cavern...)/" - global.msg[1] = "* (Occasionally^1, a piece of& trash will flow& through...)/" - global.msg[2] = "* (... and fall into the& bottomless abyss below.)/" - global.msg[3] = "* (Viewing this endless& cycle of worthless& garbage...)/" - global.msg[4] = "* (It fills you with& determination.)/%%" - if (global.flag[91] == 1) - global.msg[0] = "* (Partaking in worthless& garbage fills you& with determination.)/%%" - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = "* (You feel a calming& tranquility^1. You're filled& with determination...)/%%" - if (room == room_water_temvillage) - global.msg[0] = "* (You feel..^1. something.)&* (You're filled with& detemmienation.)/%%" - if (room == room_water_undynefinal) - { - global.msg[0] = "* (The wind is howling^1.&* You're filled with& determination...)/%%" - if (global.flag[99] > 0) - global.msg[0] = "* (The howling wind is& now a breeze^1. This gives& you determination...)/%%" - if (global.flag[350] == 1) - global.msg[0] = "* (The wind has stopped^1.&* You're filled with& determination...)/%%" - } - if (room == room_fire_prelab) - { - global.msg[0] = "* (Seeing such a strange& laboratory in a place like& this...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire6) - global.msg[0] = "* (The wooshing sound of steam& and cogs..^1. it fills you& with determination.)/%%" - if (room == room_fire_savepoint1) - { - global.msg[0] = "* (An ominous structure looms& in the distance...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_mewmew2) - { - global.msg[0] = "* (Knowing the mouse might one& day hack the computerized& safe and get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_fire_hotelfront_1) - global.msg[0] = "* (A huge structure lies north.^1)&* (You're filled with& determination.)/%%" - if (room == room_fire_hotellobby) - global.msg[0] = "* (The relaxing atmosphere& of this hotel..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_branch) - global.msg[0] = "* (The air is filled with& the smell of ozone..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_premett) - { - global.msg[0] = "* (Behind this door must be& the elevator to the King's& castle.)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_savepoint2) - { - global.msg[0] = "* (The smell of cobwebs fills& the air...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& put away.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& tossed inside recklessly.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& placed thoughtfully inside.") - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& grabbed impatiently.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out and held like a& small puppy.") - global.msg[0] += "/%" - break - case 18: - global.msg[0] = "* You can't carry any more./%%" - break - case 19: - global.msg[0] = "* The box is full./%%" - break - case 23: - global.msg[0] = "* You leave the Quiche on the& ground and tell it you'll& be right back./%%" - break - case 30: - global.msg[0] = "* Use the box?& & Yes No \C " - global.msg[1] = " " - global.msg[2] = " " - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = " %%" - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = "* You have no items^1.&* You put a little time into& the box./%%" - if (gx == 1) - global.msg[0] = "* You have no items^1.&* You put a little effort& into the box./%%" - if (gx == 2) - global.msg[0] = "* You have no items^1.&* You put a little feeling& into the box./%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 200: - global.msg[0] = "\W* Howdy^2!&* I'm\Y FLOWEY\W.^2 &* \YFLOWEY\W the \YFLOWER\W!/" - global.msg[1] = "* Hmmm.../" - global.msg[2] = "* You're new to the& UNDERGROUND^2, aren'tcha?/" - global.msg[3] = "* Golly^1, you must be& so confused./" - global.msg[4] = "* Someone ought to teach& you how things work& around here!/" - global.msg[5] = "* I guess little old me& will have to do./" - global.msg[6] = "* Ready^2?&* Here we go!/%%" - break - case 201: - global.msg[0] = "\E2* This way./%%" - global.msg[1] = "%%%" - break - case 202: - global.msg[0] = "\E2* Welcome to your new& home^1, innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of the& RUINS./%%" - break - case 203: - global.msg[0] = "\E2* The RUINS are full of& puzzles./" - global.msg[1] = "* Ancient fusions between & diversions and doorkeys./" - global.msg[2] = "* One must solve them& to move from room to& room./" - global.msg[3] = "* Please adjust yourself to the sight of them./%" - break - case 204: - global.msg[0] = "\E2* To make progress here,^1 & you will need to trigger& several switches./" - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./%" - if (global.flag[6] == 1) - { - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./" - global.msg[2] = "* ... eh^1?&* It seems that the& labelling has worn away./" - global.msg[3] = "* Oh dear./" - global.msg[4] = "* This might be far more& challenging than I& anticipated.../%%" - } - break - case 205: - global.msg[0] = "\E2* The first switch is over& on the wall./%" - break - case 206: - global.msg[0] = "\E1* Do you need some help..^1?&* Press the switch on the wall./" - global.msg[1] = "\E0* Come on^1, you can do it!/%" - break - case 207: - global.msg[0] = "\E2* Go on^1, press the switch& on the left./%" - if (global.flag[6] == 1) - global.msg[0] = "\E2* I believe it was& the switch on the& left./%" - break - case 208: - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/" - global.msg[1] = "\E0* Press the switch that I& labelled for you./%" - if (global.flag[6] == 1) - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/%%" - break - case 209: - global.msg[0] = "\E1* You are very curious,^1 & are you not?/" - global.msg[1] = "\E1* Please understand.^2 & \E0I only want the best& for you./%" - break - case 210: - global.msg[0] = "\E0* Splendid!^2 &* I am proud of you,^1 & little one./" - global.msg[1] = "* Let us move to the& next room./%" - break - case 211: - global.msg[0] = "\E1* As a human living in& the UNDERGROUND,^1 & monsters may attack you./" - global.msg[1] = "\E2* You will need to be& prepared for this& situation./" - global.msg[2] = "\E0* However, worry not!^2 &* The process is simple./" - global.msg[3] = "\E2* When you encounter a & monster,^1 you will enter& a FIGHT./" - global.msg[4] = "* While you are in a& FIGHT^1, strike up a& friendly conversation./" - global.msg[5] = "\E2* Stall for time.& I will come to resolve& the conflict./" - global.msg[6] = "\E2* Practice talking to& the dummy./%" - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = "\E1* Ahh,^1 the dummies are& not for fighting!^2 &* They are for talking!/" - global.msg[1] = "* We do not want to hurt& anybody, do we...?^2 \E0 &* Come now./%" - } - if (global.flag[10] == 1) - global.msg[0] = "\E0* Ah,^1 very good!^2 &* You are very good./%" - if (global.flag[11] == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E1* ... you ran away.../" - global.msg[2] = "\E0* Truthfully^1, that was& not a poor choice./" - global.msg[3] = "\E0* It is better to& avoid conflict& whenever possible./" - global.msg[4] = "\E1* That..^1. however^1, is& only a dummy^2.&* It cannot harm you./" - global.msg[5] = "\E1* It is made of cotton^1.&* It has no desire& for revenge.../" - global.msg[6] = "\E0* Nevermind^2.&* Stay close to me and& I will keep you safe./%" - } - if (global.flag[13] == 1) - { - global.msg[0] = "\E3* ^1.^1.^1./" - global.msg[1] = "\E4* ^1.^1.^1./" - global.msg[2] = "\E0* The next room awaits./%" - } - break - case 213: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E2 &* I do not think the dummy& will be bothered./%" - break - case 214: - global.msg[0] = "\E0* Do you need some& ideas for conversation& topics?/" - global.msg[1] = "* Well^1, I often start with& a simple 'how do you& do...'/" - global.msg[2] = "* You could ask them about& their favorite books.../" - global.msg[3] = "* Jokes can be useful for& 'breaking the ice.'/" - global.msg[4] = "* Listen to this one.../" - global.msg[5] = "* What did the skeleton& tile his roof with?/" - global.msg[6] = "* ... SHIN-gles!/" - global.msg[7] = "\E1* .../" - global.msg[8] = "\E0* Well^1, I thought it& was amusing./%" - break - case 215: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E0 &* The dummy will not& be bothered./%" - break - case 216: - global.msg[0] = "\E1* There is another puzzle& in this room.../" - global.msg[1] = "\E0* I wonder if you can& solve it?/%" - break - case 217: - global.msg[0] = "\E1* This is the puzzle^1,& but.../" - global.msg[1] = "\E0* Here^1, take my hand& for a moment./%" - break - case 218: - global.msg[0] = "\E1* Puzzles seem a little& too dangerous for& now./%" - break - case 219: - global.msg[0] = ".../%" - break - case 220: - global.msg[0] = "\E2* Greetings,^1 my child^2.&* Do not worry^1, I did& not leave you./" - global.msg[1] = "\E0* I was merely behind this& pillar the whole time./" - global.msg[2] = "* Thank you for trusting& me./" - global.msg[3] = "\E2* However^1, there was an& important reason for& this exercise./" - global.msg[4] = "* ... to test your& independence./" - global.msg[5] = "\E1* I must attend to some& business^1, and you must& stay alone for a while./" - global.msg[6] = "\E0* Please remain here^2.&*\E1 It's dangerous to& explore by yourself./" - global.msg[7] = "\E0* I have an idea^2.&* I will give you a& CELL PHONE./" - global.msg[8] = "* If you have a need for& anything^1, just call./" - global.msg[9] = "\E1* Be good^1, alright?/%" - break - case 221: - global.msg[0] = "\E0* You have done& excellently thus& far^1, my child./" - global.msg[1] = "\E2* However... I have a& difficult request to ask& of you./" - global.msg[2] = "* .../" - global.msg[3] = "* I would like you to walk& to the end of the room& by yourself./" - global.msg[4] = "\E1* Forgive me for this./%" - break - case 222: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?& Cinnamon Bscotch \C" - global.msg[5] = " " - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ini_close() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - global.msg[0] = "* Oh^1, I see.&* Thank you very much!/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* Click.../%%" - global.msg[5] = "* /" - break - case 224: - global.msg[0] = "* It's a fishing rod affixed& to the ground.../" - global.msg[1] = "* Reel it in?& & Yes No \C " - global.msg[2] = " " - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = "* All that's attached to& the end is a photo of a& weird-looking monster.../" - global.msg[1] = "* (Call Me!& Here's my number!)/" - global.msg[2] = "* You decide not to call./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* All that's attached to& the end is a note./" - global.msg[1] = "* (Nevermind^1, guys!)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* You leave it alone./%%" - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = "* I shouldn't have given myself& away so easily.../%%" - if (global.flag[56] == 4) - { - global.msg[0] = "* Did you just...&* Consume the part of me& I had given you?/" - global.msg[1] = "* In front of my very eyes!?/" - global.msg[2] = "* I have no words for you..^1.&* Begone!/%%" - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = "* Thank you for taking care& of me.../%%" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = "* Huh^1? Again...?/" - global.msg[1] = "* I'm sorry..^1. if I give you& any more^1, there will be& nothing left of me./" - global.msg[2] = "* I suppose it is true^1.&* Travelling beyond our limits& is but a fantasy./" - global.msg[3] = "* It's no different for& anyone else./" - global.msg[4] = "* All of monsterkind& are doomed to stay& underground^1, forever.../%%" - } - } - if (global.flag[56] == 1) - { - global.msg[0] = "* How am I doing^1?&* By " + chr(34) + "I" + chr(34) + " I mean the piece& of me I gave you.../" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = "* Huh^1? You lost it...^1?&* ... I suppose I can give& you another piece.../" - scr_itemget(16) - if (noroom == 1) - global.msg[2] = "* You don't have any room^1?&* OK..^1. I understand I am not& a priority for you^1, then./%%" - else - { - global.msg[2] = "* Please be careful this& time./" - global.msg[3] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = "* Hello^1.&* I am a snowman./" - global.msg[1] = "* I want to see the world..^1.&* But I cannot move./" - global.msg[2] = "* If you would be so kind^1,& traveller^1, please.../" - global.msg[3] = "* Take a piece of me and& bring it very far away.& Yes No \C " - global.msg[4] = " " - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = "* It seems you do not& have enough room for me./%%" - else - { - global.msg[0] = "* Thank you... good luck!/" - global.msg[1] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* I see^1.&* Good journey^1, then./%%" - break - case 228: - global.msg[0] = "SANS!!^1!&THAT DIDN'T DO&ANYTHING!/" - if (global.flag[254] == 0) - global.msg[0] = "SANS!!^1!&THEY DIDN'T EVEN&LOOK AT IT!/" - scr_sansface(1, 0) - global.msg[2] = "* whoops./" - global.msg[3] = "* i knew i should have& used today's crossword& instead./" - scr_papface(4, 1) - global.msg[5] = "WHAT!^1?&CROSSWORD!?/" - global.msg[6] = "I CAN'T BELIEVE&YOU SAID THAT!!/" - global.msg[7] = "IN MY OPINION.../" - global.msg[8] = "\E3JUNIOR JUMBLE&IS EASILY THE&HARDEST./" - scr_sansface(9, 0) - global.msg[10] = "* what^1? really^1, dude^1?&* that easy-peasy word& scramble?/" - global.msg[11] = "\E1* that's for baby bones./" - scr_papface(12, 3) - global.msg[13] = "UN^1. BELIEVABLE./" - global.msg[14] = "\E0HUMAN!!^1!&SOLVE THIS DISPUTE!/" - global.msg[15] = "\TS \F0 \E0 \T0 %" - global.msg[16] = "* (Which is harder?)& & Jumble Crossword \C " - global.msg[17] = " " - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = "HA^1! HA^1! YES!/" - global.msg[2] = "HUMANS MUST BE&VERY INTELLIGENT!/" - global.msg[3] = "IF THEY ALSO FIND&JUNIOR JUMBLE&SO DIFFICULT!/" - global.msg[4] = "NYEH^1! HEH^1! HEH HEH!/%%" - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = "YOU TWO ARE WEIRD!/" - global.msg[2] = "\E3CROSSWORDS ARE SO&EASY./" - global.msg[3] = "IT'S THE SAME&SOLUTION EVERY&TIME./" - global.msg[4] = "\E0I JUST FILL ALL&THE BOXES IN WITH&THE LETTER " + chr(34) + "Z" + chr(34) + ".../" - global.msg[5] = "BECAUSE EVERY TIME&I LOOK AT A&CROSSWORD.../" - global.msg[6] = "ALL I CAN DO IS&SNORE!!!/" - global.msg[7] = "NYEH HEH HEH!!!/%%" - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here you go^1!&* Have a super-duper day^1!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1?&* You don't have enough& money.../" - global.msg[1] = "* I wish I could make& Nice Cream for free.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Out in the middle of& the woods.../%%" - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hey^1, you have an umbrella^1,& just like my cart.../" - global.msg[1] = "* Such solidarity^1!&* I have no choice but to& give you a deal!/" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Umbrella solidarity!^1?&* I guess I have to give& you a deal.../" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - } - if (itemcount > 2) - { - global.msg[0] = "* Hey^1!&* You have 3 Punch Cards!/" - global.msg[1] = "* How about redeeming them& for some Nice Cream!?/" - global.msg[2] = "* It's free!& & Yes No \C" - global.msg[3] = " " - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Super^1! Here you go^1!&* Your Card's in the box!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1? No money^1?&* Sorry^1, I can't give it to& you for free./%%" - if (global.flag[85] == 1) - global.msg[0] = "* Huh^1? You can't afford it& even with the discount^1?&* I.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = "* Here^1! A free Nice Cream^1!&* (You lost 3 cards and got& a Nice Cream.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Hidden in the depths of a& watery cavern.../%%" - } - break - case 235: - global.msg[0] = "* i've been thinking& about selling treats& too./" - global.msg[1] = "* want some fried snow^1?&* it's just 5G.& Buy No\C" - global.msg[2] = " " - break - case 236: - if (global.choice == 0) - { - global.msg[0] = "* did i say 5G^1?&* i meant 50G^1.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* i should charge way& more than than that./%%" - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = "* really^1?&* how about 5000G?& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* that's still too low./%%" - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = "* 50000G^1.&* that's my final offer.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* i have to pay for& the raw materials& somehow./%%" - break - case 239: - if (global.choice == 0) - { - global.msg[0] = "* what^1?&* you don't have the& money?/" - global.msg[1] = "* hey^1, that's okay./" - global.msg[2] = "\E1* i don't have any snow./%%" - if (global.gold >= 50000) - { - global.msg[0] = "* wow^1, that's a lot& of cash./" - global.msg[1] = "\E3* that's why i'm sorry& to say.../" - global.msg[2] = "\E3* i can't sell you& this fried snow./" - global.msg[3] = "\E2* it's got too much& sentimental value./%%" - } - } - if (global.choice == 1) - global.msg[0] = "* don't you know a& good deal when you& hear one?/%%" - break - case 240: - global.msg[0] = "WHAT!^1?&HOW DID YOU&AVOID MY TRAP?/" - global.msg[1] = "\E3AND^1, MORE&IMPORTANTLY.../" - global.msg[2] = "\E0IS THERE ANY&LEFT FOR ME???/" - global.msg[3] = "\TS \F0 \E0 \T0 %" - global.msg[4] = "* (What do you tell Papyrus& about his spaghetti?)& Ate it Left it \C " - global.msg[5] = " " - break - case 241: - scr_papface(0, 0) - global.msg[1] = "REALLY!?/" - if (global.choice == 0) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "NO ONE'S EVER&ENJOYED MY&COOKING BEFORE.../" - global.msg[4] = "\E0WELL THEN!!/" - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "YOU RESISTED THE&FLAVOR OF MY&HOMECOOKED PASTA.../" - global.msg[4] = "JUST SO YOU&COULD SHARE&IT WITH ME???/" - global.flag[62] = 2 - } - global.msg[5] = "\E0FRET NOT HUMAN^1!&I^1, MASTER CHEF&PAPYRUS.../" - global.msg[6] = "WILL MAKE YOU ALL&THE PASTA YOU&COULD EVER WANT!/" - global.msg[7] = "HEH HEH HEH HEH&HEH HEH NYEH!/%%" - break - case 243: - global.msg[0] = "HEY!/" - global.msg[1] = "IT'S THE HUMAN!/" - global.msg[2] = "\E0YOU'RE GONNA&LOVE THIS&PUZZLE!/" - global.msg[3] = "IT WAS MADE&BY THE GREAT&DR. ALPHYS!/" - global.msg[4] = "YOU SEE&THESE TILES&!?/" - global.msg[5] = "ONCE I THROW&THIS SWITCH.../" - global.msg[6] = "THEY WILL&BEGIN TO&CHANGE COLOR!/" - global.msg[7] = "EACH COLOR HAS&A DIFFERENT&FUNCTION!/" - global.msg[8] = "RED TILES ARE&IMPASSABLE!/" - global.msg[9] = "YOU CANNOT&WALK ON THEM!/" - global.msg[10] = "YELLOW TILES&ARE ELECTRIC!/" - global.msg[11] = "THEY WILL&ELECTROCUTE&YOU!/" - global.msg[12] = "GREEN TILES&ARE ALARM&TILES!/" - global.msg[13] = "IF YOU STEP&ON THEM.../" - global.msg[14] = "YOU WILL HAVE&TO FIGHT A&MONSTER!!/" - global.msg[15] = "ORANGE TILES&ARE ORANGE-&SCENTED./" - global.msg[16] = "THEY WILL MAKE&YOU SMELL&DELICIOUS!/" - global.msg[17] = "BLUE TILES ARE&WATER TILES./" - global.msg[18] = "SWIM THROUGH&IF YOU LIKE^1,&BUT.../" - global.msg[19] = "IF YOU SMELL&LIKE ORANGES!/" - global.msg[20] = "THE PIRANHAS&WILL BITE&YOU./" - global.msg[21] = "ALSO^1, IF A&BLUE TILE IS&NEXT TO A,/" - global.msg[22] = "YELLOW TILE^1,&THE WATER WILL&ALSO ZAP YOU!/" - global.msg[23] = "PURPLE TILES&ARE SLIPPERY!/" - global.msg[24] = "YOU WILL SLIDE&TO THE NEXT&TILE!/" - global.msg[25] = "HOWEVER^1, THE&SLIPPERY&SOAP.../" - global.msg[26] = "SMELLS LIKE&LEMONS!!/" - global.msg[27] = "WHICH PIRANHAS&DO NOT LIKE!/" - global.msg[28] = "PURPLE AND&BLUE ARE OK!/" - global.msg[29] = "FINALLY^1,&PINK TILES./" - global.msg[30] = "THEY DON'T DO&ANYTHING./" - global.msg[31] = "STEP ON THEM&ALL YOU LIKE./" - global.msg[32] = "HOW WAS THAT!^1?&UNDERSTAND???/" - global.msg[33] = "\TS \F0 \E0 \T0 %" - global.msg[34] = "* (Understand the explanation?)& & Of course No \C " - global.msg[35] = " " - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "OKAY..^1.&I GUESS I'LL&REPEAT MYSELF.../" - global.msg[2] = "\E0RED TILES ARE&IMPASSABLE./" - global.msg[3] = "YELLOW TILES ARE&ELECTRIC AND&DANGEROUS./" - global.msg[4] = "BLUE TILES MAKE&YOU FIGHT A&MONSTER./" - global.msg[5] = "GREEN TILES ARE&WATER TILES./" - global.msg[6] = "ORANGE TILES ARE&ORANGE SCENTED./" - global.msg[7] = "IF YOU STEP ON&ORANGE^1, DON'T STEP&ON GREEN./" - global.msg[8] = "\E3BROWN TILES ARE.../" - global.msg[9] = "\E1WAIT!!^1!&THERE ARE NO&BROWN TILES.../" - global.msg[10] = "\E0PURPLE TILES&SMELL LIKE&LEMONS.../" - global.msg[11] = "\E3WHY DON'T THE&YELLOW ONES&SMELL LEMONY?/" - global.msg[12] = "\E3UMM.../" - global.msg[13] = "\E1WAIT!^1!&DID I MIX UP&GREEN AND BLUE!?/" - global.msg[14] = "THE BLUE ONES&ARE WATER ONES!/" - global.msg[15] = "\E3PINK TILES.../" - global.msg[16] = "I DON'T..^1.&REMEMBER???/" - global.msg[17] = "\E1WAIT!!!/" - global.msg[18] = "\E3THOSE ONES DON'T&DO ANYTHING./" - global.msg[19] = "\E0OKAY^1!&DO YOU UNDERSTAND&BETTER NOW!?/" - global.msg[20] = "\TS \F0 \E0 \T0 %" - global.msg[21] = "* (Understand the explanation?)& & Yes Even less \C " - global.msg[22] = " " - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "........../" - global.msg[2] = "OK^1, YOU KNOW&WHAT???/" - global.msg[3] = "HOW ABOUT..^1.&YOU JUST.../" - global.msg[4] = "DO THIS PUZZLE..^1.&ON YOUR OWN.../" - global.msg[5] = "I'LL LEAVE THE&INSTRUCTIONS.../" - global.msg[6] = "JUST READ THEM./" - global.msg[7] = "THEN WHEN YOU&UNDERSTAND IT.../" - global.msg[8] = "YOU CAN THROW&THE SWITCH./" - global.msg[9] = "AND DO IT AT&YOUR OWN PACE./" - global.msg[10] = "GOOD LUCK./" - global.msg[11] = "NYEH..^1.&HEH..^1.&HEH!/%%" - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = "* (There's a lone quiche& sitting underneath& this bench.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* It's just a bench./%%" - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Abandoned& Quiche.)/%%" - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = "* (You're carrying too much.)/" - global.msg[1] = "* (You aren't ready for the& responsibility.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* (The quiche was left all& alone...)/%%" - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = "* (There's a tutu lying on& the ground here.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Old Tutu.)/%%" - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = (("* (The box contains " + card) + " cards.)/") - if (global.flag[80] > 2) - global.msg[0] = (("* (Two bugs in the box are& playing a " + card) + "-card game.)/") - if (global.flag[80] > 4) - global.msg[0] = (("* (There's a smiley face made& of " + card) + " cards in the box.)/") - if (global.flag[80] > 6) - global.msg[0] = (("* (A house made of " + card) + " cards& sits in the box.)/") - if (global.flag[80] > 12) - global.msg[0] = "* (The box is overstuffed with& cards.)/" - global.msg[1] = "* (Take a card?)& & Take Leave \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's a box for storing Punch& Cards^1.)&* (It's empty right now.)/%%" - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = "* (You got a Punch Card.)/%%" - if (global.flag[80] > 2) - global.msg[0] = "* (All games must end one day.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 4) - global.msg[0] = "* (Happiness is fleeting.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 6) - global.msg[0] = "* (The house collapses.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 12) - global.msg[0] = "* (You got a Punch Card.)/%%" - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = "* (It's a pair of ballet shoes.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Ballet Shoes.)/%%" - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 254: - global.msg[0] = "* (This little bird wants to& carry you across.)/" - global.msg[1] = "* (Accept the bird's offer?)& & Get ride No \C " - global.msg[2] = " " - if (global.flag[85] == 1) - global.msg[0] = "* (Umbrellas and birds...^1)&* (A bad combination.)/%%" - break - case 255: - global.msg[0] = " %%" - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = "* (It's a legendary artifact.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The artifact is gone.)/%%" - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = "* (This will never happen.)/%%" - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - if (noroom == 2) - global.msg[0] = "* (You're carrying too many& dogs.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/" - global.msg[1] = "* (Take a package of noodles?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/%%" - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Instant Noodles.)/%%" - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* (You decide to stay healthy.)/%%" - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = "* (There's a frypan lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Burnt Pan.)/%%" - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = "* (There's an apron lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Stained Apron.)/%%" - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = "* (There's a Glamburger inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Glamburger.)/%%" - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = "* (There's 100G inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = "* (You got 100G.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = "* (There's a worn dagger& inside the box.)/" - else - global.msg[0] = "* (Knife inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Worn Dagger.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got the Real Knife.)/%%" - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = "* (There's a heart-shaped& locket inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Heart-shaped& Locket.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got The Locket.)/%%" - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 272: - global.msg[0] = "* (The box is empty.)/%%" - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = "* Hello...&* Would you like some& Nice Cream...?/" - global.msg[1] = "* It's the frozen treat...&* That warms your heart./" - global.msg[2] = "* Now only 12G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[250] >= 1) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1.&* It's the frozen treat^1.&* That warms your heart./" - global.msg[2] = "* Now just 12G.& & Yes No \C" - global.msg[3] = " " - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here^1.&* (You got the Nice Cream.)/%%" - if (afford == 0) - global.msg[0] = "* You don't have enough& money.../%%" - } - if (noroom == 1) - global.msg[0] = "* Drop something./%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* Life..^1. is suffering./%%" - } - break - case 500: - global.msg[0] = "* (Golden flowers.^1)&* (They must have& broken your fall.)/%%" - global.msg[1] = "%%%" - break - case 501: - global.msg[0] = "* " + chr(34) + "Press [Z] to read signs!" + chr(34) + "/%%" - break - case 502: - global.msg[0] = "* Just a regular old pillar./%%" - break - case 503: - global.msg[0] = "* Please don't step on the& leaves./%%" - break - case 504: - global.msg[0] = "* Didn't you read the sign& downstairs?/%%" - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* WHOA there^1, pardner^2!&* Who said you could push& me around?/" - global.msg[1] = "* HMM^2?&* So you're ASKIN' me to& move over?/" - global.msg[2] = "* Okay^1, just for you^1,& pumpkin./%%" - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You want me to move some& more?/" - global.msg[1] = "* Alrighty^1, how's this?/%%" - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* That was the wrong direction?/" - global.msg[1] = "* Okay^1, think I got it./%%" - } - if (conversation == 9) - global.msg[0] = "* Was that helpful?/%%" - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You wanted me to STAY there?/" - global.msg[1] = "* You're giving me a real& workout./%%" - } - } - else - { - global.msg[0] = "* Aren't things easier when& you just ask?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* The exit's open^1?&* Guess I better roll out.../" - global.msg[1] = "* Hey^1, y'mind giving me a& push^1, pumpkin?/%%" - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = "*'Take one.'&* Take a candy?& Yes No \C" - if (global.flag[34] == 0) - global.msg[0] = "* It says 'take one.'&* Take a piece of candy?& Yes No \C" - } - else - global.msg[0] = "* Look at what you've done./%%" - global.msg[1] = " " - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = "* You took a piece of candy.&* (Press [C] to open the menu.)/%%" - if (global.flag[34] == 2) - global.msg[0] = "* You took more candy^1.&* How disgusting../%%" - if (global.flag[34] == 3) - global.msg[0] = "* You take another piece.&* You feel like the& scum of the earth.../%%" - if (global.flag[34] == 4) - global.msg[0] = "* You took too much too fast.&* The candy spills onto& the floor./%%" - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = "* In this hellish world^1, you& can only take 3 pieces& of candy.../%%" - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - } - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 510: - global.msg[0] = "* zzzzzzzzzzzzzzz..^1.&* zzzzzzzzzzzzzz.../" - global.msg[1] = "* zzzzzzzzzz..^1.&* (are they gone yet^1)&* zzzzzzzzzzzzzzz.../" - global.msg[2] = "* (This ghost keeps saying 'z'& out loud repeatedly^1,& pretending to sleep.)/" - global.msg[3] = "* Move it with force?& & Yes No \C" - global.msg[4] = " " - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = "* It says 'Take them all.'&* Take a candy?& Yes No \C" - global.msg[1] = " " - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = "* You took a piece.&* Boy^1, that's heavy./%%" - if (haveit == 1) - global.msg[0] = "* You can't carry more.&* It's just too heavy./%%" - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 7G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 18G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = "* You found a Faded Ribbon./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = "* Nothing happened./%%" - if (global.choice == 1) - global.msg[0] = "%%" - if (global.flag[43] > 25) - global.msg[0] = "* You're making the switches& uncomfortable with all& this attention./%%" - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = "* You hear a clicking sound./%%" - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = "* You found the Toy Knife./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = "* It's TORIEL's diary.&* Read the circled passage?& Yes No \C" - global.msg[1] = " " - break - case 525: - if (global.choice == 0) - { - global.msg[0] = "* You read the passage.../" - global.msg[1] = "* " + chr(34) + "Why did the skeleton want& a friend?" + chr(34) + "/" - global.msg[2] = "* " + chr(34) + "Because she was feeling& BONELY..." + chr(34) + "/" - global.msg[3] = "* The rest of the page is& filled with jokes of& a similar caliber./%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& butterscotch-cinnamon& pie./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& snail pie.../%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - break - case 527: - global.msg[0] = "* Hello there^1,& little one!/" - global.msg[1] = "* The pie has not& cooled down yet./" - global.msg[2] = "* Perhaps you should& take a nap.& Yes No \C " - global.msg[3] = " " - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = "* Sweet dreams./%%" - else - { - global.msg[0] = "\E1* You'd rather stay& up and chat with& me^1, then?/" - if (global.flag[103] > 0) - global.msg[0] = "* Up already^1, I see?/" - global.msg[1] = "\E0* Um^1, I want you to know& how glad I am to& have someone here./" - global.msg[2] = "* There are so many& old books I want& to share./" - global.msg[3] = "* I want to show you& my favorite bug-& hunting spot./" - global.msg[4] = "* I've also prepared& a curriculum for& your education./" - global.msg[5] = "* This may come as& a surprise to you.../" - global.msg[6] = "* But I have always& wanted to be a& teacher./" - global.msg[7] = "\E1* ... actually^1, perhaps& that isn't very& surprising./" - global.msg[8] = "\E5* STILL./" - global.msg[9] = "\E0* I am glad to have& you living here./" - global.msg[10] = "\E1* Oh^1, did you& want something?/" - global.msg[11] = "* What is it?& When can& Nothing I go home?\C " - global.msg[12] = " " - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = "* Well^1, talk to me& again if you& need anything./%%" - else - { - global.msg[0] = "\E1* What^1?&* This..^1. this IS your& home now./" - global.msg[1] = "* Um..^1. would you like& to hear about this& book I am reading?/" - if (global.choice == -1) - { - global.msg[0] = "\E0* Oh^1, hello!/" - global.msg[1] = "* Did you want to& hear about the& book I am reading?/" - } - global.msg[2] = "\E0* It is called& " + chr(34) + "72 Uses for Snails." + chr(34) + "/" - global.msg[3] = "* How about it?& How to exit& Sure the RUINS\C " - global.msg[4] = " " - } - break - case 530: - global.plot = 19.3 - global.msg[0] = "* Here is an exciting& snail fact./" - if (global.choice == 1) - global.msg[0] = "\E1* Um^1.^1.^1.&*\E0 How about an exciting& snail fact?/" - global.msg[1] = "\E2* Did you know& that snails.../" - r = round(random(3)) - if (r == 0) - global.msg[2] = "\E0* Have a chainsaw-like& tongue called a& radula?/" - if (r == 1) - global.msg[2] = "\E0* Sometimes flip their& digestive systems& as they mature?/" - if (r == 2) - global.msg[2] = "\E0* Make terrible& shoelaces?/" - if (r == 3) - global.msg[2] = "\E0* Talk^2. Really^2. Slowly^2?&* Just kidding^1, snails& don't talk./" - global.msg[3] = "\E0* Interesting.& How to exit& Yeah the RUINS\C " - global.msg[4] = " " - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = "* Well^1, bother me& if you need anything& else./%%" - else - { - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something^1.&* Stay here./%%" - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = "\E0* What is it?& How to exit& Nothing the RUINS\C " - } - global.msg[1] = " " - break - case 532: - if (global.choice == 0) - global.msg[0] = "* If you need anything^1,& just ask./%%" - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something.&* Stay here./%%." - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = " " - break - case 540: - global.msg[0] = "\E2NYOO HOO HOO.../" - global.msg[1] = "I CAN'T EVEN&STOP SOMEONE AS&WEAK AS YOU.../" - global.msg[2] = "UNDYNE'S GOING TO&BE DISAPPOINTED&IN ME./" - global.msg[3] = "I'LL NEVER JOIN THE&ROYAL GUARD..^1.&AND.../" - global.msg[4] = "MY FRIEND QUANTITY&WILL REMAIN&STAGNANT!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (What should you say?)& Let's be What a& friends loser\C" - global.msg[7] = " " - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = "\E0WOWIE!^1!&YOU DID IT!!!/" - global.msg[1] = "YOU DIDN'T DO A&VIOLENCE!!!/" - global.msg[2] = "\E5TO BE HONEST^1,&I WAS A LITTLE&AFRAID.../" - global.msg[3] = "\E0BUT YOU'RE ALREADY&BECOMING A GREAT&PERSON!/" - global.msg[4] = "\E7I'M SO PROUD I&COULD CRY!!!/" - global.msg[5] = "\E3... WAIT^1, WASN'T I&SUPPOSED TO&CAPTURE YOU...?/" - global.msg[6] = "\E0WELL^1, FORGET IT!/" - global.msg[7] = "I JUST WANT YOU&TO BE THE BEST&PERSON YOU CAN BE./" - global.msg[8] = "SO LET'S LET&BYBONES BE&BYBONES./" - global.msg[9] = "I'LL EVEN TELL YOU&HOW TO LEAVE THE&UNDERGROUND!/" - global.msg[10] = "JUST KEEP GOING&EAST!/" - global.msg[11] = "EVENTUALLY YOU'LL&REACH THE KING'S&CASTLE./" - global.msg[12] = "THEN YOU CAN&LEAVE!/%%" - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "REALLY!^1?&YOU WANT TO BE&FRIENDS^1, WITH ME???/" - global.msg[2] = "WELL THEN.../" - global.msg[3] = "\E0I GUESS..^1./" - global.msg[4] = "I GUESS&I CAN MAKE AN&ALLOWANCE FOR YOU!/" - global.msg[5] = " %" - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "HUH^1?&WHY WOULD YOU.../" - global.msg[2] = "BERATE YOURSELF&SO LOUDLY???/" - global.msg[3] = "IS IT BECAUSE.../" - global.msg[4] = "\E3YOU DON'T THINK&YOU'RE GOOD ENOUGH&TO BE MY FRIEND?/" - global.msg[5] = "\E0NO!!^1!&YOU'RE GREAT!!^1!&I'LL BE YOUR FRIEND!/" - } - if (global.flag[66] == 1) - { - global.msg[6] = "WOWIE!^1!&WE HAVEN'T EVEN HAD&OUR FIRST DATE.../" - global.msg[7] = "AND I'VE ALREADY&MANAGED TO HIT&THE FRIEND ZONE!!!/" - global.msg[8] = "WHO KNEW THAT&ALL I NEEDED TO&MAKE PALS.../" - } - else - { - global.msg[6] = "WOW!!!/" - global.msg[7] = "I HAVE FRIENDS!!!/" - global.msg[8] = "AND WHO KNEW THAT&ALL I NEEDED TO&MAKE THEM.../" - } - global.msg[9] = "WAS TO GIVE PEOPLE&AWFUL PUZZLES AND&THEN FIGHT THEM??/" - global.msg[10] = "YOU TAUGHT ME A&LOT^1, HUMAN./" - global.msg[11] = "I HEREBY GRANT&YOU PERMISSION&TO PASS THROUGH!/" - global.msg[12] = "AND I'LL GIVE&YOU DIRECTIONS&TO THE SURFACE./" - global.msg[13] = "CONTINUE FORWARD&UNTIL YOU REACH THE&END OF THE CAVERN./" - global.msg[14] = "\WTHEN..^1. WHEN YOU&REACH THE CAPITAL^1,&CROSS \YTHE BARRIER\W./" - global.msg[15] = "THAT'S THE MAGICAL&SEAL TRAPPING US&ALL UNDERGROUND./" - global.msg[16] = "ANYTHING CAN ENTER&THROUGH IT^1, BUT&NOTHING CAN EXIT.../" - global.msg[17] = "... EXCEPT SOMEONE&WITH A POWERFUL&SOUL./" - global.msg[18] = "... LIKE YOU!!!/" - global.msg[19] = "THAT'S WHY THE&KING WANTS TO&ACQUIRE A HUMAN./" - global.msg[20] = "HE WANTS TO OPEN&THE BARRIER WITH&SOUL POWER./" - global.msg[21] = "THEN US MONSTERS&CAN RETURN TO&THE SURFACE!/%%" - break - case 544: - global.msg[0] = "YOU'RE BACK AGAIN?!?!/" - global.msg[1] = "I FINALLY REALIZE&THE TRUE REASON WHY./" - global.msg[2] = "YOU.../" - global.msg[3] = "JUST MISS SEEING MY&FACE SO MUCH.../" - global.msg[4] = "I'M NOT SURE I&CAN FIGHT SOMEONE&WHO FEELS THIS WAY./" - global.msg[5] = "BUT MOSTLY..^1. I'M GETTING&REALLY TIRED OF&CAPTURING YOU!/" - global.msg[6] = "SO..^1.&WHAT DO YOU SAY?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* (Fight Papyrus?)& & Yes No\C" - global.msg[8] = " " - break - case 545: - global.msg[0] = "\TP %" - if (global.choice == 0) - { - global.msg[1] = "OKAY.../" - global.msg[2] = "I GUESS./" - global.msg[3] = "IF YOU WANT ME TO&CAPTURE YOU./" - global.msg[4] = "I'LL TRY AGAIN!!!/%%" - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = "... OKAY.../" - global.msg[2] = "I GUESS I'LL ACCEPT&MY FAILURE.../%%" - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = "* Welcome to Snowed Inn^1!&* Snowdin's premier hotel!/" - global.msg[1] = "* One night is 80G.& & Stay Leave\C" - if (global.flag[72] == 2) - { - global.msg[0] = "* Back again^1?&* Well^1, stay as long as you& like./" - global.msg[1] = "* How about it?& & Stay Leave\C" - } - global.msg[2] = " " - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = "* What^1?&* No^1, you can't get a& second key!" - if (global.flag[7] == 1) - { - global.msg[0] = "* Hello^1!&* Sorry^1, no time for a& nap.../" - global.msg[1] = "* Snowed Inn is shutting& down so we can all go& to the surface./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Oh^1, there you are^1.&* I was worrying about& you!/" - global.msg[1] = "* Things are going to be OK^1,& you hear?/" - global.msg[2] = "* We're all going to the& surface world soon.../" - global.msg[3] = "* There's bound to be a& place you can stay there!/%%" - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = "Error./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = "* ... You don't even have 80G?/" - global.msg[1] = "* Oh^1! You poor thing^1.&* I can only imagine what& you've been through./" - global.msg[2] = "* One of the rooms upstairs& is empty^1./" - global.msg[3] = "* You can sleep there for& free^1, okay?/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = "* You aren't carrying enough& money./%%" - } - else - global.msg[0] = "* Well^1, feel free to come& back any time./%%" - break - case 549: - global.msg[0] = "* (Look through the telescope?)& & Yes No\C" - global.msg[1] = " " - break - case 550: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = "* i'm thinking about& getting into the& telescope business./" - global.msg[1] = "* it's normally 50000G& to use this premium& telescope.../" - global.msg[2] = "* but..^1.&*\E1 since i know you^1,& you can use it for free./" - global.msg[3] = "\E2* howzabout it?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Use the telescope?)& & Yes No\C" - } - else - { - global.msg[0] = "* huh^1?&* you aren't satisfied?/" - global.msg[1] = "\E1* don't worry./" - global.msg[2] = "\E2* i'll give you a& full refund./%%" - } - global.msg[6] = " " - break - case 552: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = "* well^1, come back& whenever you want./%%" - } - break - case 553: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - global.flag[75] = global.armor - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "\E3HOW DID I GET THIS&NUMBER...?/" - global.msg[4] = "\E0IT WAS EASY!!!/" - global.msg[5] = "\E0I JUST DIALED EVERYNUMBER SEQUENTIALLYUNTIL I GOT YOURS!!!/" - global.msg[6] = "NYEH HEH HEH HEH!!/" - global.msg[7] = "\E2SO..^1.&WHAT ARE YOU&WEARING...?/" - global.msg[8] = "\E3I'M..^1.&ASKING FOR A&FRIEND./" - global.msg[9] = (("\E0SHE THOUGHT SHE&SAW YOU WEARING A&" + armor) + "./") - global.msg[10] = (("\E3IS THAT TRUE^1?&ARE YOU WEARING A&" + armor) + "?/") - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* (What will you say?)& & Yes No\C" - global.msg[13] = " " - break - case 554: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = (("SO YOU ARE WEARING&A " + armor) + ".../") - global.msg[2] = "GOT IT!!^1!&WINK WINK!!!/" - global.msg[3] = "HAVE A NICE DAY!/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - } - else - { - global.flag[76] = 1 - global.msg[1] = (("SO YOU AREN'T&WEARING A&" + armor) + ".../") - global.msg[2] = "GOT IT!/" - global.msg[3] = "YOU'RE MY FRIEND^1,&SO I TRUST YOU&100-PERCENT./" - global.msg[4] = "HAVE A NICE DAY!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - break - case 556: - global.msg[0] = "* (There's an empty pie tin& inside the stove.)/%%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "\E0MY BROTHER ALWAYS&GOES OUT TO EAT^1.&BUT.../" - global.msg[2] = "\E3RECENTLY^1, HE TRIED&'BAKING' SOMETHING./" - global.msg[3] = "IT WAS LIKE..^1.&A QUICHE./" - global.msg[4] = "BUT FILLED WITH A&SUGARY^1, NON-EGG&SUBSTANCE./" - global.msg[5] = "\E0HOW ABSURD!/%%" - } - break - case 557: - global.msg[0] = "* (It's a joke book.)/" - global.msg[1] = "* (Take a look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 558: - if (global.choice == 0) - { - global.msg[0] = "* (Inside the joke book was& a quantum physics book.)/" - global.msg[1] = "* (You look inside...)/" - global.msg[2] = "* (Inside the quantum physics& book was another joke& book.)/" - global.msg[3] = "* (You look inside...)/" - global.msg[4] = "* (There's another quantum& physics book...)/" - global.msg[5] = "* (You decide to stop.)/%%" - } - else - global.msg[0] = " %%" - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THAT'S MY ROOM^1!/" - global.msg[2] = "IF YOU'VE&FINISHED LOOKING&AROUND.../" - global.msg[3] = "WE COULD GO IN&AND.../" - global.msg[4] = "" + chr(34) + "HANG-OUT" + chr(34) + " LIKE&A PAIR OF VERY&COOL FRIENDS?/" - if (global.flag[66] == 1) - global.msg[4] = "\E3DO WHATEVER&PEOPLE DO WHEN&THEY DATE???/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Go inside?)& & Yes No\C" - global.msg[7] = " %" - } - else - { - global.msg[0] = "* (It's the door to& Papyrus's room.)/" - global.msg[1] = "* (It's covered in many& labels...)/" - global.msg[2] = "\TP %" - global.msg[3] = "* (NO GIRLS ALLOWED!)/" - global.msg[4] = "* (NO BOYS ALLOWED!)/" - global.msg[5] = "* (PAPYRUS ALLOWED.)/%%" - } - break - case 560: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THERE ARE NO&SKELETONS INSIDE&MY CLOSET!!!/" - global.msg[2] = "\E3EXCEPT ME&SOMETIMES./" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Look in the closet?)& & Yes No\C" - global.msg[5] = " " - } - else - { - global.msg[0] = "* (Look in the closet?)& & Yes No\C" - global.msg[1] = " " - } - break - case 562: - if (global.choice == 0) - global.msg[0] = "* (Clothes are hung up& neatly inside.)/%%" - else - { - global.msg[0] = " %%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "IT'S OK TO BE&INTIMIDATED BY&MY FASHION SENSE./%%" - } - } - break - case 563: - global.msg[0] = "\E3SO^1, UM.../" - global.msg[1] = "\E3IF YOU'VE SEEN&EVERYTHING.../" - global.msg[2] = "\E2DO YOU WANT TO&START HANGING OUT?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the hangouts?)& & Yes No\C" - global.msg[5] = " " - if (global.flag[66] == 1) - { - global.msg[2] = "\E2DO YOU WANT TO&START THE DATE?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the date?)& & Yes No\C" - global.msg[5] = " " - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = "\E0OKAY!!^1!&DATING START!!!/%%" - if (global.flag[66] == 0) - global.msg[1] = "\E0OKAY!!^1!&LET'S HANG TEN!!/%%" - } - else - { - scr_papface(0, 2) - global.msg[1] = "\E2TAKE YOUR TIME..^1.&I'LL WAIT FOR&YOU./%%" - } - break - case 565: - global.msg[0] = "* (This mailbox is labelled& " + chr(34) + "PAPYRUS" + chr(34) + ".)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 566: - if (global.choice == 0) - global.msg[0] = "* (It's empty.)/%%" - else - global.msg[0] = "* (You realize that would& probably be illegal.)/%%" - break - case 567: - global.msg[0] = "* what^1?&* haven't you seen a guy& with two jobs before?/" - global.msg[1] = "\E1* fortunately^1, two jobs& means twice as many& legally-required breaks./" - global.msg[2] = "\E0* i'm going to grillby's.&* wanna come?& Yeah I'm busy \C" - global.msg[3] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - if (scr_murderlv() >= 7) - { - global.msg[0] = "\E2* hey^1, looks like you're& really turning yourself& around./" - global.msg[1] = "\E0* how about i treat you& to lunch at grillby's?/" - global.msg[2] = "\E1* ... when everyone you& scared away comes& back^1, i mean./%%" - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = "* well^1, if you insist..^1.&* i'll pry myself away& from my work.../%%" - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* OK^1. have fun./%%" - break - case 570: - global.msg[0] = "\E1* whoops^1, watch where& you sit down./" - global.msg[1] = "* sometimes weirdos put& whoopee cushions on& the seats./" - global.msg[2] = "\E0* anyway^1, let's order./" - global.msg[3] = "* whaddya want...?& & Fries Burger\C" - global.msg[4] = " " - break - case 571: - global.msg[0] = "* ok^1, coming right up./%%" - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& fries./%%" - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& burg./%%" - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = "* so^1, what do you& think.../" - global.msg[1] = "* of my brother?& & Cool Uncool\C" - global.msg[2] = " " - break - case 573: - if (global.choice == 0) - { - global.msg[0] = "* of course he's cool./" - global.msg[1] = "\E1* you'd be cool too& if you wore that& outfit every day./" - global.msg[2] = "\E0* he'd only take that& thing off if he& absolutely had to./" - global.msg[3] = "* oh well^1.&* at least he washes& it./" - global.msg[4] = "\E1* and by that i mean& he wears it in& the shower./%%" - } - else - { - global.msg[0] = "* hey^1, pal./" - global.msg[1] = "\E1* sarcasm isn't funny^1,& okay?/" - global.msg[2] = "\E0* my brother's a real& star./" - global.msg[3] = "* he's the person who& pushed me to get& this sentry job./" - global.msg[4] = "* maybe it's a little& strange^1, but& sometimes.../" - global.msg[5] = "* ... it's nice to have& someone call you out& on being lazy./" - global.msg[6] = "\E1* even though nothing& could be further& from the truth./%%" - } - break - case 574: - global.msg[0] = "* here comes the grub./" - global.msg[1] = "* want some ketchup^1?& & Yes No \C" - global.msg[2] = " " - break - case 575: - if (global.choice == 0) - global.msg[0] = "\E2* bone appetit./%%" - else - { - global.msg[0] = "\E2* more for me./%%" - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = "\W* have you ever heard& of a \Ytalking flower\W?& Yes No \C" - global.msg[1] = " " - break - case 577: - if (global.choice == 0) - global.msg[0] = "\E1* so you know all& about it./" - if (global.choice == 1) - global.msg[0] = "\E1* i'll tell you^1, then./" - global.msg[1] = "\W*\E0 the \Becho flower\W./" - global.msg[2] = "* they're all over the& marsh./" - global.msg[3] = "* say something to them^1,& and they'll repeat it& over and over.../" - global.msg[4] = "* what about it?/" - global.msg[5] = "* well^1, papyrus told& me something interesting& the other day./" - global.msg[6] = "* sometimes^1, when no& one else is around.../" - global.msg[7] = "* a flower appears and& whispers things to& him./" - global.msg[8] = "* flattery..^1.&* advice..^1.&* encouragement.../" - global.msg[9] = "* ... predictions./" - global.msg[10] = "* weird^1, huh?/" - global.msg[11] = "* someone must be using& an echo flower to& play a trick on him./" - global.msg[12] = "* keep an eye out^1, ok?/" - global.msg[13] = "* thanks./%%" - break - case 578: - global.msg[0] = "\E1* oh^1, by the way.../" - global.msg[1] = "\E0* i'm flat broke^1.&* can you foot the& bill?/" - global.msg[2] = "* it's just 10000G.& & Yes No \C" - global.msg[3] = " " - break - case 579: - global.msg[0] = " %%" - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = "* My mind is running wild^1!&* I haven't felt like this& in a long time.../%%" - if (global.flag[84] == 5) - global.msg[0] = "* Please leave./%%" - if (global.flag[84] < 2) - { - global.msg[0] = "* You..^1.&* You came from outside^1,& didn't you?/" - global.msg[1] = "* People like you are so& rare.../" - global.msg[2] = "* Please^1!* Stranger!/" - global.msg[3] = "* Tell me about outside...?& & Yes No\C" - global.msg[4] = " " - } - if (global.flag[84] == 2) - global.msg[0] = "* Well^1, what are you& waiting for?/%%" - if (global.flag[84] == 3) - { - global.msg[0] = "* Oh^1!&* You're back!/" - global.msg[1] = "* How's the room?& & Different Same\C" - global.msg[2] = " " - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = "* Huh^1?&* " + chr(34) + "SURFACE" + chr(34) + "^1?&* What do you mean?/" - global.msg[1] = "* I just meant outside this& room./" - global.msg[2] = "* If you haven't noticed^1, my& mycelium have bound me& to the ground./" - global.msg[3] = "* Please^1!&* Stranger!/" - global.msg[4] = "* I'll make this simple./" - global.msg[5] = "* I've spent my whole life& in the same spot^1,& in the same room./" - global.msg[6] = "* But I've long wondered& what lies inside the& room to the right./" - global.msg[7] = "* Long I've fantasized& about entering^1, and& changing my scenery.../" - global.msg[8] = "* No..^1.&* Changing my LIFE!/" - global.msg[9] = "* Please^1.&* Go and tell me what's& inside./%%" - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* Is everyone out there& like you^1?&* How terrible./%%" - } - else - { - if (global.choice == 0) - { - global.msg[0] = "* Oh^1, that's a relief^1!/" - global.msg[1] = "* That's all I need to& continue my fantasies^1.&* Thank you^1, stranger./%%" - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = "* So it's the same./" - global.msg[1] = "* The same.../" - global.msg[2] = "* Same.../" - global.msg[3] = "* .../" - global.msg[4] = "* OK./%%" - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = "* (Take an umbrella?)& & Take one Do not\C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (Return the umbrella?)& & Put back Do not\C" - global.msg[1] = " " - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You took an umbrella.)/%%" - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = " %%" - } - else if (global.choice == 0) - { - global.msg[0] = "* (You returned the umbrella.)/%%" - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 585: - global.msg[0] = "* (It's a statue^1.)&* (The structures at its& feet seem dry.)/%%" - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = "* (Put the umbrella on the& statue?)& Yes Do not\C" - global.msg[1] = " " - } - if (global.flag[86] == 1) - global.msg[0] = "* (The music continues^1, and& doesn't stop.)/%%" - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You place the umbrella& atop the statue.)/" - global.msg[1] = "* (Inside the statue^1, a music& box begins to play...)/%%" - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 587: - global.msg[0] = "* (It's a rusty old& fridge.)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 588: - if (global.choice == 0) - { - global.msg[0] = "* (You open the fridge.^1)&* (The air fills with a& rotten stench.)/" - global.msg[1] = "* (All the food inside here& spoiled long ago.)/%%" - } - else - global.msg[0] = " %%" - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = "* error/%%" - if (global.flag[108] > 2) - global.msg[0] = "* (The cooler is empty.)/%%" - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = "* (Take a space food bar& from the cooler?)& Yes No \C" - global.msg[1] = " " - } - if (global.flag[108] == 0) - { - global.msg[0] = "* (It's a cooler^1.&* It has no brand^1, and& shows no signs of wear...)/" - global.msg[1] = "* (Inside are a couple& of freeze-dried space& food bars.)/" - global.msg[2] = "* (Take one?)& & Yes No \C" - global.msg[3] = " " - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = "* (You got the Astronaut Food.)/%%" - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* %%" - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = "* (Seems like a regular& training dummy.)/" - global.msg[1] = "* (Do you want to beat it& up?)& Yes No \C" - global.msg[2] = " " - } - else - global.msg[0] = "* (You've had enough of& the dummy.)/%%" - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = "* (You tap the dummy with& your fist.)/" - global.msg[1] = "* (You feel bad.)/%%" - } - if (global.lv > 1) - { - global.msg[0] = "* (You hit the dummy& lightly.)/" - global.msg[1] = "* (You don't feel like& you learned anything.)/%%" - } - if (global.lv > 4) - { - global.msg[0] = "* (You sock the dummy.)/" - global.msg[1] = "* (Who cares?)/%%" - } - if (global.lv > 7) - { - global.msg[0] = "* (You punch the dummy at& full force.)/" - global.msg[1] = "* (Feels good.)/%%" - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = "* (You stare into each& other's eyes for a& moment...)/%%" - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = "* (It's a horse stable.)/" - global.msg[1] = "* (Do you want to go& inside?)& Yes No \C" - global.msg[2] = " " - break - case 594: - if (global.choice == 0) - { - global.msg[0] = "* (You jostle the door.)&* (It's locked.)/" - global.msg[1] = "* (Suddenly^1, from inside& the [redacted], you hear a&/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 1) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* (Spooktunes are dead.)/%%" - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 608: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 2) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 610: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 3) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 612: - global.msg[0] = "* (Look inside the fridge?)& & Open it No\C" - global.msg[1] = " " - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = "* (There's a lonely sandwich& inside.)/%%" - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = "* (It's empty.)/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 615: - global.msg[0] = "* this is a ghost sandwich.../" - global.msg[1] = "* do you want to try it...& & Yes No\C" - global.msg[2] = " " - break - case 616: - if (global.choice == 0) - { - global.msg[0] = "* (You attempt to bite& into the ghost sandwich.)/" - global.msg[1] = "* (You phase right through& it...)/" - global.msg[2] = "* oh.../" - global.msg[3] = "* nevermind.../%%" - } - if (global.choice == 1) - global.msg[0] = "* oh.....................& ....................& ................./%%" - break - case 617: - global.msg[0] = "* after a great meal i like& to lie on the ground and& feel like garbage.../" - global.msg[1] = "* it's a family tradition.../" - global.msg[2] = "* do you want..^1.&* ... to join me...& Yes No\C" - global.msg[3] = " " - break - case 618: - if (global.choice == 0) - global.msg[0] = "* okay..^1.&* follow my lead.../%%" - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = "* oh.....................& ....................& ................./%%" - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = "* do you want to play a game^1?&* it's called thundersnail./" - global.msg[1] = "* the snails will race^1, and if& the yellow snail wins^1, you& win./" - global.msg[2] = "* it's 10G to play.& & Play No\C" - global.msg[3] = " " - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = "* um..^1.&* you don't have any money?/" - global.msg[1] = "* n-no^1, you can still play^1,& don't worry about it.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = "* um..^1. that's less than 10G./" - global.msg[1] = "* but since you're my only& real customer^1, i guess i'll& just take what you have.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[1] = "* ready?/%%" - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* oh.........../%%" - break - case 621: - global.msg[0] = "* .../" - global.msg[1] = "* Seven./" - global.msg[2] = "* Seven human souls./" - global.msg[3] = "* With the power of seven& human souls^1, our king.../" - global.msg[4] = "\W* \YKing \RASGORE \YDreemurr\W.../" - global.msg[5] = "* ... will become a god./" - global.msg[6] = "\W* With that power^1, \RASGORE\W & can finally shatter the& barrier./" - global.msg[7] = "* He will finally take the& surface back from humanity.../" - global.msg[8] = "* And give them back the& suffering and pain that& we have endured./" - global.msg[9] = "* .../" - global.msg[10] = "* Understand^1, human?/" - global.msg[11] = "* This is your only chance& at redemption./" - global.msg[12] = "* Give up your soul.../" - global.msg[13] = "* Or I'll tear it from& your body./%%" - break - case 622: - if (global.choice == 0) - { - global.msg[0] = "* That spark in your eyes.../" - global.msg[1] = "* You're really eager to& die^1, aren't you?/%%" - } - if (global.choice == 1) - global.msg[0] = "* .../%%" - break - case 623: - global.msg[0] = "* Yo^1, I know I'm not supposed& to be here^1, but.../" - global.msg[1] = "* I wanna ask you something./" - global.msg[2] = "* .../" - global.msg[3] = "* Man^1, I've never had to ask& anyone this before.../" - global.msg[4] = "* Umm.../" - global.msg[5] = "* Yo..^1. You're human^1, right?&* Haha./" - global.msg[6] = "* Man^1! I knew it!/" - global.msg[7] = "* ... well^1, I know it now^1,& I mean.../" - global.msg[8] = "* Undyne told me^1, um^1, " + chr(34) + "stay& away from that human." + chr(34) + "/" - global.msg[9] = "* So^1, like^1, ummm.../" - global.msg[10] = "* I guess that makes us enemies& or something./" - global.msg[11] = "* But I kinda stink at that^1,& haha./" - global.msg[12] = "* Yo^1, say something mean so& I can hate you?/" - global.msg[13] = "* Please? & & Yes No \C" - global.msg[14] = " " - break - case 624: - if (global.choice == 0) - { - global.msg[0] = "* Huh...?/" - global.msg[1] = "* Yo^1, that's your idea of& something mean?/" - global.msg[2] = "* My sister says that to me& ALL THE TIME!/" - global.msg[3] = "* Guess I have to do it^1, haha./" - global.msg[4] = "* Yo^1, I..^1. I hate your guts./" - global.msg[5] = "* .../" - global.msg[6] = "* Man^1, I..^1. I'm such a turd./" - global.msg[7] = "* I'm..^1. I'm gonna go home& now./%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Yo^1, what^1?&* So I have to do it?/" - global.msg[1] = "* Here goes nothing.../" - global.msg[2] = "* Yo^1, I..^1. I hate your guts./" - global.msg[3] = "* .../" - global.msg[4] = "* Man^1, I..^1. I'm such a turd./" - global.msg[5] = "* I'm..^1. I'm gonna go home& now./%%" - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = "* (It's a water cooler.)&* (Take a cup of water?)& Yes No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There's no more water left& in the cooler.)/%%" - if instance_exists(obj_undynefall) - global.msg[0] = "* (Sadistically^1, you've poured& out all the water right in& front of Undyne's eyes.)/%%" - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = "* (You take a cup of water.)/%%" - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 627: - global.msg[0] = "* (Get rid of the water?)& & Yes No \C" - global.msg[1] = " " - break - case 628: - if (global.choice == 0) - { - global.msg[0] = "* (You pour the water on& the ground next to the& water cooler.)/%%" - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 629: - global.msg[0] = "* A rousing error./%%" - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = "* (Give Undyne the water?)& & Yes No \C" - global.msg[1] = " " - } - else - global.msg[0] = "* (She looks dry...)/%%" - } - break - case 630: - global.msg[0] = " %%" - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = "BEPIS." - armor2 = "BEPIS." - if (global.flag[75] == 4) - armor1 = "GROSS BANDAGE" - if (global.flag[75] == 12) - armor1 = "FADED RIBBON" - if (global.flag[75] == 15) - armor1 = "BANDANNA" - if (global.flag[75] == 24) - armor1 = "DUSTY TUTU" - if (global.flag[77] == 4) - armor2 = "GROSS BANDAGE" - if (global.flag[77] == 12) - armor2 = "FADED RIBBON" - if (global.flag[77] == 15) - armor2 = "BANDANNA" - if (global.flag[77] == 24) - armor2 = "DUSTY TUTU" - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "REMEMBER WHEN&I ASKED YOU&ABOUT CLOTHES?/" - global.msg[4] = "\E3WELL^1, THE FRIEND&WHO WANTED TO&KNOW.../" - global.msg[5] = "\E0HER OPINION OF&YOU IS VERY.../" - global.msg[6] = "\E3MURDERY./" - global.msg[7] = "\E0ERROR!!^1!&SEE YOU LATER!/%%" - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I TOLD HER WHAT&YOU TOLD ME&YOU WERE WEARING!/" - global.msg[10] = (("A " + armor1) + "!/") - global.msg[11] = "BECAUSE I KNEW^1,&OF COURSE.../" - global.msg[12] = "\E3AFTER SUCH A&SUSPICIOUS&QUESTION.../" - global.msg[13] = "\E0YOU WOULD&OBVIOUSLY CHANGE&YOUR CLOTHES!/" - global.msg[14] = "YOU'RE SUCH A&SMART COOKIE!/" - global.msg[15] = "THIS WAY YOU'RE&SAFE AND I&DIDN'T LIE!!!/" - global.msg[16] = "NO BETRAYAL&ANYWHERE!!!/" - global.msg[17] = "BEING FRIENDS&WITH EVERYONE&IS EASY!!!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = "\E3I AM NOT A&CRUEL PERSON./" - global.msg[10] = "\E0I STRIVE TO BE&COMFORTING AND&PLEASANT./" - global.msg[11] = "PAPYRUS!&HE SMELLS LIKE&THE MOON./" - global.msg[12] = "SO, BECAUSE OF&MY INHERENT&GOODNESS.../" - global.msg[13] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[14] = "\E3EVEN THOUGH YOU&TOLD ME YOU&WERE!/" - global.msg[15] = "INSTEAD^1, I MADE&SOMETHING UP!/" - global.msg[16] = "I TOLD HER YOU&WERE WEARING.../" - global.msg[17] = (("\E0A " + armor2) + "./") - global.msg[18] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[19] = (("I KNOW YOU WOULD&NEVER EVER WEAR&A " + armor2) + "./") - global.msg[20] = "\E0BUT YOUR SAFETY&IS MORE IMPORTANT&THAN FASHION./" - global.msg[21] = "\E3DANG!/" - global.msg[22] = "I JUST WANT TO&BE FRIENDS WITH&EVERYONE.../" - global.msg[23] = "\TS \F0 \T0 %" - global.msg[24] = "* Click.../%%" - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "\E3PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = (("\WY\E0OU SAID YOU WERE\Y &NOT WEARING A&" + armor1) + "\W./") - global.msg[10] = "\E3SO OF COURSE&I ACTUALLY&TOLD HER.../" - global.msg[11] = (("\E0YOU WERE&INDEED WEARING&A " + armor1) + "!/") - global.msg[12] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[13] = (("BUT SINCE YOU&AREN'T WEARING&A " + armor1) + "./") - global.msg[14] = "\E0SHE SURELY&WON'T ATTACK&YOU!/" - global.msg[15] = "NOW YOU ARE&SAFE AND SOUND./" - global.msg[16] = "\E2WOWIE..^1.&THIS IS HARD./" - global.msg[17] = "I JUST WANT TO&BE EVERYBODY'S&FRIEND!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I KNEW WHEN&YOU SAID:/" - global.msg[10] = (('\E3"I AM NOT&WEARING A&' + armor1) + '."/') - global.msg[11] = "\E0IT WAS REALLY&A SECRET CODE!/" - global.msg[12] = "\E3YOU REALLY&MEANT.../" - global.msg[13] = (('\E0"I ACTUALLY AM&WEARING&A ' + armor1) + '!"/') - global.msg[14] = "YOU WERE TRYING&TO PROTECT&YOURSELF.../" - global.msg[15] = "WHILE MAKING IT&SO I DIDN'T&HAVE TO LIE!/" - global.msg[16] = "I PICKED UP ON&THIS, AND FOLLOWED&YOUR PLAN./" - global.msg[17] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[18] = "IN FACT I TOOK&IT ONE STEP&FURTHER!/" - global.msg[19] = "\E3I TOLD HER YOU&WERE PROBABLY.../" - global.msg[20] = (("\E0WEARING A&" + armor2) + "!/") - global.msg[21] = "\E3OF COURSE, YOU&WOULD NEVER&WEAR THAT./" - global.msg[22] = "\E0BUT THAT'S THE&POINT!/" - global.msg[23] = "SHE WON'T&RECOGNIZE YOU&NOW!/" - global.msg[24] = "AND I DIDN'T&HAVE TO BETRAY&EITHER OF YOU!/" - global.msg[25] = "SINCE I JUST&TOLD HER WHAT&YOU SAID!/" - global.msg[26] = "WOWIE^1!&YOU'RE SUCH A&SMART COOKIE!/" - global.msg[27] = "I REALLY CAN&BE FRIENDS WITH&EVERYONE!!!/" - global.msg[28] = "\TS \F0 \T0 %" - global.msg[29] = "* Click.../%%" - } - } - break - case 633: - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HEY^1!&WHAT'S UP!?/" - global.msg[3] = "I WAS JUST&THINKING.../" - global.msg[4] = "YOU^1, ME^1, AND&UNDYNE SHOULD ALL&HANG OUT SOMETIME!/" - global.msg[5] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE&LATER!/" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - if (global.flag[88] < 3) - { - global.msg[5] = "AFTER YOU HANG&OUT WITH ME.../" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE!/" - global.msg[7] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - } - break - case 635: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 636: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 637: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 638: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 639: - global.msg[0] = "* (It's a book labelled& Monster History Part 7.)& Read it Do not\C" - global.msg[1] = " " - break - case 640: - global.msg[0] = "* When a human dies^1, its& soul remains stable& outside the body./" - global.msg[1] = "* Meanwhile^1, a monster's soul& disappears near-instantly& upon death./" - global.msg[2] = "* This allows monsters to& absorb the souls of& humans.../" - global.msg[3] = "* While it is extremely& difficult for humans to& absorb a monster's soul./" - global.msg[4] = "* This is why they feared us./" - global.msg[5] = "* Though monsters are weak^1,& with enough human souls.../" - global.msg[6] = "* They could easily destroy& all of mankind./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 641: - global.msg[0] = "* (It's a book labelled& Monster History Part 8.)& Read it Do not\C" - global.msg[1] = " " - break - case 642: - global.msg[0] = "* There is one exception& to the aforementioned& rules:/" - global.msg[1] = "* A certain type of monster^1,& the " + chr(34) + "boss" + chr(34) + " monster./" - global.msg[2] = "* Due to its life cycle^1, it& possesses an incredibly& strong soul for a monster./" - global.msg[3] = "* This soul can remain& stable after death^1, if& only for a few moments./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 643: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 644: - global.msg[0] = "* (You look inside a book.)/" - global.msg[1] = "* (It's a comic of a giant& robot fighting a beautiful& alien princess.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 645: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 646: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (Two scantily-clad chefs are& flinging energy pancakes& at each other.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 647: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 648: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (A hideous android is running& to school with toast in& its mouth.)/" - global.msg[2] = "* (Seems like it's late.)/" - global.msg[3] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 660: - global.msg[0] = "* (There's a piano here.^1)&* (Play it?)& Yes No\C" - global.msg[1] = " " - break - case 661: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = "See that heart^1? &That is your SOUL^1,&the very culmination&of your being!/" - global.msg[1] = "Your SOUL starts off&weak^1, but can grow&strong if you gain&a lot of LV./" - global.msg[2] = "What's LV stand for^1?&Why^1, LOVE^1, of course!/" - global.msg[3] = "You want some&LOVE, don't you?/" - global.msg[4] = "Don't worry,&I'll share some&with you!/%" - break - case 667: - global.msg[0] = "Down here^1, LOVE is&shared through..^1./" - global.msg[1] = "Little white..^2.\E1 &" + chr(34) + "friendliness&pellets." + chr(34) + "/" - global.msg[2] = "\E2Are you ready\E0?/%" - break - case 668: - global.msg[0] = "Move around^1!&Get as many as&you can^2!%%%" - global.msg[1] = "%%%" - break - case 669: - global.msg[0] = "You idiot./" - global.msg[1] = "In this world^1, it's&kill or BE killed./" - global.msg[2] = "Why would ANYONE pass&up an opportunity&like this!?/%" - break - case 670: - global.msg[0] = "Die./%" - break - case 671: - global.msg[0] = "Hey buddy^1,&you missed them./" - global.msg[1] = "Let's try again^1,&okay?/%" - break - case 672: - global.msg[0] = "Is this a joke^2?&Are you braindead^2?&RUN^2. INTO^2. THE^2.&BULLETS!!!" - break - case 673: - global.msg[0] = "You know what's&going on here^1,&don't you?/" - global.msg[1] = "You just wanted to&see me suffer./%" - break - case 674: - global.msg[0] = "\E1What a terrible&creature^1, torturing&such a poor^1,&innocent youth.../" - global.msg[1] = "\E2Ah, do not be&afraid^1, my child./" - global.msg[2] = "\XI am \BTORIEL\X,&caretaker of&the \RRUINS\X./" - global.msg[3] = "I pass through this&place every day to&see if anyone has&fallen down./" - global.msg[4] = "You are the first&human to come here&in a long time./" - global.msg[5] = "I will do my best&to ensure your&protection during&your time here./%%" - global.msg[5] = "\E2Come^2!&I will guide you&through the&catacombs./%%" - global.msg[6] = "%%%" - break - case 680: - global.msg[0] = "* Three gold for the ferry.& & Yes No\C" - global.msg[1] = " " - break - case 681: - global.msg[0] = "* Later^1, then./%%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = "* Hop on!/%%" - } - break - case 682: - global.msg[0] = "* (It's a switch.)& & Press it Don't\C" - global.msg[1] = " " - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were deactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were reactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "\E1* Um.../" - global.msg[3] = "\E0* I noticed you've been& kind of quiet.../" - global.msg[4] = "\W*\E8 Are you w-worried& about meeting \RASGORE\W...?/" - global.msg[5] = "\E2* .../" - global.msg[6] = "\E0* W-well^1, don't worry^1,& okay?/" - global.msg[7] = "\E7* Th-the king is a& really nice guy.../" - global.msg[8] = "\E0* I'm sure you can& talk to him^1, and.../" - global.msg[9] = "* W-with your human& soul^1, you can pass& through the barrier!/" - global.msg[10] = "* S-so no worrying^1, OK^1?&* J-just forget about it& and smile./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* Click.../%%" - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = "* hey buddy^1, what's up^1?&* wanna buy a hot dog?/" - global.msg[1] = "* it's only 30G.& & Yes No \C" - global.msg[2] = " " - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = "* here^1.&* have fun./%%" - if (global.flag[380] == 1) - { - global.msg[0] = "* here's another hot& dog./" - global.msg[1] = "* it's on the house^1.&* well^1, no^1.&* it's on you./%%" - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = "* sorry^1, thirty is& the limit on& head-dogs./%%" - if (global.flag[381] == 0) - { - global.msg[0] = "\TS*^1 \Tsi'll be 'frank' with& you./" - global.msg[1] = "* as much as i like& putting hot dogs& on your head.../" - global.msg[2] = "* thirty is just& an excessive number./" - global.msg[3] = "* twenty-nine^1, now& that's fine^1, but& thirty.../" - global.msg[4] = "* does it look like& my arms can reach& that high?/%%" - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = "* thanks, kid^1.&* here's your hot dog./%%" - if (global.flag[379] == 0) - { - global.msg[0] = "* thanks, kid^1.&* here's your 'dog./" - global.msg[1] = "* yeah^1. 'dog^1.&* apostrophe-dog^1.&* it's short for hot-dog./%%" - } - if (global.flag[379] == 1) - { - global.msg[0] = "* another h'dog^1?&* here you go.../" - global.msg[1] = "* whoops^1, i'm actually& out of hot dogs./" - global.msg[2] = "* here^1, you can have& a hot cat instead./%%" - } - if (global.flag[379] == 2) - { - global.msg[0] = "* another dog^1, coming& right up.../" - global.msg[1] = "* ... you really like& hot animals^1, don't& you?/" - global.msg[2] = "* hey^1, i'm not judging./" - global.msg[3] = "* i'd be out of a job& without folks like you./%%" - } - if (global.flag[379] == 3) - { - global.msg[0] = "* cool^1.&* here's that ''dog./" - global.msg[1] = "* apostrophe-apostrophe& dog./" - global.msg[2] = "* it's short for& apostrophe-dog./" - global.msg[3] = "* which is^1, in turn^1,& short for.../%%" - } - if (global.flag[379] == 4) - { - global.msg[0] = "* another one^1?&* okay./" - global.msg[1] = "* careful^1.&* if you eat& too many hot dogs.../" - global.msg[2] = "* you'll probably get& huge like me./" - global.msg[3] = "* huge as in super-& popular^1, i mean./" - global.msg[4] = "* i'm practically& a hot-dog tycoon now./%%" - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = "* whoops^1, you don't have& enough cash./" - global.msg[1] = "* you should get a job^1.&* i've heard being a& sentry pays well./%%" - } - } - if (noroom == 1) - { - global.msg[0] = "* you're holding too much^1.&* ... guess i'll just put& it on your head./%%" - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* yeah^1, you've gotta& save your money for& college and spiders./%%" - break - case 690: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* L-looks like you& beat him!/" - global.msg[3] = "\E0* Y-you did a really& great job out there./" - global.msg[4] = " & All thanks& to you ... \C" - global.msg[5] = " " - break - case 691: - if (global.choice == 0) - { - global.msg[0] = "\E3* What^1?&* Oh no^1, I mean.../" - global.msg[1] = "\E4* You were the one& doing everything cool!/" - global.msg[2] = "\E0* I just wrote some& silly programs for& your phone./" - } - if (global.choice == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E2* .../" - global.msg[2] = "\E1* .../" - } - global.msg[3] = "\E2* .../" - global.msg[4] = "\E4* ... umm^1, h-hey^1, this& might sound strange^1,& but.../" - global.msg[5] = "\E6* ... c-can I tell& you something?/" - global.msg[6] = "\E9* .../" - global.msg[7] = "\E4* B-before I met you^1,& I d-didn't really.../" - global.msg[8] = "\E9* I didn't really& like myself very& much./" - global.msg[9] = "* For a long time^1,& I f-felt like a& total screw-up./" - global.msg[10] = "\E9* L-like I couldn't& do a-anything& w-without.../" - global.msg[11] = "\E9* W-without ending up& letting everyone& down./" - global.msg[12] = "\E3* B-but...!/" - global.msg[13] = "\E4* Guiding you has& made me feel.../" - global.msg[14] = "\E9* A lot better about& myself./" - global.msg[15] = "\E0* So... thanks for& letting me help& you./" - global.msg[16] = "\E9* .../" - global.msg[17] = "\E4* Uhhh^1, anyway^1, we're& almost to the CORE./" - global.msg[18] = "\E0* It's just past& MTT Resort./" - global.msg[19] = "\E6* Come on^1!&* Let's finish this!/%%" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* Click.../%%" - break - case 692: - global.msg[0] = "\E0EUREKA!!!/" - global.msg[1] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[2] = "\E3YOU SEEM LIKE&YOU'RE HAVING&FUN^1, THOUGH.../" - global.msg[3] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[6] = " " - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 694: - global.msg[0] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[1] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[4] = " " - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 696: - global.msg[0] = "* (There's a switch on the& trunk of this tree.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - break - case 697: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = "OHO^1!&THE HUMAN ARRIVES!/" - global.msg[1] = "ARE YOU READY TO&HANG OUT WITH&UNDYNE?/" - global.msg[2] = "I HAVE A PLAN&TO MAKE YOU TWO&GREAT FRIENDS!/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Will you hang out?)& & Yes No\C" - global.msg[5] = " " - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = "HMMM..^1.&STILL GETTING&READY?/" - global.msg[2] = "\E0TAKE YOUR TIME!/%%" - } - break - case 700: - global.msg[0] = "OKAY^1!&ALL READIED-UP&TO HANG OUT!?/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* (Will you hang out?)& & Yes No\C" - global.msg[3] = " " - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 703: - global.msg[0] = "\E4* .../" - global.msg[1] = "\E5* So why are YOU& here?/" - global.msg[2] = "\E4* To rub your victory& in my face?/" - global.msg[3] = "\E4* To humiliate me& even further?/" - global.msg[4] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[5] = " " - break - case 704: - if (global.choice == 0) - { - global.msg[0] = "\E2* Oh-ho-ho-ho./" - global.msg[1] = "\E1* Well^1, I've got news& for you^1, BRAT./" - global.msg[2] = "\E2* You're on MY& battlefield now./" - global.msg[3] = "\E3* And you AREN'T& going to& humiliate me./" - global.msg[4] = "\E3* I'll TELL you& what's going to& happen./" - global.msg[5] = "\E0* We're going to& hang out./" - global.msg[6] = "\E2* We're going to& have a good& time./" - global.msg[7] = "\M1* We're going to& become " + chr(34) + "friends." + chr(34) + "/" - global.msg[8] = "\E3* You'll become so& enamored with me.../" - global.msg[9] = "\E1* YOU'LL be the one& feeling humiliated& for your actions!/" - global.msg[10] = "\E6* Fuhuhuhuhu!!/" - global.msg[11] = "\M2* It's the perfect& revenge!!!/" - global.msg[12] = "\E1* Err.../" - global.msg[13] = "\E9* Why don't you& have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\E4* Then why are you& here?/" - global.msg[1] = "\E1* ...!/" - global.msg[2] = "\E2* Wait^1, I get it./" - global.msg[3] = "\E3* You think that I'm& gonna be friends& with you^1, huh?/" - global.msg[4] = "* Right???& NEVER & Yes with you\C" - global.msg[5] = " " - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = "\E6* Really^1?&* How delightful!^1!&* I accept!/" - global.msg[1] = "* Let's all frolick& in the fields& of friendship!/" - global.msg[2] = "\E2* ...NOT!/" - global.msg[3] = "\E2* Why would I EVER& be friends with& YOU!?/" - global.msg[4] = "\E3* If you weren't my& houseguest^1, I'd beat& you up right now!/" - global.msg[5] = "\E0* You're the enemy& of everyone's hopes& and dreams!/" - global.msg[6] = "\E1* I WILL NEVER& BE YOUR FRIEND./" - global.msg[7] = "\E3* Now get out of& my house!/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = "\E1* WHAT?/" - global.msg[1] = "\E4* First you parade& into my house^1,& then you INSULT me?/" - global.msg[2] = "\E2* You little BRAT^1!&* I have half a& mind to.../" - global.msg[3] = "\E1* .../" - global.msg[4] = "\E3* Wait./" - global.msg[5] = "\E2* I'll prove you& WRONG./" - global.msg[6] = "\E3* We ARE going to& be friends./" - global.msg[7] = "\E1* In fact.../" - global.msg[8] = "\E3* We./" - global.msg[9] = "\M1* Are going to be& BESTIES./" - global.msg[10] = "* I'll make you like& me so much.../" - global.msg[11] = "\E1* Your WHOLE LIFE& will revolve around& me!!/" - global.msg[12] = "\M2* It's the perfect& revenge!!!/" - global.msg[13] = "\E6* FUHUHUHUHU!!!/" - global.msg[14] = "\E1* Err.../" - global.msg[15] = "\E9* Now^1, why don't& you have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = "* (Sit down and progress?)& & Yes No\C" - global.msg[1] = " " - break - case 707: - global.msg[0] = " %%" - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = " %%" - global.msg[1] = " %%" - } - break - case 708: - global.msg[0] = "* That sugar's for& the tea./" - global.msg[1] = "\E2* I'm not gonna give& you a cup of& sugar!/" - global.msg[2] = "\E6* What do I look& like^1, the ice-cream& woman?/" - global.msg[3] = "\E2* Do human ice-cream& women TERRORIZE HUMANITY& with ENERGY SPEARS?/" - global.msg[4] = "\E3* Are their ice-cream& songs a PRELUDE TO& DESTRUCTION?/" - global.msg[5] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[6] = " " - break - case 709: - if (global.choice == 0) - { - global.msg[0] = "\E1* ... what^1?&* REALLY?/" - global.msg[1] = "\E6* That rules!!!/%%" - } - if (global.choice == 1) - global.msg[0] = "\E3* That's what I& thought./%%" - break - case 710: - global.msg[0] = "* Envision these& vegetables as your& greatest enemy!/" - global.msg[1] = "\E2* Now!^1!&* Pound them to dust& with your fists!!/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (How will you pound?)& & Strong Wimpy\C" - global.msg[4] = " " - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = "* (You punch the vegetables& at full force^1.&* You knock over a tomato.)/" - scr_undface(1, 6) - global.msg[2] = "* YEAH^1!&* YEAH!/" - global.msg[3] = "\E1* Our hearts are& uniting against these& healthy ingredients!/" - global.msg[4] = "\M2* NOW IT'S MY TURN!/" - global.msg[5] = "* NGAHHH!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = "* (You pet the vegetables& in an affectionate& manner.)/" - scr_undface(1, 1) - global.msg[2] = "* OH MY GOD!!^1!&* STOP PETTING THE& ENEMY!!!/" - global.msg[3] = "\M2* I'll show you& how it's done!/" - global.msg[4] = "* NGAHHH!/%%" - } - break - case 712: - global.msg[0] = "* ... we add the& noodles!/" - global.msg[1] = "\E0* Homemade noodles& are the best!/" - global.msg[2] = "\E6* BUT I JUST BUY& STORE-BRAND!/" - global.msg[3] = "\M2* THEY'RE THE& CHEAPEST!!!/" - global.msg[4] = "\E1* NGAHHHHHHHHH& HHHHHHHHHH!!!/" - global.msg[5] = "\E9* Uhh^1, just put them& in the pot./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "\M0* (How will you put them in?)& & Fiercely Careful\C" - global.msg[8] = " " - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = "* (You throw everything into& the pot as hard as you can^1,& including the box.)/" - global.msg[1] = "* (It clanks against the& empty bottom.)/" - scr_undface(2, 6) - global.msg[3] = "\M2* YEAH!!^1!&* I'M INTO IT!!!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = "* (You place the noodles& in one at a time.)/" - global.msg[1] = "* (They clank against the& empty bottom.)/" - scr_undface(2, 9) - global.msg[3] = "* Nice???/%%" - } - break - case 714: - global.msg[0] = "\E0* Humans suck^1, but& their history..^1.&* Kinda rules./" - global.msg[1] = "\E2* Case in point^1:&* This giant sword!/" - global.msg[2] = "\E0* Historically^1, humans& wielded swords up& to 10x their size./" - global.msg[3] = "\E1* RIGHT?& & True False\C" - global.msg[4] = " " - break - case 715: - if (global.choice == 0) - { - global.msg[0] = "\E6* Heh^1, I knew it!/" - global.msg[1] = "\E2* When I first heard& that^1, I immediately& wanted one!/" - global.msg[2] = "\E0* So me and Alphys& built a giant& sword together./" - global.msg[3] = "\E0* She figured out all& the specs herself.../" - global.msg[4] = "\E6* She's smart^1, huh!?/%%" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* Pfft^1!&* You liar!/" - global.msg[1] = "\E3* I've READ Alphys's& human history book& collection!/" - global.msg[2] = "\E3* I know all about& your giant swords.../" - global.msg[3] = "\E3* Your colossal^1,& alien-fighting& robots.../" - global.msg[4] = "* Your supernatural& princesses.../" - global.msg[5] = "\E6* Heh^1! There's no& way you're gonna& fool me!!!/%%" - } - break - case 716: - global.msg[0] = "* (Look inside the bone drawer?)& & Yes No\C" - global.msg[1] = " " - break - case 717: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = "\M5* WHAT A SENSATIONAL OPPORTUNITY& FOR A STORY!/" - global.msg[1] = "\M3* I CAN SEE THE HEADLINE NOW:/" - global.msg[2] = "\M4* " + chr(34) + "A DOG EXISTS SOMEWHERE." + chr(34) + "/" - global.msg[3] = "\M2* FRANKLY^1, I'M BLOWN AWAY./" - global.msg[4] = "* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 721: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 722: - global.msg[0] = "\M5* THIS DOG..^1.&* STILL EXISTS!/" - global.msg[1] = "* THIS STORY..^1.&* JUST KEEPS GETTING& BETTER AND BETTER!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 723: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 724: - global.msg[0] = "\M5* OH MY!!!!/" - global.msg[1] = "\M2* ... IT'S A COMPLETELY& NONDESCRIPT GLASS OF WATER./" - global.msg[2] = "\M4* BUT ANYTHING CAN MAKE& A GREAT STORY WITH ENOUGH& SPIN!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 725: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 726: - global.msg[0] = "\M3* I'M HONORED TO BE IN THE& PRESENCE OF SUCH A HUGE& LUKEWARM WATER FAN^1, FOLKS!/" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 727: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 728: - global.msg[0] = "\M5* OH NO!!^1!&* THAT MOVIE SCRIPT!!^1!&* HOW'D??^1? THAT GET THERE???/" - global.msg[1] = "\M4* IT'S A SUPER-JUICY SNEAK& PREVIEW OF MY LATEST& GUARANTEED-NOT-TO-BOMB FILM:/" - global.msg[2] = "\M6* METTATON THE MOVIE XXVIII..^1.& STARRING METTATON!/" - global.msg[3] = "\M1* I'VE HEARD THAT LIKE THE& OTHER FILMS.../" - global.msg[4] = "\M1* IT CONSISTS MOSTLY OF A SINGLE& FOUR-HOUR SHOT OF ROSE PETALS& SHOWERING ON MY RECLINING BODY./" - global.msg[5] = "\M5* OOH!!^1!&* BUT THAT'S!!^1!&* NOT CONFIRMED!!/" - global.msg[6] = "\M5* YOU WOULDN'T (COUGH) SPOIL MY& MOVIE FOR EVERYONE WITH A& PROMOTIONAL STORY^1, WOULD YOU?/" - global.msg[7] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[8] = " " - break - case 729: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\M5* PHEW!!^1! THAT WAS CLOSE!^1!&* YOU ALMOST GAVE ME A BUNCH& OF FREE ADVERTISEMENT!!/%%" - global.msg[1] = "\M2 %%" - } - break - case 730: - global.msg[0] = "\M3* OH^1!&* YOU'RE BACK!/" - global.msg[1] = "\M6* THAT'S RIGHT^1, FOLKS^1!&* IT SEEMS NO ONE CAN RESIST& THE ALLURE OF MY NEW FILM!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 731: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 732: - global.msg[0] = "\M4* BASKETBALL'S A BLAST^1, ISN'T IT^1,& DARLING?/" - global.msg[1] = "\M1* TOO BAD YOU CAN'T PLAY WITH& THESE BALLS./" - global.msg[2] = "\M4* THEY'RE MTT-BRAND FASHION& BASKETBALLS^1.&* FOR WEARING^1, NOT PLAYING./" - global.msg[3] = "\M6* YOU CAN'T GET RICH AND FAMOUS& LIKE MOI WITHOUT BEAUTIFYING& A FEW ORBS./" - global.msg[4] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 733: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 734: - global.msg[0] = "* IT SEEMS OUR REPORTER IS DRAWN& TO SPORTS LIKE MOTHS TO A& FLAMING BASKETBALL HOOP./" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 735: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 736: - global.msg[0] = "\M5* OH MY^1! IT'S A PRESENT^1!&* AND IT'S ADDRESSED TO YOU^1,& DARLING!/" - global.msg[1] = "\M6* AREN'T YOU JUST BURSTING& WITH EXCITEMENT?/" - global.msg[2] = "\M5* WHAT COULD BE INSIDE^1?&* WELL^1, NO TIME LIKE THE& " + chr(34) + "PRESENT" + chr(34) + " TO FIND OUT!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 737: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 738: - global.msg[0] = "\M4* READY FOR YOUR..^1.&* PRESENTATION?/" - global.msg[1] = "\M4* (... LET'S CUT THAT ONE IN& POST.)/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 739: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 740: - global.msg[0] = "\M5* OOH LA LA^1!&* THIS VIDEO GAME YOU FOUND..^1.&* IS DYNAMITE!!!/" - global.msg[1] = "\M4* THOUGH I DON'T MAKE AN& APPEARANCE IN IT UNTIL& THREE-FOURTHS IN./" - global.msg[2] = "\M3* BUT I LIKE THAT./" - global.msg[3] = "\M6* APPEARING FROM THE HEAVENS LIKE& MANNA^1, SLAKING THE AUDIENCE'S& HUNGER FOR GORGEOUS ROBOTS.../" - global.msg[4] = "\M5* OOH^1!&* THAT'S METTATON!/" - global.msg[5] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[6] = " " - break - case 741: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 742: - global.msg[0] = "* AH^1, YOU UNDERSTAND./" - global.msg[1] = "* THIS IS A GAME WHERE YOU& SHOULD CHECK EVERYTHING& TWICE./" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 743: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Cider for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Donut for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 748: - global.msg[0] = "* Ribbit^1, ribbit.&* (I have heard you are quite& merciful^1, for a human...)/" - global.msg[1] = "\W* (Surely you know by now a& monster wears a \YYELLOW\W name& when you can \YSPARE\W it.)/" - global.msg[2] = "* (What do you think of that?)& Very It's& Helpful Bad\C" - global.msg[3] = " " - break - case 749: - if (global.choice == 0) - { - global.msg[0] = "* (It is rather helpful.^1)&* (Remember^1, sparing is just& saying you won't fight.)/" - global.msg[1] = "* (Maybe one day^1, you'll& have to do it even if& their name isn't yellow.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Really^1? Then^1, I'll tell all& of my friends to tell& their friends' friends...)/" - global.msg[1] = "* (Never use yellow names.)&* (How about that?)/" - global.msg[2] = " Keep No more& Yellow Yellow& Names Names\C" - global.msg[3] = " " - } - break - case 750: - if (global.choice == 0) - global.msg[0] = "* (OK^1, they will still& use yellow names.)/%%" - if (global.choice == 1) - { - global.msg[0] = "* (OK^1, I will let them& know not to use yellow& names.)/%%" - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = "* Ribbit^1, ribbit^1.&* (How are you doing without& yellow names?)/" - global.msg[1] = " Bring & It's Them& great Back\C" - global.msg[2] = " " - break - case 752: - if (global.choice == 0) - { - global.msg[0] = "* (Glad to hear it.^1)&* (Though^1, I do not know why& you dislike yellow.)/" - global.msg[1] = "* (You had better hope you do& not encounter a banana-themed& monster.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Huh^1? It's rather inconvenient& that you changed your mind& like this.)/" - global.msg[1] = "* (Since I told everyone& not to use yellow names^1,& everyone threw theirs out.)/" - global.msg[2] = "* (This is really troubling...^1)&* (Hmmm...)/" - global.msg[2] = "\W* (Well^1, last year it was& fashionable to have \ppink\W & names.)/" - global.msg[3] = "* (I think everyone still& has those in their closets& somewhere...)/" - global.msg[4] = "* (I'll ask everyone to look.^1)&* (But this is the last time!)/%%" - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = "* Ribbit^1, ribbit...&* (I hope you're satisfied.)/%%" - break - case 754: - global.msg[0] = "* \YNAPSTABLOOK22 has sent you& a friend request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 755: - global.flag[409] = 1 - global.msg[0] = "* (It seems to have already& rejected itself...)/%%" - break - case 756: - global.msg[0] = "* \YMETTATON has sent you a& Mortal Enemy request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 757: - if (global.choice == 0) - { - global.msg[0] = "* Congratulations^1!&* You are now Mortal Enemies& with Mettaton./" - global.msg[1] = "* \YCOOLSKELETON95\W has posted& a comment on this change./" - global.msg[2] = "* CONGRATULATIONS^1, YOU TWO^1!&* WISH YOU A LONG AND& HORRIBLE RIVALRY./%%" - } - if (global.choice == 1) - global.msg[0] = "* You rejected the request./%%" - break - case 758: - global.msg[0] = "* \YMETTATON has sent you an& invitation to " + chr(34) + "Die." + chr(34) + "\W /" - global.msg[1] = "* RSVP?& & Respond Ignore\C" - global.msg[2] = " " - break - case 759: - if (global.choice == 0) - global.msg[0] = "* Bepis valley Granola Bars/%%" - if (global.choice == 1) - global.msg[0] = "* Bepis valley Granola Bars/%%" - break - case 760: - global.msg[0] = "* hey^1.&* i heard you're going& to the core./" - global.msg[1] = "\E0* how about grabbing some& dinner with me first?& Yeah I'm busy \C" - global.msg[2] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - break - case 761: - if (global.choice == 0) - { - global.msg[0] = "* great^1, thanks for& treating me./%%" - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* well^1, have fun in& there./%%" - break - case 762: - global.msg[0] = "* This is the barrier./" - global.msg[1] = "* This is what keeps& us all trapped& underground./" - global.msg[2] = "* .../" - global.msg[3] = "* If.../" - global.msg[4] = "* If by chance you& have any unfinished& business.../" - global.msg[5] = "* Please do what you& must./" - global.msg[6] = " & & Continue Go Back\C" - global.msg[7] = " " - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Anything you want to& do is important& enough./" - global.msg[2] = "* Even something as small& as reading a book^1,& or taking a walk.../" - global.msg[3] = "* Please take your time./%%" - } - break - case 764: - global.msg[0] = "* Oh..^1.&* Back so soon?/" - global.msg[1] = "* How are you feeling?/" - global.msg[2] = " & & Ready Go Back\C" - global.msg[3] = " " - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Do what you have to./%%" - } - break - case 770: - global.msg[0] = "* Tra la la^1.&* I am the riverman./" - global.msg[1] = "* Or am I the riverwoman...^1?&* It doesn't really matter./" - global.msg[2] = "* I love to ride in my boat^1.&* Would you care to join me?/" - global.msg[3] = "* (Ride in the boat?)& & Yes No\C" - global.msg[4] = " " - if (global.flag[460] > 0) - { - global.msg[0] = "* Tra la la^1.&* Care for a ride?/" - global.msg[1] = "* (Ride in the boat?)& & Yes No\C" - global.msg[2] = " " - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = "* Where will we go today?& & Error Error\C" - if (room == room_fire_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Waterfall\C" - if (room == room_water_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Hotland\C" - if (room == room_tundra_dock) - global.msg[0] = "* Where will we go today?& & Waterfall Hotland\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* Then perhaps another time^1.&* Or perhaps not^1.&* It doesn't really matter./%%" - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = "* Then we're off.../%%" - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = "* (There's a switch on the& wall.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = "* (The switch doesn't do& anything.)/%%" - break - case 781: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = "* (Seems like a comfortable& bed.)/" - global.msg[1] = "* (Lie on it?)& & Yes No\C" - global.msg[2] = " " - break - case 783: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = "* (It's just a regular suspicious& bed now.)/%%" - if (global.flag[484] == 1) - { - global.msg[0] = "* (It's a yellow key.^1)&* (You put it on your& keychain.)/%%" - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = "* (There's something under& the sheets.)/" - global.msg[1] = "* (Check it out?)& & Yes No\C" - global.msg[2] = " " - } - break - case 785: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = "* (The power has been turned& on.)/%%" - if (global.flag[491] == 0) - { - global.msg[0] = "* (It seems like this controls& the elevator's power.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - break - case 787: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = (("\E7* I always was a crybaby^1,& wasn't I^1, " + global.charname) + "?/") - global.msg[1] = "\E1* .../" - global.msg[2] = "\E2* ... I know./" - global.msg[3] = (("\E0* You're not actually& " + global.charname) + ", are you?/") - global.msg[4] = (("\E7* " + global.charname) + "'s been gone for& a long time./") - global.msg[5] = "* .../" - global.msg[6] = "\E9* Um..^1. what.../" - global.msg[7] = "\E0* What IS your name?/" - global.msg[8] = "\E2* .../" - global.msg[9] = "\E5* " + chr(34) + "Frisk?" + chr(34) + "/" - global.msg[10] = "\E7* That's.../" - global.msg[11] = "\E5* A nice name./" - global.msg[12] = "* .../" - global.msg[13] = "\E7* Frisk.../" - global.msg[14] = "\E0* I haven't felt like& this for a long time./" - global.msg[15] = "\E2* As a flower^1, I was& soulless./" - global.msg[16] = "\E1* I lacked the power to& love other people./" - global.msg[17] = "\E2* However^1, with everyone's& souls inside me.../" - global.msg[18] = "\E7* I not only have my own& compassion back.../" - global.msg[19] = "\E5* But I can feel every& other monster's as& well./" - global.msg[20] = "\E7* They all care about& each other so much./" - global.msg[21] = "\E0* And..^1. they care about& you too^1, Frisk./" - global.msg[22] = "* .../" - global.msg[23] = "\E7* I wish I could tell& you how everyone& feels about you./" - global.msg[24] = "* Papyrus..^1. Sans..^1.&* Undyne..^1. Alphys.../" - global.msg[25] = "\E0* ... Toriel./" - global.msg[26] = "\E7* Monsters are weird./" - global.msg[27] = "\E5* Even though they barely& know you.../" - global.msg[28] = "\E6* It feels like they& all really love& you./" - global.msg[29] = "\E8* Haha./" - global.msg[30] = "* .../" - global.msg[31] = "\E1* Frisk..^1. I..^1.&* I understand if you& can't forgive me./" - global.msg[32] = "* I understand if you& hate me./" - global.msg[33] = "* I acted so strange and& horrible./" - global.msg[34] = "\E3* I hurt you./" - global.msg[35] = "* I hurt so many people./" - global.msg[36] = "\E1* Friends^1, family^1,& bystanders.../" - global.msg[37] = "\E3* There's no excuse for& what I've done./" - global.msg[38] = " & & Forgive Do not\C" - global.msg[39] = " " - break - case 801: - if (global.choice == 0) - { - global.msg[0] = "\E3* Wh..^1. what?/" - global.msg[1] = "\E7* ... Frisk^1, come on./" - global.msg[2] = "\E0* You're..^1.&* You're gonna make me& cry again./" - global.msg[3] = "\E7* ... besides^1, even if& you do forgive me.../" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* ... right^1./" - global.msg[1] = "* I understand./" - global.msg[2] = "\E1* I just hope that.../" - global.msg[3] = "* I can make up for& it a little right& now./" - } - global.msg[4] = "\E1* I can't keep these& souls inside of me./" - global.msg[5] = "\E0* The least I can do& is return them./" - global.msg[6] = "\E2* But first.../" - global.msg[7] = "\E4* There's something I& have to do./" - global.msg[8] = "* Right now^1, I can feel& everyone's hearts& beating as one./" - global.msg[9] = "* They're all burning& with the same& desire./" - global.msg[10] = "* With everyone's power..^1.&* With everyone's& determination.../" - global.msg[11] = "* It's time for& monsters.../" - global.msg[12] = "* To finally go free./%%" - break - case 803: - global.msg[0] = "\E7* Frisk.../" - global.msg[1] = "\E0* I have to go now./" - global.msg[2] = "\E7* Without the power of& everyone's souls.../" - global.msg[3] = "\E1* I can't keep& maintaining this& form./" - global.msg[4] = "* In a little while.../" - global.msg[5] = "* I'll turn back into& a flower./" - global.msg[6] = "\E3* I'll stop being& " + chr(34) + "myself." + chr(34) + "/" - global.msg[7] = "* I'll stop being able& to feel love again./" - global.msg[8] = "\E1* So..^1. Frisk./" - global.msg[9] = "\E7* It's best if you& just forget about& me^1, OK?/" - global.msg[10] = "\E0* Just go be with& the people who& love you./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & Comfort& him Do not\C" - global.msg[13] = " " - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = "\E0* So^1, Alphys.../" - global.msg[1] = "\E9* What do you want& to do now that& we're all free?/" - global.msg[2] = "\E0* We have the whole& world to explore& now./" - scr_alface(3, 3) - global.msg[4] = "\E3* W-well^1, of course& I'm going to go& out and.../" - global.msg[5] = "\E4* Um.../" - global.msg[6] = "\E3* No^1, I should be& honest!!/" - global.msg[7] = "\E1* I'm gonna stay inside& and watch anime like& a total loser!/" - scr_papface(8, 0) - global.msg[9] = "\E0THAT'S THE SPIRIT!/" - global.msg[10] = "EVERYONE!!^1!&A CELEBRATION!!!&TO BEING LOSERS!!/" - scr_undface(11, 9) - global.msg[12] = "\E9* Heh^1.&* Papyrus has the& right idea./" - global.msg[13] = "\E0* Losing to Frisk is& the best thing to& ever happen to me./" - global.msg[14] = "\E0* So I'm glad that& we.../" - global.msg[15] = "\E9* Huh^1?&* What is it^1, Asgore?/" - scr_asgface(16, 2) - global.msg[17] = "\E2* Um..^1. what's an.../" - global.msg[18] = "\E0* ... anime?/" - scr_alface(19, 1) - global.msg[20] = "\E1* (Oh My God?)/" - global.msg[21] = "\E3* (Frisk^1. Please.)/" - global.msg[22] = "\E2* (Help me explain what& anime is to Asgore.)/" - global.msg[23] = "\E0* Y-you see^1, it's& like a cartoon^1,& but.../" - global.msg[24] = "\TS \F0 \T0 %" - global.msg[25] = " & With With& Sword's Gun's\C" - global.msg[26] = " " - break - case 807: - scr_asgface(0, 2) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with swords?/" - if (global.choice == 1) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with guns?/" - global.msg[2] = "\E0* Golly^1!&* That sounds neato!/" - global.msg[3] = "\E3* Where is this^1?&* Where can I see the& Anime./" - scr_alface(4, 3) - global.msg[5] = "\E3* H-hold on^1, uh..^1.&* I think I have& some on my phone./" - global.msg[6] = "\E0* Here^1, l-look at& this!/" - global.msg[7] = "\E0* .../" - global.msg[8] = "\E3*...Oh^1, uh.../" - global.msg[9] = "\E4* Um..^1. that's the..^1.&* That's the wrong.../" - global.msg[10] = "\E5* Uh^1, nevermind./" - scr_asgface(11, 1) - global.msg[12] = "* Golly^1.&* Were those two robots.../" - scr_undface(13, 9) - global.msg[14] = "\E9* ... kissing?/" - scr_asgface(15, 0) - global.msg[16] = "\E0* Boy^1!&* Technology sure is& something^1, isn't it?/" - scr_alface(17, 5) - global.msg[18] = "\E5* Eheheh..^1. yeah^1!&* It sure is!/%%" - break - case 808: - global.msg[0] = "\E0* Psst..^1.&* F-Frisk./" - global.msg[1] = "\E3* Um^1, you've gotta& tell me./" - global.msg[2] = "\E6* D..^1. do you think& Asgore and Toriel& are...?/" - global.msg[3] = "\E3* Uh^1, ever gonna get& back together?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "& & Yeah Nope\C" - global.msg[6] = " " - break - case 809: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = "\E7* Y-yeah!!^1!&* Yeah^1, that's what& I hope^1, too./" - global.msg[2] = "\E7* Just think about how& cute they must have& been together./" - global.msg[3] = "\E0* It's quickly becoming& my number one ship& of all time./" - global.msg[4] = "\E7* Tori and Gorey.../" - global.msg[5] = "\E5* My..^1.&* My old boss and& his ex-wife./" - global.msg[6] = "\E8* ... uh^1, that sounds& a lot less cool& all of a sudden./%%" - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = "\E8* ... yeah^1, that's what& I thought./" - global.msg[2] = "\E7* A woman can dream& though^1, right?/" - global.msg[3] = "\E2* And write fanfiction./" - global.msg[4] = "\E1* A LOT of fanfiction./%%" - } - break - case 810: - global.msg[0] = "\E0* Frisk^1!&* I just realized!/" - global.msg[1] = "\E3* Now that we aren't& fighting each& other.../" - global.msg[2] = "\E2* I can finally ask& you.../" - global.msg[3] = "\E0* " + chr(34) + "Would you like a& cup of tea?" + chr(34) + "/" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E0* Would you like a& cup of tea?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "& & Yes No\C" - global.msg[8] = " " - break - case 811: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = "* Oh^1!&* Well!/" - global.msg[2] = "\E3* Actually^1, the cup I& had is cold now./" - global.msg[3] = "* So you shouldn't& have it./" - global.msg[4] = "\E0* But^1, I am so& happy you said& yes./" - global.msg[5] = "\E0* As soon as I can^1,& I will make some& more for you./" - global.msg[6] = "\E0* Then we can be& great pals./%%" - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = "\E3* Oh.../" - global.msg[2] = "\E3* Okay./" - scr_undface(3, 2) - global.msg[4] = "\E2* Frisk^1! Stop^1!&* You're breaking his& big burly heart!/" - scr_asgface(5, 2) - global.msg[6] = "\E2* Um^1, it's OK^1, Undyne./" - global.msg[7] = "\E0* My heart's already& broken./" - scr_undface(8, 6) - global.msg[9] = "\E6* ASGORE^1! STOP^1!&* YOU'RE BREAKING MY& BIG BURLY HEART!/" - scr_alface(10, 9) - global.msg[11] = "\E9* Y-yeah^1, Asgore^1.&* Don't break Undyne's& heart./" - global.msg[12] = "\E2* That's my job./" - scr_undface(13, 2) - global.msg[14] = "\E2* OH MY GOD!&* YOU'RE GOING BACK& IN THE TRASH!!!/" - scr_papface(15, 0) - global.msg[16] = "\E0CAN I GO IN THE&TRASH TOO?/" - scr_undface(17, 9) - global.msg[18] = "\E9* Sure^1, Papyrus./" - scr_sansface(19, 1) - global.msg[20] = "\E1* guess i have to& go in the trash& too./" - scr_torface(21, 0) - global.msg[22] = "\E0* Oh^1, may I enter& the trash as well?/" - scr_undface(23, 1) - global.msg[24] = "\E1* Uh^1, okay?/" - scr_asgface(25, 0) - global.msg[26] = "\E0* Am I invited to& the trash?/" - scr_undface(27, 6) - global.msg[28] = "\E6* SURE!!!&* WHY NOT!!!/" - scr_torface(29, 1) - global.msg[30] = "\E1* On second thought^1,& do not put me& in the trash./" - scr_asgface(31, 5) - global.msg[32] = "\E5* Oh.../" - scr_undface(33, 1) - global.msg[34] = "\E1* OH MY GOD!!!/%%" - } - break - case 812: - global.msg[0] = "* (If you leave here^1, your& adventure will really& be over.)/" - global.msg[1] = "* (Your friends will follow& you out of the underground.)/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = " & Don't I'm& leave ready\C" - global.msg[4] = " " - break - case 813: - global.msg[0] = " %%" - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = "\E0* Oh my.../" - scr_asgface(1, 0) - global.msg[2] = "\E0* Isn't it beautiful^1,& everyone?/" - scr_alface(3, 3) - global.msg[4] = "\E3* Wow..^1. it's e-even& better than on TV./" - global.msg[5] = "\E7* WAY better^1!&* Better than I ever& imagined!/" - scr_undface(6, 1) - global.msg[7] = "\E1* Frisk^1, you LIVE with& this!?/" - global.msg[8] = "\E9* The sunlight is so& nice..^1. and the air& is so fresh!/" - global.msg[9] = "* I really feel alive!/" - scr_papface(10, 0) - global.msg[11] = "\E0HEY SANS.../" - global.msg[12] = "\E3WHAT'S THAT GIANT&BALL?/" - scr_sansface(13, 1) - global.msg[14] = "\E1* we call that& " + chr(34) + "the sun^1," + chr(34) + " my friend./" - scr_papface(15, 0) - global.msg[16] = "\E0THAT'S THE SUN!^1?&WOWIE!!!/" - global.msg[17] = "I CAN'T BELIEVE&I'M FINALLY MEETING&THE SUN!!!/" - scr_asgface(18, 0) - global.msg[19] = "\E0* I could stand here& and watch this for& hours.../" - scr_torface(20, 0) - global.msg[21] = "\E0* Yes^1, it is beautiful^1,& is it not?/" - global.msg[22] = "\E1* But we should really& think about what comes& next./" - scr_asgface(23, 3) - global.msg[24] = "\E3* Oh^1, right./" - global.msg[25] = "\E0* Everyone.../" - global.msg[26] = "* This is the beginning& of a bright new& future./" - global.msg[27] = "* An era of peace between& humans and monsters./" - global.msg[28] = "\E2* Frisk.../" - global.msg[29] = "* I have something to& ask of you./" - global.msg[30] = "\E0* Will you act as our& ambassador to the& humans?/" - global.msg[31] = "\TS \F0 \T0 %" - global.msg[32] = "* (Be the ambassador?)& & Yes No\C" - global.msg[33] = " " - break - case 815: - scr_papface(0, 0) - global.msg[1] = "WOWi, Nice error./%%" - if (global.choice == 0) - { - global.msg[1] = "\E0YEAH^1!&FRISK WILL BE THE&BEST AMBASSADOR!/" - global.msg[2] = "AND I^1, THE GREAT&PAPYRUS.../" - global.msg[3] = "WILL BE THE BEST&MASCOT!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E0IT'S OK FRISK^1!&I'VE GOT YOU&COVERED!/" - global.msg[2] = "IF YOU DON'T WANT&TO BE THE&AMBASSADOR.../" - global.msg[3] = "I CAN DO IT FOR&YOU!!!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - break - case 820: - global.msg[0] = "* Frisk.../" - global.msg[1] = "\E2* You came from this& world^1, right...?/" - global.msg[2] = "\E1* So you must have& a place to return to^1,& do you not?/" - global.msg[3] = "\E2* What will you do& now?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = " I want I have& to stay places& with you to go\C" - global.msg[6] = " " - break - case 821: - global.msg[0] = " %%" - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = "* (The door has no mail slot.)/" - global.msg[1] = "* (Slide the letter under?)& & Slide NO!!!! \C" - global.msg[2] = " " - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = "* (You slide the letter under& the door and give it a& knock.)/%%" - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* (You'll keep the letter& warm for a little longer.)/%%" - break - case 827: - global.msg[0] = "* (It's a note from Alphys.)/" - global.msg[1] = "* (Read it...?)& & Read Do not \C" - global.msg[2] = " " - break - case 828: - if (global.choice == 0) - { - global.msg[0] = "* (It's hard to read because& of the handwriting^1, but& you try your best...)/" - global.msg[1] = "* Hey./" - global.msg[2] = "* Thanks for your help back& there./" - global.msg[3] = "* You guys..^1.&* Your support really means a& lot to me./" - global.msg[4] = "* But..^1.&* As difficult as it is& to say this.../" - global.msg[5] = "* You guys alone can't& magically make my own& problems go away./" - global.msg[6] = "* I want to be a better& person./" - global.msg[7] = "* I don't want to be& afraid anymore./" - global.msg[8] = "* And for that to happen^1,& I have to be able to& face my own mistakes./" - global.msg[9] = "* I'm going to start& doing that now./" - global.msg[10] = "* I want to be clear./" - global.msg[11] = "* This isn't anyone else's& problem but mine./" - global.msg[12] = "* But if you don't ever& hear from me again.../" - global.msg[13] = "* If you want to know& " + chr(34) + "the truth." + chr(34) + "/" - global.msg[14] = "* Enter the door to the& north of this note./" - global.msg[15] = "* You all at least deserve& to know what I did./" - global.msg[16] = "* (That's all she wrote.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = "* (Buy chips for 25G?)& & Buy No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There were no chips left& in the machine.)/%%" - global.msg[1] = " " - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* (The vending machine& dispensed some chisps.)/%%" - if (afford == 0) - global.msg[0] = "* (You didn't have enough& gold.)/%%" - } - if (noroom == 1) - global.msg[0] = "* (You are carrying too& many items.)/%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 831: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?/" - global.msg[5] = "\E1* ... wait^1.&* Do not tell me./" - if (bs == 0) - global.msg[6] = "\E0* It is ERROR MESSAGE!& & Yes No \C" - if (bs == 1) - global.msg[6] = "\E0* Is it Butterscotch?& & Yes No \C" - if (bs == 2) - global.msg[6] = "\E0* Is it Cinnamon?& & Yes No \C" - global.msg[7] = " " - break - case 832: - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - if (bs == 2) - global.flag[46] = 0 - global.msg[0] = "\E0* Hee hee hee^1.&* I had a feeling./" - global.msg[1] = "\E1* When humans fall down& here^1, strangely..^1.&* I.../" - global.msg[2] = "\E1* I often feel like& I already know them./" - global.msg[3] = "\E0* Truthfully^1, when I first& saw you^1, I felt.../" - global.msg[4] = "\E1* ... like I was seeing& an old friend for& the first time./" - global.msg[5] = "\E0* Strange^1, is it not?/" - global.msg[6] = "* Well^1, thank you for& your selection./" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - if (bs == 2) - global.flag[46] = 1 - global.msg[0] = "\E1* Oh..^1. I see./" - global.msg[1] = "\E0* Well^1, thank you^1.&* Goodbye for now./" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* Click.../%%" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - break - case 833: - global.msg[0] = "* (Seems like you could skip& Mettaton's monologue by& turning him around now.)/" - global.msg[1] = "* (What will you do?)& & Skip Hear again\C" - global.msg[2] = " " - break - case 834: - if (global.choice == 0) - { - global.msg[0] = "* (You told Mettaton there& was something cool& behind him.)/%%" - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = " %%" - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = "* though.../" - global.msg[1] = "* one thing about you& always struck me& as kinda odd./" - global.msg[2] = "* now^1, i understand& acting in self-defense./" - global.msg[3] = "* you were thrown into& those situations& against your will./" - global.msg[4] = "* but.../" - global.msg[5] = "* sometimes.../" - global.msg[6] = "* you act like you& know what's gonna& happen./" - global.msg[7] = "* like you've already& experienced it all& before./" - global.msg[8] = "* this is an odd thing& to say^1, but.../" - global.msg[9] = "\W* if you have some sort& of \Yspecial power\W.../" - global.msg[10] = "* isn't it your& responsibility to do& the right thing?/" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & & Yes No\C" - global.msg[13] = " " - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* ah./" - global.msg[2] = "\E0* i see./" - global.msg[3] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* heh./" - global.msg[2] = "\E0* well^1, that's your& viewpoint./" - global.msg[3] = "\E2* i won't judge you& for it./" - global.msg[4] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = "* (Ring...)/" - scr_alface(1, 0) - global.msg[2] = "\E0* Hey!/" - global.msg[3] = "\E3* This um^1, doesn't have& anything to do with& guiding you..^1. but.../" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E6* Uhh^1, hey^1, would you want& to watch a human TV& show together???/" - global.msg[6] = "* Sometime???/" - global.msg[7] = "\E4* It's called^1, um^1,& M..^1.Mew Mew Kissy& Cutie.../" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = " & & Sure! ...no...\C" - global.msg[10] = " " - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = "* R-really!?/" - global.msg[2] = "\E3* It's so good^1!&* It's um^1, my favorite& show!/" - global.msg[3] = "* It's all about this& human girl named Mew Mew& who has cat ears!%" - global.msg[4] = "\E3* Which humans don't have!&* S-so she's all& sensitive about them!%" - global.msg[5] = "\E6* But like...&* Eventually!%" - global.msg[6] = "* She realizes that her& ears don't matter!%" - global.msg[7] = "* That her friends like& her despite the ears!%" - global.msg[8] = "\E7* It's really moving!%" - global.msg[9] = "\E5* Whoops, spoilers%" - global.msg[10] = "\E6* Also, this sounds& weird, but she has& the power!%" - global.msg[11] = "\E5* To control the minds& of anyone she kisses!%" - global.msg[12] = "\E3* She kisses people and& controls them to fix& her problems!!%" - global.msg[13] = "\E5* They don't remember& anything after the& kiss I mean!!%" - global.msg[14] = "\E3* BUT IF SHE MISSES& THE KISS!!!&* THEN!!%" - global.msg[15] = "\E4* Then^1, uh^1, and^1, uh^1,& also I mean^1, of course%" - global.msg[16] = "\E5* Eventually^1, she& realizes that& controlling people%" - global.msg[17] = "\E3* OKAY WELL I almost& spoiled the whole& show^1, but%" - global.msg[18] = "\E5* Uhhh^1, I think you'd& really like it!!!/" - global.msg[19] = "\E0* We should watch it^1!&* After you get through& all this!/" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* (Click...)/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E5* Um^1! Well^1!&* That's okay!/" - global.msg[2] = "* Just thought I'd!^1!&* Ask!!!/" - global.msg[3] = "\E6* B-but I think you'd& really like it!!/" - global.msg[4] = "* If you gave it a& chance!!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Click...)/%%" - } - break - case 839: - global.msg[0] = "\M1* Did y'hear!^1?&* You're back!/" - global.msg[1] = "\M0* I'll tell you a big secret./" - global.msg[2] = "\M1* I'm starting a band^1, y'hear?/" - global.msg[3] = "\M1* It's called the Red Hot& Chibi Peppers./" - global.msg[4] = "\M0* All I've thought of is& the name./" - global.msg[5] = "\M3* And I don't^1, play...&* Instruments^1, or sing./" - global.msg[6] = "\M1* Well^1!&* Do you think we'll be& popular!!!/" - global.msg[7] = " & & Yeah No\C" - global.msg[8] = " " - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = "\M0* Yeah^1, me too.../%%" - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = " %%" - } - break - case 845: - global.msg[0] = "* (It's a lamp.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - break - case 846: - if (global.choice == 0) - { - global.msg[0] = "* (There's no lightbulb.^1)&* (A flashlight is stuck in& the bulb socket.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = " %%" - break - case 847: - if (global.choice == 0) - global.msg[0] = "* (The flashlight is out of& batteries.)/%%" - else - global.msg[0] = " %%" - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = "* Hey^1, hey^1!&* Did you remember my name?/" - global.msg[1] = "* (Did you?)& & Yes No\C" - global.msg[2] = " " - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = "* Wh-WHAT!^1?&* You REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = "* Wh-WHAT!^1?&* You DON'T REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - break - case 853: - global.msg[0] = "* (It's a small white dog.^1)&* (It's fast asleep...)/" - global.msg[1] = "* (Fight the dog?)& & Yes No\C" - global.msg[2] = " " - break - case 854: - if (global.choice == 0) - { - global.msg[0] = "* (Can't fight the dog.)/" - global.msg[1] = "* (Seems like the fabric it's& sleeping on has too many& holes in it.)/" - global.msg[2] = "* (Seems like the dog needs& to " + chr(34) + "patch" + chr(34) + " the fabric.)/" - global.msg[3] = "* (Then you can fight the dog.^1)&* (... maybe.)/" - global.msg[4] = "* (Upon closer examination^1,& the holes in the fabric& seem to be growing.)/" - global.msg[5] = "* (Might take a while for the& dog to fix all of them.)/" - global.msg[6] = "* (Dogs aren't usually very& good at knitting.)/" - global.msg[7] = "* (A crocheting dog is out of& the question.)/%%" - } - else - global.msg[0] = "* (Let sleeping dogs lie^1, instead& of fighting them.^1)&* (That's how the saying goes.)/%%" - break - case 860: - global.msg[0] = "* (Knock knock)./" - if (global.flag[262] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Sea Tea" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a million ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = "* (You pour the Sea Tea under& the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 862: - global.msg[0] = "* (Knock knock)./" - if (global.flag[263] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Cinnamon Bun" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a trillion ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = "* (You flatten the Cinnamon Bun& until it's paper thin.)&* (You slide it under the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 864: - global.msg[0] = "* (You hear shuffling.)/" - global.msg[1] = "* (Seems like you could put& something under the door.)/" - global.msg[2] = " & & Put No Put\C" - global.msg[3] = " " - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - break - case 865: - if (global.choice == 0) - { - global.msg[0] = "* (...)/" - global.msg[1] = "* (But you didn't have anything& appealing.)/%%" - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = "* (You put a Hot Dog in front& of the door.)/" - global.msg[1] = "* (A white paw shoots out from& under the door.)/" - global.msg[2] = "* (It tries to pull the Hot Dog& into its room...)/" - global.msg[3] = "* (But it keeps pressing down too& hard^1, and the hot dog keeps& spinning away.)/" - global.msg[4] = "* (...)/" - global.msg[5] = "* (It finally succeeds.)/" - global.msg[6] = "* (...)/" - global.msg[7] = "* (You hear the grinding of& stone.)/" - global.msg[8] = "* (A single hushpuppy slides& out from under the door.)/" - global.msg[9] = "* (You got Hush Puppy.)/%%" - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = "* (You put a Hot Cat in front& of the door.)/" - global.msg[1] = "* (You hear growling...)/%%" - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = "* (You put a Dog Salad in front& of the door.^1)&* (It slides underneath.)/" - global.msg[1] = "* (...)/" - global.msg[2] = "* (The Dog Salad was absorbed& by the darkness.)/%%" - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = "* (You put a Dog Residue in& front of the door.)/" - global.msg[1] = "* (It slides underneath the door^1,& as if pulled by a magnet.)/" - global.msg[2] = "* (...)/" - if (noroom == 1) - global.msg[3] = "* (ZOMMM!!^1!)&* (It shoots back out at a& high speed!)/%%" - else - global.msg[3] = "* (Two Dog Residues slowly slide& back out from underneath& the door.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 866: - global.msg[0] = "* Yes^1, we know^1.&* The elevator to the city& is NOT working./" - global.msg[1] = "* Because of this incident^1, rooms& are running at a special rate!/" - global.msg[2] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[3] = " " - if (global.flag[267] == 2) - { - global.msg[0] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[1] = " " - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = "* Did you enjoy your stay?/" - global.msg[1] = "* What^1?&* Room..^1.&* Key?/" - global.msg[2] = "* No^1, we don't do that./" - global.msg[3] = "* If you leave your room^1,& you'll have to pay again./" - global.msg[4] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[5] = " " - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* Fabulous^1!&* We'll escort you to your& room!/%%" - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = "* ... that's not enough money./%%" - } - else - global.msg[0] = "* Do let us know if you& change your mind^1.&* Have a sparkular day!/%%" - break - case 870: - global.msg[0] = "* ... MY ONE TRUE LOVE?/" - global.msg[1] = "* .../" - global.msg[2] = "* (YOU LOOK BORED^1, DARLING.)/" - global.msg[3] = "* (I WANT THIS TO BE A STELLAR& PERFORMANCE^1, SO IF YOU& WON'T GIVE IT YOUR ALL...)/" - global.msg[4] = "* (THEN I'LL SKIP AHEAD FOR& THE AUDIENCE'S SAKE.)/" - global.msg[5] = "* (Perform?)& & Yeah Skip this\C" - global.msg[6] = " " - break - case 871: - if (global.choice == 0) - global.msg[0] = "* (UNDERSTOOD.^1)&* (LET'S KNOCK 'EM DEAD!)/%%" - else - { - global.msg[0] = "* (KA-SIGH...^1)&* (THE SHOW MUST GO ON!)/%%" - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = "Interesting./" - global.msg[1] = "You want to go back./" - global.msg[2] = "You want to go bac^1k&to the worl^2d&you destroyed./" - global.msg[3] = "It was you who pushed&everythin^1g to its edge./" - global.msg[4] = "It was you who led the worl^1d&to its destruction./" - global.msg[5] = "But you cannot accept it./" - global.msg[6] = "You think you are above&consequences.& Yes No\C" - global.msg[7] = "" - break - case 889: - if (global.choice == 0) - global.msg[0] = "Exactly./%%" - else - global.msg[0] = "Then what are you looking for?/%%" - break - case 890: - global.msg[0] = "Perhaps./" - global.msg[1] = "We can reach a compromise./" - global.msg[2] = "You still have somethin^1g&I want./" - global.msg[3] = "Give it to me./" - global.msg[4] = "And I will bring this&world back./" - global.msg[5] = " & & Yes No\C" - global.msg[6] = "" - break - case 891: - if (global.choice == 0) - { - global.msg[0] = "Then it is agreed./" - global.msg[1] = "You will give me your SOUL.& & Yes No\C" - global.msg[2] = " " - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = ".../" - global.msg[1] = "Then^1, it is done./%%" - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 900: - global.msg[0] = "* hey./" - global.msg[1] = "* is your refrigerator& running?/" - global.msg[2] = " & & yes no\C" - global.msg[3] = " " - break - case 901: - if (global.choice == 0) - global.msg[0] = "* nice^1.&* i'll be over to deposit& the brewskis./%%" - else - { - global.msg[0] = "* ok^1, i'll send someone& over to fix it./" - global.msg[1] = "* thanks for letting me& know./" - global.msg[2] = "* good communication is& important./%%" - } - break - case 1001: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = " * Check * Console& * Terrorize" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = " * Check * Talk& * Devour * Dinner" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = " * Check * Pick On& * Don't Pick On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = " * Check * Flirt& * Threat * Cheer" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = " * Check * Pet" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = " * Check * Pet& * Pet * Pet & * Pet * Pet " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = " * Check * Agree& * Clash * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = " * Check * Compliment& * Ignore * Steal" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = " * Check * Compliment" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = " * Check * Ditch" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = " * Check * Decorate& * Undecorate * Gift" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = " * Check * Flex& * Shoo" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = " * Check * Flex& * Feed Temmie * Talk& Flakes " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = " * Check * Flirt& * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = " * Check * Clean& * Touch * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = " * Check * Smile& * Hum * Conduct" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = " * Check * Plead& * Challenge" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = " * Check * Cry" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = " * Check * Flirt& * Approach" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = " * Check * Criticize& * Encourage * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = " * Check * Cool Down& * Heat Up * Invite" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = (((("\W * Check * Struggle& * Pay " + string(global.flag[382])) + "G& \YYour Money: ") + string(global.gold)) + "G \W ") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = " * Check * Yell" - if (global.flag[385] > 0) - global.msg[0] = "\W * Check \Y* Yellow \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = " * Check * Fake Attack" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = " * Check * Talk & * Stare * Clear Mind" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = " * Check * Talk & * Sing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = " * Check * Defuse Bomb" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = " * Check * Burn" - if (global.flag[424] > 0) - global.msg[0] = "\W * Check \Y* Turn \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = " * Check * Boast& * Pose * Heel Turn" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = " * Call * Hum& * Scream * Flex& * Unhug * Cry" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = " * Check * Pick On& * Mystify * Clean& * Hum * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = " * Check * ITEM & * STAT * CELL" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = " * Check * Join& * Refuse" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = " * Fake Hit * Recipe& * Smile * Clash" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = " * Encourage * Call & * Nerd Out * Quiz" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = " * Joke * Puzzle & * Recipe * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = " * Take break * Joke & * Judgment * Crossword" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = " * Talk * Mercy & * Hug * Preference" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = " * Talk * Mercy & * Stare * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = " * Check * Switch& * Fix * Lie Down" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = " * Check * Hiss& * Devour * Snack" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = " * Check * Applaud& * Boo * Nothing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = " * Check * Something" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = " * Check * Draw" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = " * Check * Hope & * Dream" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = " * Error" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = " * Struggle" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = "\W * Undyne " - else - global.msg[0] = "\W \Y* (Saved) \W " - if (global.flag[506] == 0) - global.msg[0] += "* Alphys \W &" - else - global.msg[0] += "\Y* (Saved)\W &" - if (global.flag[507] == 0) - global.msg[0] += "\W * Papyrus * Sans \W &" - else - global.msg[0] += "\Y * (Saved) * (Saved)\W &" - if (global.flag[508] == 0) - global.msg[0] += "\W * Toriel * Asgore \W " - else - global.msg[0] += "\Y * (Saved) * (Saved)\W " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = " * Someone else" - if (global.flag[501] == 3) - global.msg[0] = " * Asriel Dreemurr" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = "* Dialing..\E0.\TT /" - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You only wanted to& say hello...^2?&* Well then./" - global.msg[4] = "\E0* 'Hello!'/" - global.msg[5] = "* I hope that suffices^1.&* Hee hee./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 2) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You want to say& hello again?/" - global.msg[4] = "* 'Salutations!'/" - global.msg[5] = "* Is that enough?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Are you bored^1?&* I should have given& a book to you./" - global.msg[4] = "* My apologies./" - global.msg[5] = "* Why not use your& imagination to& divert yourself?/" - global.msg[6] = "* Pretend you are..^1.&* A monarch!/" - global.msg[7] = "* Rule over the leaf pile& with a fist of iron./" - global.msg[8] = "* Can you do that for me?/" - global.msg[9] = "\TS \F0 \T0 %" - global.msg[10] = "* Click.../%%" - } - if (global.flag[40] > 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Hello^1, my child./" - global.msg[4] = "\E1* Sorry^1, I do not have& much to say./" - global.msg[5] = "\E0* It was nice to hear& your voice^1, though^1./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - break - case 1502: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* Help with a puzzle^1.^1.^1.?/" - global.msg[4] = "* Um^1, you have not& left the room^1, have you?/" - global.msg[5] = "\E0* Wait patiently for& me and we can solve& it together!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1503: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* You want to know& more about me?/" - global.msg[4] = "* Well^1, I am afraid there& is not much to say./" - global.msg[5] = "\E0* I am just a silly little& lady who worries too& much!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1504: - global.flag[42] = 1 - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E8* Huh^2?&* Did you just call& me... " + chr(34) + "Mom" + chr(34) + "?/" - global.msg[4] = "\E1* Well...&* I suppose.../" - global.msg[5] = "* Would that make you& happy?/" - global.msg[6] = "* To call me..^2.&* " + chr(34) + "Mother?" + chr(34) + "/" - global.msg[7] = "\E0* Well then^1, call me& whatever you like!/!" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E8* ...^2 huh???/" - global.msg[3] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[4] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[5] = "* You can certainly find& better than an old woman& like me./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[41] == 2) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E1* Oh dear,^1 are you& serious...?/" - global.msg[3] = "\E1* I do not know if this is& pathetic,^1 or endearing./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - if (global.flag[42] == 1) - { - global.msg[3] = "\E8* And after you said you& want to call& me " + chr(34) + "mother..." + chr(34) + "/" - global.msg[4] = "\E0* You are an...^2 & \E1... " + chr(34) + "interesting" + chr(34) + "& child./" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* But nobody came./%%" - } - else - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* Nobody picked up./%%" - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* The ringing is coming from& inside your inventory./%%" - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = "* Dialing...\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hey^1, you silly& child./" - global.msg[3] = "* If you want to& talk to me^1, I am& right here./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - break - case 1508: - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* (Somewhere^1, signals deflected& by a dog.)/%%" - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = "* (No response.^1)&* (Their phone might be out& of batteries.)/%%" - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = "* (The box is aclog with the& the hair of a dog.)/%%" - break - case 2001: - global.msg[0] = "\E2* Welcome to your new& home,^1 innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of& the RUINS./%" - break - case 2002: - global.faceplate = 1 - global.msg[0] = "\E8* ...^2 huh???/" - global.msg[1] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[2] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[3] = "* You can certainly find& better than an old woman& like me./%" - break - case 3002: - global.msg[0] = "* You encountered the Dummy." - global.msg[1] = "%%%" - break - case 3003: - global.msg[0] = "* Froggit attacks you!" - global.msg[1] = "%%%" - break - case 3004: - global.msg[0] = "* Froggit hopped close!" - global.msg[1] = "%%%" - break - case 3005: - global.msg[0] = "* Whimsun approached meekly!" - global.msg[1] = "%%%" - break - case 3006: - global.msg[0] = "* Froggit and Whimsun drew near!" - global.msg[1] = "%%%" - break - case 3007: - global.msg[0] = "* Moldsmal blocked the way!" - global.msg[1] = "%%%" - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 18d1db209..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/cd48b89b6ac6b2d3977f2f82726e5f12/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index c5aa48faf..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,949 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if (os_type == os_ps4 || os_type == os_switch) - { - var gamepad_text = (global.lang == "en" ? "Button" : "ボタン") - var buttonXPos = ((os_type == os_switch && global.lang == "en") ? (xx + 445) : (xx + 435)) - var buttonYPos = (os_type == os_switch ? ((yy + 100) + _yOffset) : ((yy + 95) + _yOffset)) - if obj_gamecontroller.gamepad_active - draw_text(buttonXPos, buttonYPos, gamepad_text) - } - else if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 95) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - if (_sprite == button_switch_lStickClick_0 || _sprite == button_switch_rStickClick_0) - _xPos -= 3 - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index c78ee795e..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1271 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - if (new_gamepad_key == 32775) - obj_gamecontroller.gamepad_shoulderlb_reassign = 1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_write_real("SHOULDERLB_REASSIGN", "SHOULDERLB_REASSIGN", obj_gamecontroller.gamepad_shoulderlb_reassign) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 1a8bb3323..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,494 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - if instance_exists(obj_overworldc) - { - if (!menuOpened) - { - menuOpened = 1 - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - else - menuOpened = 0 - } - else - { - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Main/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml deleted file mode 100644 index 8dc0deced..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_DEVICE_CHOICE_Step_0.gml +++ /dev/null @@ -1,190 +0,0 @@ -if (fadebuffer > 0) - ONEBUFFER = 1 -if (TYPE > 0) -{ - if (fadebuffer < 0 && FINISH == false) - { - var dx = 0 - var dy = 0 - if right_p() - dx = 1 - if left_p() - dx = -1 - if down_p() - dy = 1 - if up_p() - dy = -1 - if (dx != 0 && XMAX > 0) - { - var found = 0 - do { - CURX = (((CURX + (XMAX + 1)) + dx) % (XMAX + 1)) - var ccc = NAME[CURX, CURY] - if (ccc != " " && ccc != " " && ccc != ">" && ccc != "<") - found = 1 - } until found; - - } - else if (dy != 0 && YMAX > 0) - { - found = 0 - do { - CURY = (((CURY + (YMAX + 1)) + dy) % (YMAX + 1)) - var move = 1 - ccc = "" - while move - { - ccc = NAME[CURX, CURY] - if (ccc == ">") - CURX += 1 - else if (ccc == "<") - CURX -= 1 - else - move = 0 - } - if (ccc != " " && ccc != " ") - found = 1 - } until found; - - } - } -} -else if (fadebuffer < 0 && FINISH == false) -{ - if right_p() - CURX = 1 - if left_p() - CURX = 0 -} -if (TYPE >= 0 && TYPE <= 2) -{ - DRAWHEART = 1 - if (CURX >= 0) - { - IDEALX = NAMEX[CURX, CURY] - IDEALY = NAMEY[CURX, CURY] - if (TYPE == 0) - { - scr_84_set_draw_font("main") - IDEALX += ((string_width(NAME[CURX, CURY]) / 2) - 10) - } - } - else - { - IDEALX = 150 - IDEALY = 180 - } - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.3) - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.3) - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - if (FINISH == false) - { - if (button1_p() && CURX >= 0 && ONEBUFFER < 0) - { - global.choice = CURX - if (TYPE == 2) - global.choice = CURY - FINISH = true - ONEBUFFER = 99 - } - } -} -if (TYPE == 3) -{ - DRAWHEART = 1 - var str = NAME[CURX, CURY] - var cmd = "" - if (string_length(str) > 1) - { - cmd = string_char_at(str, 2) - str = string_copy(str, 4, (string_length(str) - 3)) - } - scr_84_set_draw_font("main") - IDEALX = ((NAMEX[CURX, CURY] + (string_width(str) / 2)) - 10) - IDEALY = (NAMEY[CURX, CURY] - 2) - if (abs((HEARTX - IDEALX)) <= 2) - HEARTX = IDEALX - if (abs((HEARTY - IDEALY)) <= 2) - HEARTY = IDEALY - HEARTDIFF = ((IDEALX - HEARTX) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTX += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTX = IDEALX - DRAWHEART = 1 - } - HEARTDIFF = ((IDEALY - HEARTY) * 0.5) - if (abs(HEARTDIFF) > 60) - DRAWHEART = 0 - HEARTY += HEARTDIFF - if (DRAWHEART == 0) - { - HEARTY = IDEALY - DRAWHEART = 1 - } - ERASE = false - if (FINISH == false) - { - if button2_p() - ERASE = true - if (button1_p() && ONEBUFFER < 0) - { - if (cmd == "") - { - if (string_length(NAMESTRING) < STRINGMAX) - NAMESTRING += NAME[CURX, CURY] - } - if (cmd == "B") - ERASE = true - if (cmd == "1" || cmd == "2" || cmd == "3") - { - var new_type = real(cmd) - if (LANGSUBTYPE != new_type) - { - LANGSUBTYPE = new_type - scr_84_name_input_setup() - } - } - if (cmd == "E" && ONEBUFFER < 0 && string_length(NAMESTRING) >= 1) - { - ONEBUFFER = 99 - FINISH = true - global.choice = 1 - } - } - } - if (ERASE == true && FINISH == false) - { - if (string_length(NAMESTRING) > 0) - NAMESTRING = string_delete(NAMESTRING, string_length(NAMESTRING), 1) - } -} -ONEBUFFER -= 1 -if (FINISH == false) - fadebuffer -= 1 -if (FINISH == true) -{ - global.flag[20] = 1 - if (fadebuffer < 0) - fadebuffer = 0 - fadebuffer += 1 - if (fadebuffer >= 10) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml deleted file mode 100644 index 020a546fd..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_DEVICE_FAILURE_Step_0.gml +++ /dev/null @@ -1,150 +0,0 @@ -if (EVENT == 1) -{ - snd_free_all() - global.currentsong[0] = snd_init("AUDIO_DRONE.ogg") - global.currentsong[1] = mus_loop(global.currentsong[0]) - global.typer = 667 - global.fc = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_10_0") - EVENT = 2 - W = instance_create(70, 80, obj_writer) - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - } -} -if (EVENT == 0) - EVENT = 1 -if (EVENT == 2 && (!instance_exists(obj_writer))) -{ - JA_XOFF = 0 - if (global.lang == "ja") - JA_XOFF = 44 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_28_0") - if (global.tempflag[3] >= 1) - { - JA_XOFF = 0 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_32_0") - } - EVENT = 3 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - alarm[4] = 15 - W = instance_create((40 + JA_XOFF), 80, obj_writer) -} -if (EVENT == 4) -{ - choice = instance_create(100, 120, DEVICE_CHOICE) - EVENT = 5 -} -if (EVENT == 5) -{ - if (global.choice == 0) - { - with (obj_writer) - instance_destroy() - EVENT = 6 - } - if (global.choice == 1) - { - with (obj_writer) - instance_destroy() - EVENT = 26 - } -} -if (EVENT == 6) -{ - snd_free_all() - global.flag[6] = 1 - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_68_0") - W = instance_create(50, 80, obj_writer) - EVENT = 7 - alarm[4] = 30 - if (global.tempflag[3] >= 1) - { - with (obj_writer) - instance_destroy() - alarm[4] = 1 - } -} -if (EVENT == 8) -{ - WHITEFADE = 1 - FADEUP = 0.01 - EVENT = 9 - alarm[4] = 120 - if (global.tempflag[3] >= 1) - { - FADEUP = 0.03 - alarm[4] = 45 - } - global.tempflag[3] += 1 -} -if (EVENT == 10) -{ - scr_windowcaption(scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_95_0")) - scr_tempload() - EVENT = 11 -} -if (EVENT == 26) -{ - snd_free_all() - global.msg[0] = scr_84_get_lang_string("DEVICE_FAILURE_slash_Step_0_gml_103_0") - EVENT = 27 - W = instance_create(60, 80, obj_writer) -} -if (EVENT == 27 && (!instance_exists(obj_writer))) -{ - global.currentsong[0] = snd_init("AUDIO_DARKNESS.ogg") - global.currentsong[1] = mus_play(global.currentsong[0]) - EVENT = 28 - DARK_WAIT = 0 -} -if (EVENT == 28) -{ - DARK_WAIT += 1 - if (DARK_WAIT >= 2040) - ossafe_game_end() - if (!snd_is_playing(global.currentsong[1])) - ossafe_game_end() - if (os_type == os_ps4 || os_type == os_switch) - { - if (DARK_WAIT >= 90 && (!restart)) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - if (gamepad_controls[i] == global.button0 || gamepad_controls[i] == global.button1 || gamepad_controls[i] == global.button2 || gamepad_controls[i] == 32775) - { - mus_volume(global.currentsong[1], 0, 80) - restart = 1 - break - } - } - } - } - if restart - { - restart_timer++ - if (restart_timer >= 100) - ossafe_game_end() - } - } -} -if (EVENT >= 0 && EVENT <= 4) -{ - if button2_h() - { - with (obj_writer) - { - if (pos < (length - 3)) - pos += 2 - if (specfade <= 0.9) - specfade -= 0.1 - if (rate <= 1) - rate = 1 - } - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_84_lang_helper_Create_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_84_lang_helper_Create_0.gml deleted file mode 100644 index 8fbd8e2f8..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_84_lang_helper_Create_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -var __layers = layer_get_all() -var __numlayers = array_length_1d(__layers) -for (var __i = 0; __i < __numlayers; __i++) -{ - var __layer_id = __layers[__i] - var __els = layer_get_all_elements(__layer_id) - var __numels = array_length_1d(__els) - var __name = layer_get_name(__layer_id) - var __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - var __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - { - layer_set_visible(__layer_id, 0) - continue - } - } - for (var __j = 0; __j < __numels; __j++) - { - var __id = __els[__j] - var __eltype = layer_get_element_type(__id) - if (__eltype == 2) - { - } - else if (__eltype == 4) - { - var __spr = layer_sprite_get_sprite(__id) - __name = sprite_get_name(__spr) - show_debug_message((((" sprite: " + string(__j)) + ": ") + __name)) - __pos = string_pos("_lang_", __name) - if (__pos > 0 && string_length(__name) > (__pos + 8)) - { - __lang = string_copy(__name, (__pos + 6), 2) - if (__lang != global.lang) - layer_sprite_destroy(__id) - } - } - else if (__eltype == 1) - show_debug_message((" background: " + string(__j))) - else if (__eltype == 5) - show_debug_message((" tilemap: " + string(__j))) - else if (__eltype == 6) - show_debug_message((" particlesystem: " + string(__j))) - else if (__eltype == 7) - { - } - else - show_debug_message((" unknown: " + string(__j))) - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml deleted file mode 100644 index f9298564a..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_cloverpuzzle_event_Create_0.gml +++ /dev/null @@ -1,48 +0,0 @@ -con = 99 -pcon = 0 -ptimer = 0 -puzzle = instance_create(500, 440, obj_suitspuzz) -with (puzzle) -{ - max_suit = 3 - drawclue = 0 - sol[0] = 9 - sol[1] = 9 - sol[2] = 9 - sol[3] = 9 -} -if (global.plot < 75) - con = 0 -else -{ -} -spiken[0] = scr_dark_marker(520, 280, spr_spiketile) -spiken[1] = scr_dark_marker(560, 280, spr_spiketile) -with (spiken[0]) - depth = 970000 -with (spiken[1]) - depth = 970000 -if (global.flag[234] == 0) -{ - blockn = instance_create(520, 280, obj_soliddark) - with (blockn) - image_xscale = 2 -} -else -{ - with (spiken[0]) - image_index = 1 - with (spiken[1]) - image_index = 1 -} -if (global.flag[235] == 0) -{ - blocke = instance_create(1040, 400, obj_soliddark) - with (blocke) - instance_destroy() - with (blocke) - image_yscale = 2 -} -else -{ -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Create_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Create_0.gml deleted file mode 100644 index 5ec2ad0f6..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Create_0.gml +++ /dev/null @@ -1,126 +0,0 @@ -cur_jewel = 0 -alarm[0] = 1 -charcon = 0 -chartimer = 0 -tp = 0 -xx = __view_get(0, 0) -yy = __view_get(1, 0) -global.fighting = false -movenoise = false -selectnoise = false -cancelnoise = 0 -onebuffer = 0 -twobuffer = 0 -threebuffer = 0 -upbuffer = 0 -downbuffer = 0 -hold_up = 0 -hold_down = 0 -dograndom = 0 -atalk = 0 -deschaver = 0 -bcolor = merge_color(c_purple, c_black, 0.7) -bcolor = merge_color(bcolor, c_dkgray, 0.5) -chartotal = 0 -havechar[0] = false -havechar[1] = false -havechar[2] = false -global.charturn = 3 -tp = 0 -tpy = 50 -bp = 0 -bpy = 152 -mmy[0] = 0 -mmy[1] = 0 -mmy[2] = 0 -global.submenu = 0 -global.charselect = -1 -for (var i = 0; i < 36; i += 1) - global.submenucoord[i] = 0 -global.cinstance[0] = 4343434343 -global.cinstance[1] = 343434343434 -for (i = 0; i < 3; i += 1) -{ - global.faceaction[i] = 0 - if (global.char[i] != 0) - chartotal += 1 - if (global.char[i] == 1) - { - havechar[0] = true - charpos[0] = i - } - if (global.char[i] == 2) - { - havechar[1] = true - charpos[1] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 6), (obj_mainchara.y - 16), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - } - } - if (global.char[i] == 3) - { - havechar[2] = true - charpos[2] = i - if (i > 0) - { - global.cinstance[(i - 1)] = instance_create((obj_mainchara.x - 4), (obj_mainchara.y - 12), obj_caterpillarchara) - global.cinstance[(i - 1)].target = (i * 12) - with (global.cinstance[(i - 1)]) - { - usprite = spr_ralseiu - dsprite = spr_ralseid - rsprite = spr_ralseir - lsprite = spr_ralseil - } - } - } -} -slmxx = 0 -slmyy = 0 -s_siner = 0 -menusiner = 0 -pagemax[0] = 0 -pagemax[1] = 0 -getmusvol = 1 -curvol = 1 -hpcolor[0] = c_aqua -hpcolor[1] = c_fuchsia -hpcolor[2] = c_lime -gamepad_controls = [32769, 32770, 32771, 32772, 32773, 32775, 32774, 32776, 32777, 32778, 32779, 32780, 32781, 32782, 32783, 32784] -border_text = (global.lang == "en" ? "Border" : "フレーム") -border_options = (global.lang == "en" ? ["Dynamic", "Simple", "None"] : ["ダイナミック", "シンプル", "なし"]) -var border_options_en = ["Dynamic", "Simple", "None"] -var border_options_ja = ["ダイナミック", "シンプル", "なし"] -if (global.lang == "ja") -{ - for (i = 0; (i < array_length_1d(border_options_en)); i++) - { - if (border_options_en[i] == global.screen_border_id) - { - global.screen_border_id = border_options_ja[i] - break - } - } -} -else -{ - for (i = 0; (i < array_length_1d(border_options_ja)); i++) - { - if (border_options_ja[i] == global.screen_border_id) - { - global.screen_border_id = border_options_en[i] - break - } - } -} -selected_border = 0 -for (i = 0; i < array_length_1d(border_options); i++) -{ - if (border_options[i] == global.screen_border_id) - { - selected_border = i - break - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Draw_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Draw_0.gml deleted file mode 100644 index c5aa48faf..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Draw_0.gml +++ /dev/null @@ -1,949 +0,0 @@ -var ch_y; -xx = __view_get(0, 0) -yy = __view_get(1, 0) -tpoff = ((tp - tpy) + yy) -bpoff = (((-bp) + bpy) + yy) -if (drawchar == 1) -{ - draw_set_color(c_black) - draw_rectangle((xx - 10), ((yy + 480) - bp), (xx + 650), (yy + 500), false) - draw_set_color(c_black) - draw_rectangle((xx - 10), (yy + tp), (xx + 650), (yy - 10), false) - scr_charbox() - if (global.menuno == 0) - deschaver = 0 - if (deschaver == 0) - { - draw_sprite_ext(scr_84_get_sprite("spr_darkmenudesc"), global.menucoord[0], (xx + 20), ((yy + tp) - 56), 2, 2, 0, c_white, 1) - msprite[0] = spr_darkitembt - msprite[1] = spr_darkequipbt - msprite[2] = spr_darktalkbt - msprite[3] = spr_darktechbt - msprite[4] = spr_darkconfigbt - for (var i = 0; i < 5; i += 1) - { - off = 1 - if (global.menucoord[0] == i) - off = 0 - if ((global.menuno - 1) == i) - off = 2 - spritemx = 0 - if (i >= 2) - spritemx = -100 - if (i != 2) - draw_sprite_ext(msprite[i], off, (((xx + 120) + (i * 100)) + spritemx), ((yy + tp) - 60), 2, 2, 0, c_white, 1) - } - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 520), ((yy + tp) - 60), string_hash_to_newline((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_47_0") + string(global.gold)))) - } -} -if (global.menuno == 5) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 85), (xx + 580), (yy + 412), false) - scr_darkbox((xx + 50), (yy + 75), (xx + 590), (yy + 422)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36) - { - var _xPos = (global.lang == "en" ? (xx + 170) : (xx + 150)) - var _heartXPos = (global.lang == "en" ? (xx + 145) : (xx + 125)) - var _selectXPos = (global.lang == "en" ? (xx + 430) : (xx + 385)) - draw_set_color(c_white) - draw_text((xx + 270), (yy + 100), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_74_0"))) - audvol = (string(round((global.flag[17] * 100))) + "%") - musvol = (string(abs((global.flag[16] * 100))) + "%") - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_0") - if (global.flag[11] == 1) - runoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_79_1") - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_0") - if (global.flag[8] == 1) - flashoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_80_1") - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_0") - if (global.flag[12] == 1) - shakeoff = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_81_1") - draw_sprite(spr_heart, 0, _heartXPos, ((yy + 160) + (global.submenucoord[30] * 35))) - if (global.submenu == 33) - draw_set_color(c_yellow) - draw_text(_xPos, (yy + 150), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_86_0"))) - draw_text(_selectXPos, (yy + 150), string_hash_to_newline(audvol)) - draw_set_color(c_white) - draw_text(_xPos, (yy + 185), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_91_0"))) - draw_text(_xPos, (yy + 220), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_92_0"))) - draw_text(_selectXPos, (yy + 220), string_hash_to_newline(flashoff)) - draw_text(_xPos, (yy + 255), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_94_0"))) - draw_text(_selectXPos, (yy + 255), string_hash_to_newline(runoff)) - if (global.submenu == 36) - draw_set_color(c_yellow) - else if global.disable_border - draw_set_color(c_gray) - draw_text(_xPos, (yy + 290), border_text) - draw_text(_selectXPos, (yy + 290), border_options[selected_border]) - draw_set_color(c_white) - draw_text(_xPos, (yy + 325), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_96_0"))) - } - if (global.submenu == 34) - { - draw_set_color(c_white) - draw_text((xx + 200), (yy + 150), string_hash_to_newline(scr_84_get_subst_string(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_101_0"), global.asc_def[global.input_k[5]]))) - } - if (global.submenu == 35) - { - var _yOffset = (global.lang == "en" ? 0 : -4) - draw_set_color(c_white) - draw_text((xx + 105), ((yy + 100) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_113_0"))) - if (os_type == os_ps4 || os_type == os_switch) - { - var gamepad_text = (global.lang == "en" ? "Button" : "ボタン") - var buttonXPos = ((os_type == os_switch && global.lang == "en") ? (xx + 445) : (xx + 435)) - var buttonYPos = (os_type == os_switch ? ((yy + 100) + _yOffset) : ((yy + 95) + _yOffset)) - if obj_gamecontroller.gamepad_active - draw_text(buttonXPos, buttonYPos, gamepad_text) - } - else if obj_gamecontroller.gamepad_active - draw_text((xx + 435), ((yy + 95) + _yOffset), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_115_0"))) - function[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_117_0") - function[1] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_118_0") - function[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_119_0") - function[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_120_0") - function[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_121_0") - function[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_122_0") - function[6] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_123_0") - function[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_124_0") - function[8] = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_125_0") - draw_sprite(spr_heart, 0, (xx + 80), (((yy + 150) + (global.submenucoord[35] * 28)) + _yOffset)) - var line_padding = (global.lang == "ja" ? 1 : 0) - for (i = 0; i <= 8; i += 1) - { - draw_set_color(c_white) - if (global.submenucoord[35] == i) - draw_set_color(c_aqua) - if (global.submenucoord[35] == i && control_select_con == 1) - draw_set_color(c_red) - if (i == 7 && control_flash_timer > 0) - draw_set_color(merge_color(c_aqua, c_yellow, ((control_flash_timer / 10) - 0.1))) - draw_text((xx + 105), (((yy + 140) + (i * (28 + line_padding))) + _yOffset), string_hash_to_newline(function[i])) - if (i < 7) - { - if obj_gamecontroller.gamepad_active - { - var _sprite = scr_getbuttonsprite(global.input_g[i], 0) - _xPos = (global.lang == "en" ? (xx + 475) : (xx + 465)) - if (_sprite == button_switch_lStickClick_0 || _sprite == button_switch_rStickClick_0) - _xPos -= 3 - draw_sprite_ext(_sprite, 0, _xPos, (((yy + 140) + (i * (28 + line_padding))) + _yOffset), 2, 2, 0, c_white, 1) - } - } - } - } -} -if (global.menuno == 4) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 60), (yy + 90), (xx + 612), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 622), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 520), ((yy + 216) + 5), false) - draw_rectangle((xx + 294), (yy + 220), ((xx + 294) + 5), ((yy + 220) + 190), false) - if (global.lang == "ja") - draw_rectangle((xx + 60), (yy + 216), ((xx + 60) + 552), ((yy + 216) + 5), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 124), (yy + 84), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 124), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 5, (xx + 380), (yy + 210), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_captions, 6, (xx + 340), (yy + 225), 1, 1, 0, c_white, 1) - coord = global.submenucoord[20] - charcoord = global.char[coord] - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - draw_text((xx + 130), (yy + 105), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 20) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (141 + yy)) - var ch_yoff = (yy + 230) - var ch_vspace = 25 - if (global.lang == "ja") - ch_vspace = 28 - for (var ch_i = 0; ch_i < 6; ch_i++) - ch_y[ch_i] = (ch_yoff + (ch_i * ch_vspace)) - draw_set_color(c_white) - draw_text((xx + 100), ch_y[0], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_207_0"))) - draw_item_icon((xx + 74), (ch_y[0] + 6), 1) - draw_text((xx + 100), ch_y[1], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_208_0"))) - draw_item_icon((xx + 74), (ch_y[1] + 6), 4) - draw_text((xx + 100), ch_y[2], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_209_0"))) - draw_item_icon((xx + 74), (ch_y[2] + 6), 5) - draw_text((xx + 100), ch_y[5], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_212_0"))) - draw_item_icon((xx + 74), (ch_y[5] + 6), 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_214_0") - guts_amount = 0 - fluff_amount = 0 - if (charcoord == 1) - { - guts_amount = 1 - draw_set_color(c_dkgray) - draw_text((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_226_0"))) - if (dograndom >= 99) - { - draw_set_color(c_white) - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_231_0"))) - draw_sprite_ext(spr_dog_sleep, ((-threebuffer) / 30), (xx + 220), (ch_y[3] + 5), 2, 2, 0, c_white, 1) - } - else - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_236_0"))) - draw_set_color(c_white) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_239_0") - if (global.plot >= 30) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_240_0") - if (global.flag[252] == 1) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_241_0") - } - if (charcoord == 2) - { - guts_amount = 2 - rude_amount = 100 - if (global.plot >= 154) - rude_amount = 99 - crude_amount = 100 - if (global.flag[214] == 1) - crude_amount = 101 - draw_text((xx + 100), ch_y[3], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_251_0"))) - draw_item_icon((xx + 74), (ch_y[3] + 6), 13) - if (global.lang == "ja") - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 1, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - else - { - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_252_0")), 0.8, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 13) - } - draw_text((xx + 230), ch_y[3], string_hash_to_newline(rude_amount)) - draw_text((xx + 230), ch_y[4], string_hash_to_newline(crude_amount)) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_255_0") - if (global.plot >= 154) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_256_0") - } - if (charcoord == 3) - { - guts_amount = 0 - fluff_amount = 1 - kindness_amount = 100 - kind_icon = 10 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_265_0") - if (dograndom >= 99) - { - kind_icon = 11 - kind_text = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_269_0") - kindness_amount = 1 - } - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_272_0") - if (global.charweapon[3] == 9) - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_275_0") - if (global.charweapon[3] == 10) - { - char_desc = scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_279_0") - fluff_amount += 1 - } - draw_text((xx + 100), ch_y[3], string_hash_to_newline(kind_text)) - draw_item_icon((xx + 74), (ch_y[3] + 6), kind_icon) - draw_text((xx + 230), ch_y[3], string_hash_to_newline(kindness_amount)) - fluff_xscale = 0.8 - if (global.lang == "ja") - fluff_xscale = 1 - draw_text_transformed((xx + 100), ch_y[4], string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_286_0")), fluff_xscale, 1, 0) - draw_item_icon((xx + 74), (ch_y[4] + 6), 12) - for (i = 0; i < fluff_amount; i += 1) - draw_item_icon(((xx + 230) + (i * 20)), (ch_y[4] + 6), 12) - } - draw_text((xx + 320), (yy + 105), string_hash_to_newline(char_desc)) - guts_xoff = 0 - if (global.lang == "ja") - guts_xoff = 16 - for (i = 0; i < guts_amount; i += 1) - draw_item_icon((((xx + 190) + (i * 20)) + guts_xoff), (ch_y[5] + 6), 9) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - draw_text((xx + 230), ch_y[0], string_hash_to_newline(atsum)) - draw_text((xx + 230), ch_y[1], string_hash_to_newline(dfsum)) - draw_text((xx + 230), ch_y[2], string_hash_to_newline(magsum)) - spell_xoff = 0 - if (global.lang == "ja") - spell_xoff = -10 - for (i = 0; i < 6; i += 1) - { - if (global.spell[charcoord, i] > 0) - { - g = 0 - if (global.spellusable[charcoord, i] == false) - g = 1 - if (global.spellcost[charcoord, i] > global.tension) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_text((xx + 340), ch_y[i], string_hash_to_newline((string(round(((global.spellcost[charcoord, i] / global.maxtension) * 100))) + "%"))) - draw_text(((xx + 410) + spell_xoff), ch_y[i], string_hash_to_newline(global.spellname[charcoord, i])) - } - } - if (global.submenu == 21) - draw_sprite(spr_heart, 0, (xx + 320), ((yy + 240) + (global.submenucoord[21] * ch_vspace))) - if (deschaver == 1) - { - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(global.spelldesc[charcoord, global.submenucoord[21]])) - } -} -if (global.menuno == 2) -{ - draw_set_color(c_black) - ch_vspace = 27 - if (global.lang == "ja") - { - ch_vspace = 28 - draw_rectangle((xx + 60), (yy + 90), (xx + 626), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 636), (yy + 420)) - } - else - { - draw_rectangle((xx + 60), (yy + 90), (xx + 580), (yy + 410), false) - scr_darkbox((xx + 50), (yy + 80), (xx + 590), (yy + 420)) - } - draw_set_color(c_white) - draw_rectangle((xx + 270), (yy + 91), (xx + 275), ((yy + 91) + 135), false) - draw_rectangle((xx + 59), (yy + 221), ((xx + 59) + 523), ((yy + 221) + 5), false) - if (global.lang == "ja") - draw_rectangle((xx + 59), (yy + 221), ((xx + 63) + 565), ((yy + 221) + 5), false) - draw_rectangle((xx + 318), (yy + 221), ((xx + 318) + 5), ((yy + 221) + 190), false) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 0, (xx + 118), (yy + 86), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 1, (xx + 376), (yy + 86), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 2, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - else - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 3, (xx + 372), (yy + 216), 2, 2, 0, c_white, 1) - draw_sprite_ext(scr_84_get_sprite("spr_dmenu_captions"), 4, (xx + 116), (yy + 216), 2, 2, 0, c_white, 1) - coord = global.submenucoord[10] - charcoord = global.char[coord] - menusiner += 1 - draw_set_color(c_white) - scr_84_set_draw_font("mainbig") - charname_xoff = 0 - if (global.lang == "ja") - charname_xoff = -25 - draw_text(((xx + 135) + charname_xoff), (yy + 107), string_hash_to_newline(global.charname[charcoord])) - for (i = 0; i < 3; i += 1) - { - chosen = 0.4 - if (i == coord) - chosen = 1 - draw_sprite_ext(spr_equipchar, global.char[i], ((90 + xx) + (i * 50)), (160 + yy), 2, 2, 0, c_white, chosen) - } - if (global.submenu == 10) - draw_sprite(spr_heart_harrows, (menusiner / 20), ((100 + xx) + (coord * 50)), (142 + yy)) - if (global.submenu != 11) - { - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 122)) - else - draw_sprite_ext(spr_dmenu_equip, (charcoord - 1), (xx + 302), (yy + 108), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 1) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 152)) - else - draw_sprite_ext(spr_dmenu_equip, 3, (xx + 302), (yy + 142), 2, 2, 0, c_white, 1) - if (global.submenucoord[11] == 2) - draw_sprite(spr_heart, 0, (xx + 308), (yy + 182)) - else - draw_sprite_ext(spr_dmenu_equip, 4, (xx + 302), (yy + 172), 2, 2, 0, c_white, 1) - } - if ((!charweaponname[charcoord]) == " ") - { - draw_text((xx + 365), (yy + 112), string_hash_to_newline(charweaponname[charcoord])) - draw_item_icon((xx + 343), (yy + 118), charweaponicon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 112), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_423_0"))) - draw_set_color(c_white) - } - if (global.chararmor1[charcoord] != 0) - { - draw_text((xx + 365), (yy + 142), string_hash_to_newline(chararmor1name[charcoord])) - draw_item_icon((xx + 343), (yy + 148), chararmor1icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 142), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_435_0"))) - draw_set_color(c_white) - } - if (global.chararmor2[charcoord] != 0) - { - draw_text((xx + 365), (yy + 172), string_hash_to_newline(chararmor2name[charcoord])) - draw_item_icon((xx + 343), (yy + 178), chararmor2icon[charcoord]) - } - else - { - draw_set_color(c_dkgray) - draw_text((xx + 365), (yy + 172), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_447_0"))) - draw_set_color(c_white) - } - eq_xoff = 0 - if (global.lang == "ja") - eq_xoff = -6 - if (global.submenucoord[11] == 0) - { - j = 0 - for (i = pagemax[0]; i < (6 + pagemax[0]); i += 1) - { - g = 0 - if (charcoord == 1 && weaponchar1[i] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[i] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), weaponicon[i]) - if (global.weapon[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(weaponname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2) - { - j = 0 - for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1) - { - g = 0 - if (charcoord == 1 && armorchar1[i] == 0) - g = 1 - if (charcoord == 2 && armorchar2[i] == 0) - g = 1 - if (charcoord == 3 && armorchar3[i] == 0) - g = 1 - if (g == 0) - draw_set_color(c_white) - if (g == 1) - draw_set_color(c_gray) - draw_item_icon(((xx + 364) + eq_xoff), ((yy + 236) + (j * ch_vspace)), armoricon[i]) - if (global.armor[i] != 0) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline(armorname[i])) - else - { - draw_set_color(c_dkgray) - draw_text(((xx + 384) + eq_xoff), ((yy + 230) + (j * ch_vspace)), string_hash_to_newline("---------")) - } - j += 1 - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - scroll_xoff = 0 - if (global.lang == "ja") - scroll_xoff = 54 - if (global.submenu == 12) - pm = 0 - else - pm = 1 - draw_sprite(spr_heart, 0, ((xx + 344) + eq_xoff), ((yy + 240) + ((global.submenucoord[global.submenu] - pagemax[pm]) * ch_vspace))) - draw_set_color(c_white) - for (i = 0; i < 12; i += 1) - { - buff = 0 - if (global.submenucoord[global.submenu] == i) - buff += 3 - if (pm == 0) - { - if (global.weapon[i] == 0) - buff -= 1 - } - if (pm == 1) - { - if (global.armor[i] == 0) - buff -= 1 - } - draw_rectangle((((xx + 555) - buff) + scroll_xoff), (((yy + 260) + (i * 10)) - buff), (((xx + 558) + buff) + scroll_xoff), (((yy + 263) + (i * 10)) + buff), false) - } - if (pagemax[pm] > 0) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 250) - (sin((cur_jewel / 12)) * 3)), 1, -1, 0, c_white, 1) - if ((5 + pagemax[pm]) < 11) - draw_sprite_ext(spr_morearrow, 0, ((xx + 551) + scroll_xoff), ((yy + 385) + (sin((cur_jewel / 12)) * 3)), 1, 1, 0, c_white, 1) - } - draw_set_color(c_white) - if (global.submenu == 11) - { - if (global.submenucoord[11] == 0) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(charweapondesc[charcoord])) - if (global.submenucoord[11] == 1) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor1desc[charcoord])) - if (global.submenucoord[11] == 2) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(chararmor2desc[charcoord])) - } - if (global.submenu == 12) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(weapondesc[global.submenucoord[12]])) - if (global.submenu == 13 || global.submenu == 14) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(armordesc[global.submenucoord[global.submenu]])) - draw_set_color(c_white) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_556_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 0)), 1) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_557_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 1)), 4) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_558_0"))) - draw_item_icon((xx + 74), ((yy + 236) + (ch_vspace * 2)), 5) - atsum = (((global.at[global.char[coord]] + global.itemat[global.char[coord], 0]) + global.itemat[global.char[coord], 1]) + global.itemat[global.char[coord], 2]) - dfsum = (((global.df[global.char[coord]] + global.itemdf[global.char[coord], 0]) + global.itemdf[global.char[coord], 1]) + global.itemdf[global.char[coord], 2]) - magsum = (((global.mag[global.char[coord]] + global.itemmag[global.char[coord], 0]) + global.itemmag[global.char[coord], 1]) + global.itemmag[global.char[coord], 2]) - grazesum = global.grazeamt - sizesum = global.grazesize - for (i = 0; i < 3; i += 1) - { - for (j = 0; j < 3; j += 1) - { - if (global.char[i] != 0) - { - grazesum += global.itemgrazeamt[global.char[i], j] - sizesum += global.itemgrazesize[global.char[i], j] - } - } - } - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - cur = global.submenucoord[global.submenu] - g = 0 - if (global.submenu == 12) - { - if (charcoord == 1 && weaponchar1[cur] == 0) - g = 1 - if (charcoord == 2 && weaponchar2[cur] == 0) - g = 1 - if (charcoord == 3 && weaponchar3[cur] == 0) - g = 1 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (charcoord == 1 && armorchar1[cur] == 0) - g = 1 - if (charcoord == 2 && armorchar2[cur] == 0) - g = 1 - if (charcoord == 3 && armorchar3[cur] == 0) - g = 1 - } - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_dkgray - _abilitycolor[1] = c_dkgray - _abilitycolor[2] = c_dkgray - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - if (g == 0 && global.submenu == 12) - { - atup = (weaponat[cur] - global.itemat[charcoord, 0]) - dfup = (weapondf[cur] - global.itemdf[charcoord, 0]) - magup = (weaponmag[cur] - global.itemmag[charcoord, 0]) - styleup = weaponstyle[cur] - grazeup = (weapongrazeamt[cur] - global.itemgrazeamt[charcoord, 0]) - sizeup = (weapongrazesize[cur] - global.itemgrazesize[charcoord, 0]) - _abilitycolor[0] = c_white - _abilityicon[0] = weaponabilityicon[cur] - if (weaponability[cur] != _abilitytext[0]) - { - _abilitycolor[0] = c_yellow - if (weaponability[cur] == " ") - _abilitycolor[0] = c_red - } - _abilitytext[0] = weaponability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - if (global.lang == "ja") - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(string((atsum + atup)))) - else - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((((string((atsum + atup)) + scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_643_0")) + string(atup)) + ")"))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - if (g == 0) - { - if (global.submenu == 13 || global.submenu == 14) - { - arno = (global.submenu - 12) - atup = (armorat[cur] - global.itemat[charcoord, arno]) - dfup = (armordf[cur] - global.itemdf[charcoord, arno]) - magup = (armormag[cur] - global.itemmag[charcoord, arno]) - grazeup = (armorgrazeamt[cur] - global.itemgrazeamt[charcoord, arno]) - sizeup = (armorgrazesize[cur] - global.itemgrazesize[charcoord, arno]) - _abilitycolor[arno] = c_white - _abilityicon[arno] = armorabilityicon[cur] - if (armorability[cur] != _abilitytext[arno]) - { - _abilitycolor[arno] = c_yellow - if (armorability[cur] == " ") - _abilitycolor[arno] = c_red - } - _abilitytext[arno] = armorability[cur] - draw_set_color(c_white) - if (atup > 0) - draw_set_color(c_yellow) - if (atup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline((atsum + atup))) - draw_set_color(c_white) - if (dfup > 0) - draw_set_color(c_yellow) - if (dfup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline((dfsum + dfup))) - draw_set_color(c_white) - if (magup > 0) - draw_set_color(c_yellow) - if (magup < 0) - draw_set_color(c_red) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline((magsum + magup))) - } - } - if (g == 1) - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - } - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_736_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } - else - { - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 0)), string_hash_to_newline(atsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 1)), string_hash_to_newline(dfsum)) - draw_text((xx + 230), ((yy + 230) + (ch_vspace * 2)), string_hash_to_newline(magsum)) - _abilitytext[0] = charweaponability[charcoord] - _abilitytext[1] = chararmor1ability[charcoord] - _abilitytext[2] = chararmor2ability[charcoord] - _abilitycolor[0] = c_white - _abilitycolor[1] = c_white - _abilitycolor[2] = c_white - _abilityicon[0] = charweaponabilityicon[charcoord] - _abilityicon[1] = chararmor1abilityicon[charcoord] - _abilityicon[2] = chararmor2abilityicon[charcoord] - for (i = 0; i < 3; i += 1) - { - if (_abilitytext[i] == " ") - { - draw_set_color(c_dkgray) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_773_0"))) - } - else - { - draw_set_color(_abilitycolor[i]) - draw_text((xx + 100), ((yy + 230) + (ch_vspace * (i + 3))), string_hash_to_newline(_abilitytext[i])) - draw_set_color(c_orange) - draw_item_icon((xx + 74), (((yy + 230) + (ch_vspace * (i + 3))) + 8), _abilityicon[i]) - } - } - } -} -if (global.menuno == 1) -{ - draw_set_color(c_black) - if (global.lang == "ja") - { - draw_rectangle((xx + 46), (yy + 90), (xx + 594), (yy + 360), false) - scr_darkbox((xx + 36), (yy + 80), (xx + 604), (yy + 370)) - } - else - { - draw_rectangle((xx + 70), (yy + 90), (xx + 570), (yy + 360), false) - scr_darkbox((xx + 60), (yy + 80), (xx + 580), (yy + 370)) - } - scr_84_set_draw_font("mainbig") - scr_itemname() - if (global.lang == "ja") - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 134) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 158), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 278), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 398), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - else - { - if (global.submenu == 1) - draw_sprite(spr_heart, 0, ((xx + 155) + (120 * global.submenucoord[1])), (yy + 120)) - draw_set_color(c_white) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 0) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 180), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_807_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 1) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 300), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_809_0"))) - if (global.submenu > 1) - { - if (global.submenucoord[1] == 2) - draw_set_color(c_orange) - else - draw_set_color(c_gray) - } - draw_text((xx + 420), (yy + 110), string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_811_0"))) - } - if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4) - { - sm = global.submenucoord[2] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - if (global.submenu == 2 || global.submenu == 3) - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(itemdesc[global.submenucoord[2]])) - } - if (global.submenu == 7) - { - draw_set_color(c_white) - if (global.lang == "ja") - draw_text((xx + 20), (yy + 10), (global.itemname[global.submenucoord[2]] + string_hash_to_newline(scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0")))) - else - draw_text((xx + 20), (yy + 10), string_hash_to_newline(((scr_84_get_lang_string("obj_darkcontroller_slash_Draw_0_gml_829_0") + global.itemname[global.submenucoord[2]]) + "?"))) - } - if (global.submenucoord[1] != 2) - { - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[(i * 2)])) - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(global.itemname[((i * 2) + 1)])) - } - } - } - if (global.submenucoord[1] == 2) - { - scr_keyiteminfo_all() - if (global.lang == "ja") - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 94), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 92), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - else - { - draw_set_color(bcolor) - for (i = 0; i < 6; i += 1) - { - draw_text((xx + 148), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - draw_text((xx + 358), ((yy + 154) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - draw_set_color(c_white) - if (global.submenu == 1) - draw_set_color(c_gray) - for (i = 0; i < 6; i += 1) - { - if (global.submenu == 4) - { - if (keyitemusable[(i * 2)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 146), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[(i * 2)])) - if (global.submenu == 4) - { - if (keyitemusable[((i * 2) + 1)] == 1) - draw_set_color(c_white) - else - draw_set_color(c_silver) - } - draw_text((xx + 356), ((yy + 152) + (30 * i)), string_hash_to_newline(keyitemname[((i * 2) + 1)])) - } - } - if (global.submenu == 4) - { - sm = global.submenucoord[4] - yheart = (((floor((sm / 2)) * 30) + 162) + yy) - if (global.lang == "ja") - { - xheart = (72 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (334 + xx) - } - else - { - xheart = (120 + xx) - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - xheart = (330 + xx) - } - draw_sprite(spr_heart, 0, xheart, yheart) - draw_set_color(c_white) - draw_text((xx + 20), (yy + 10), string_hash_to_newline(keyitemdesc[global.submenucoord[4]])) - } - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Step_0.gml deleted file mode 100644 index c78ee795e..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_darkcontroller_Step_0.gml +++ /dev/null @@ -1,1271 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -if (global.interact == 5) -{ - charcon = 1 - if (global.submenu == 5 || global.submenu == 22) - { - global.charselect = global.submenucoord[global.submenu] - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.faceaction[global.charselect] = 7 - if left_p() - { - movenoise = true - if (global.submenucoord[global.submenu] > 0) - global.submenucoord[global.submenu] -= 1 - else - global.submenucoord[global.submenu] = (chartotal - 1) - } - if right_p() - { - movenoise = true - if (global.submenucoord[global.submenu] < (chartotal - 1)) - global.submenucoord[global.submenu] += 1 - else - global.submenucoord[global.submenu] = 0 - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - if (global.submenu == 5) - { - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.submenu = 2 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - } - if (global.submenu == 22) - { - scr_spell_overworld(global.spell[global.char[global.submenucoord[20]], global.submenucoord[21]]) - global.tension -= global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (global.submenu == 22) - { - if (global.spellcost[global.char[global.submenucoord[20]], global.submenucoord[21]] > global.tension) - close = 1 - } - if (close == 1) - { - cancelnoise = 1 - global.faceaction[global.charselect] = 0 - global.charselect = -1 - twobuffer = 2 - if (global.submenu == 5) - global.submenu = 2 - if (global.submenu == 22) - global.submenu = 21 - } - } - if (global.submenu == 6 || global.submenu == 7 || global.menuno == 3) - { - global.charselect = 3 - global.faceaction[0] = 7 - global.faceaction[1] = 7 - global.faceaction[2] = 7 - if (button1_p() && onebuffer < 0 && global.submenu == 6) - { - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - scr_itemuse(global.item[global.submenucoord[2]]) - if (usable == true) - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 2 - } - if (button1_p() && onebuffer < 0 && global.submenu == 7) - { - snd_play(snd_ultraswing) - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - throwitem = global.item[global.submenucoord[2]] - scr_itemshift(global.submenucoord[2], 0) - scr_itemdesc() - global.charselect = -1 - global.submenu = 3 - if (throwitem == 4) - { - if (global.char[2] == 3 || global.char[1] == 3) - { - global.interact = 1 - scr_closemenu() - global.fc = 2 - global.typer = 31 - global.fe = 9 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_129_0") - if (global.flag[207] == 1) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_135_0") - scr_ralface(1, 9) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_137_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_138_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_139_0") - global.flag[207] = 2 - } - if (global.flag[207] == 0) - { - global.fc = 0 - global.typer = 6 - global.msg[0] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_147_0") - scr_ralface(1, 0) - global.msg[2] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_149_0") - global.msg[3] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_150_0") - global.msg[4] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_151_0") - global.msg[5] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_152_0") - scr_noface(6) - global.msg[7] = scr_84_get_lang_string("obj_darkcontroller_slash_Step_0_gml_154_0") - scr_itemget(4) - global.flag[207] = 1 - } - dl = instance_create(0, 0, obj_dialoguer) - dl.free = 1 - } - } - } - if (button1_p() && onebuffer < 0 && global.menuno == 3) - { - twobuffer = 2 - onebuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - global.charselect = -1 - global.interact = 6 - scr_talkroom() - global.menuno = -1 - charcon = 0 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.faceaction[0] = 0 - global.faceaction[1] = 0 - global.faceaction[2] = 0 - if (global.submenu == 6) - global.submenu = 2 - if (global.submenu == 7) - global.submenu = 3 - if (global.menuno == 3) - global.menuno = 0 - global.charselect = -1 - } - } - if (global.menuno == 5) - { - if (global.submenu == 30) - { - sndbuffer = 0 - m_quit = 0 - if up_p() - { - movenoise = true - global.submenucoord[30] -= 1 - if (global.submenucoord[30] < 0) - global.submenucoord[30] = 0 - } - if down_p() - { - movenoise = true - global.submenucoord[30] += 1 - if (global.submenucoord[30] > 5) - global.submenucoord[30] = 5 - } - if (button1_p() && onebuffer < 0) - { - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - if (global.submenucoord[30] == 0) - global.submenu = 33 - if (global.submenucoord[30] == 1) - { - global.submenu = 35 - global.submenucoord[35] = 0 - control_select_con = 0 - control_flash_timer = 0 - } - if (global.submenucoord[30] == 2) - { - if (global.flag[8] == 0) - global.flag[8] = 1 - else - global.flag[8] = 0 - } - if (global.submenucoord[30] == 3) - { - if (global.flag[11] == 0) - global.flag[11] = 1 - else - global.flag[11] = 0 - } - if (global.submenucoord[30] == 4) - { - if global.disable_border - selectnoise = false - else - { - global.submenu = 36 - check_border = 1 - border_select = 0 - } - } - if (global.submenucoord[30] == 5) - m_quit = 1 - } - if (button2_p() && twobuffer < 0) - { - m_quit = 1 - cancelnoise = 1 - } - if (m_quit == 1) - { - onebuffer = 2 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - if (global.submenu == 31 || global.submenu == 32 || global.submenu == 33) - { - se_select = 0 - sndbuffer -= 1 - muschange = false - sndchange = false - audchange = false - if right_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] < 1) - global.flag[15] += 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] < 1) - global.flag[16] += 0.05 - } - if (global.submenu == 33) - { - if (global.flag[17] < 1) - global.flag[17] += 0.02 - audchange = true - } - } - if left_h() - { - if (global.submenu == 31) - { - sndchange = true - if (global.flag[15] > 0) - global.flag[15] -= 0.05 - } - if (global.submenu == 32) - { - muschange = true - if (global.flag[16] > 0) - global.flag[16] -= 0.05 - } - if (global.submenu == 33) - { - audchange = true - if (global.flag[17] >= 0.02) - global.flag[17] -= 0.02 - } - } - if (sndchange == true && sndbuffer < 0) - { - audio_group_set_gain(1, global.flag[15], 0) - snd_play(snd_noise) - sndbuffer = 2 - } - if (muschange == true) - { - if snd_is_playing(global.currentsong[1]) - mus_volume(global.currentsong[1], (getmusvol * global.flag[16]), 0) - } - if (audchange == true && sndbuffer < 0) - { - snd_play(snd_noise) - sndbuffer = 2 - audio_set_master_gain(0, global.flag[17]) - } - if (button1_p() && onebuffer < 0) - se_select = 1 - if (button2_p() && twobuffer < 0) - se_select = 1 - if (se_select == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 34) - { - if keyboard_check_pressed(vk_escape) - ossafe_game_end() - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - global.submenu = 30 - } - } - if (global.submenu == 35) - { - control_select_timer = 0 - control_flash_timer -= 1 - controls_quitmenu = 0 - if (control_select_con == 1) - { - gamepad_accept = -1 - new_gamepad_key = -1 - key_accept = -1 - new_key = -1 - if (obj_gamecontroller.gamepad_active && control_select_con == 1) - { - for (var i = 0; i < array_length_1d(gamepad_controls); i++) - { - if gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, gamepad_controls[i]) - { - new_gamepad_key = gamepad_controls[i] - control_select_con = 2 - } - } - } - } - if (button1_p() && control_select_con == 0 && onebuffer < 0) - { - onebuffer = 2 - if (global.submenucoord[35] < 7) - { - control_select_con = 1 - keyboard_lastkey = -1 - selectnoise = true - } - if (global.submenucoord[35] == 7) - { - snd_play(snd_levelup) - scr_controls_default() - control_flash_timer = 10 - } - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - if (control_select_con == 0) - { - if (down_p() && controls_quitmenu == 0 && downbuffer < 0) - { - if (global.submenucoord[35] < 8) - { - global.submenucoord[35] += 1 - movenoise = true - } - } - if (up_p() && controls_quitmenu == 0 && upbuffer < 0) - { - if (global.submenucoord[35] > 0) - { - global.submenucoord[35] -= 1 - movenoise = true - } - } - if (button1_p() && controls_quitmenu == 0 && onebuffer < 2) - { - cancelnoise = 1 - onebuffer = 2 - twobuffer = 2 - if (global.submenucoord[35] == 8) - controls_quitmenu = 1 - } - } - if (control_select_con == 2) - { - if (new_key != -1) - { - dupe = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == new_key) - dupe = i - } - if (dupe >= 0) - global.input_k[dupe] = global.input_k[global.submenucoord[35]] - global.input_k[global.submenucoord[35]] = new_key - entercancel = -1 - shiftcancel = -1 - ctrlcancel = -1 - for (i = 0; i < 7; i += 1) - { - if (global.input_k[i] == 13) - { - global.input_k[7] = -1 - entercancel = 1 - } - if (global.input_k[i] == 16) - { - global.input_k[8] = -1 - shiftcancel = 1 - } - if (global.input_k[i] == 17) - { - global.input_k[9] = -1 - ctrlcancel = 1 - } - } - if (entercancel == -1) - global.input_k[7] = 13 - if (shiftcancel == -1) - global.input_k[8] = 16 - if (ctrlcancel == -1) - global.input_k[9] = 17 - } - else - { - dupe = -1 - if (new_gamepad_key == 32775) - obj_gamecontroller.gamepad_shoulderlb_reassign = 1 - for (i = 0; i < 7; i += 1) - { - if (global.input_g[i] == new_gamepad_key) - dupe = i - } - if (dupe >= 0) - global.input_g[dupe] = global.input_g[global.submenucoord[35]] - global.input_g[global.submenucoord[35]] = new_gamepad_key - global.button0 = global.input_g[4] - global.button1 = global.input_g[5] - global.button2 = global.input_g[6] - } - upbuffer = 2 - downbuffer = 2 - onebuffer = 2 - twobuffer = 2 - selectnoise = true - control_select_con = 0 - } - if (controls_quitmenu == 1) - { - selectnoise = true - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - for (i = 0; i < 10; i += 1) - ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]) - for (i = 0; i < 10; i += 1) - ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]) - ini_write_real("SHOULDERLB_REASSIGN", "SHOULDERLB_REASSIGN", obj_gamecontroller.gamepad_shoulderlb_reassign) - ossafe_ini_close() - ossafe_savedata_save() - controls_quitmenu = 0 - control_select_con = 0 - global.submenucoord[35] = 0 - global.submenu = 30 - } - } - if (global.submenu == 36) - { - if right_p() - { - if (selected_border < (array_length_1d(border_options) - 1)) - { - selected_border++ - check_border = 1 - } - } - if left_p() - { - if (selected_border > 0) - { - selected_border-- - check_border = 1 - } - } - if (check_border == 1) - { - var _border = border_options[selected_border] - if (_border == "None" || _border == "なし") - scr_enable_screen_border(0) - else - scr_enable_screen_border(1) - global.screen_border_id = border_options[selected_border] - check_border = 0 - } - if (button1_p() && onebuffer < 0) - border_select = 1 - if (button2_p() && twobuffer < 0) - border_select = 1 - if (border_select == 1) - { - onebuffer = 2 - twobuffer = 2 - ossafe_ini_open((("config_" + string(global.filechoice)) + ".ini")) - ini_write_string("BORDER", "TYPE", global.screen_border_id) - ossafe_ini_close() - ossafe_savedata_save() - control_select_con = 0 - global.submenu = 30 - } - } - } - if (global.menuno == 4) - { - if (global.submenu == 21) - { - charcoord = global.char[global.submenucoord[20]] - if up_p() - { - if (global.submenucoord[21] > 0) - { - global.submenucoord[21] -= 1 - movenoise = true - } - } - if down_p() - { - if (global.submenucoord[21] < 5) - { - if (global.spell[charcoord, (global.submenucoord[21] + 1)] != 0) - { - global.submenucoord[21] += 1 - movenoise = true - } - } - } - if (button1_p() && onebuffer < 0) - { - if (global.spellusable[charcoord, global.submenucoord[21]] == true && global.tension >= global.spellcost[charcoord, global.submenucoord[21]]) - { - if (global.spelltarget[charcoord, global.submenucoord[21]] == 1) - { - global.submenu = 22 - onebuffer = 2 - twobuffer = 2 - } - } - else - { - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - onebuffer = 2 - twobuffer = 2 - global.submenucoord[21] = 0 - global.submenu = 20 - } - } - if (global.submenu == 20) - { - if left_p() - { - movenoise = true - global.submenucoord[20] -= 1 - if (global.submenucoord[20] < 0) - global.submenucoord[20] = (chartotal - 1) - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if right_p() - { - movenoise = true - global.submenucoord[20] += 1 - if (global.submenucoord[20] > (chartotal - 1)) - global.submenucoord[20] = 0 - if (chartotal >= 2) - dograndom = ceil(random(100)) - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenu = 21 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 1) - { - if (global.submenu == 2 || global.submenu == 3) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 1 - movenoise = true - } - } - if down_p() - { - sm = global.submenucoord[2] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.item[(global.submenucoord[2] + 2)] != 0) - { - global.submenucoord[2] += 2 - movenoise = true - } - else if (global.item[(global.submenucoord[2] + 1)] != 0) - { - global.submenucoord[2] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[2] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - global.submenucoord[2] -= 2 - movenoise = true - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - global.submenucoord[2] -= 2 - movenoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 4) - { - if (left_p() || right_p()) - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 1 - } - } - if down_p() - { - sm = global.submenucoord[4] - if (sm == 0 || sm == 2 || sm == 4 || sm == 6 || sm == 8) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - } - if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9) - { - if (global.keyitem[(global.submenucoord[4] + 2)] != 0) - { - global.submenucoord[4] += 2 - movenoise = true - } - else if (global.keyitem[(global.submenucoord[4] + 1)] != 0) - { - global.submenucoord[4] += 1 - movenoise = true - } - } - } - if up_p() - { - sm = global.submenucoord[4] - if (sm == 2 || sm == 4 || sm == 6 || sm == 8 || sm == 10) - { - movenoise = true - global.submenucoord[4] -= 2 - } - if (sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11) - { - movenoise = true - global.submenucoord[4] -= 2 - } - } - if (button1_p() && onebuffer < 0) - { - onebuffer = 2 - twobuffer = 1 - if (keyitemusable[sm] == 1) - { - global.charselect = 3 - scr_itemuse((global.keyitem[sm] + 300)) - } - else - snd_play(snd_cantselect) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - deschaver = 0 - global.submenu = 1 - } - } - if (global.submenu == 3) - { - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 3 - global.submenu = 7 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 2) - { - if (button1_p() && onebuffer < 0) - { - onebuffer = 3 - scr_iteminfo(global.item[global.submenucoord[2]]) - if (itemtarget == 1) - { - selectnoise = true - global.submenu = 5 - } - if (itemtarget == 2) - global.submenu = 6 - } - if (global.item[global.submenucoord[2]] == 0) - { - if (global.submenucoord[2] == 0) - { - global.submenu = 1 - deschaver = 0 - twobuffer = 2 - onebuffer = 2 - } - if (global.submenucoord[2] > 0) - global.submenucoord[2] -= 1 - } - } - if (global.submenu == 1) - { - if left_p() - { - if (global.submenucoord[1] == 0) - { - global.submenucoord[1] = 2 - movenoise = true - } - else - { - global.submenucoord[1] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.submenucoord[1] == 2) - { - global.submenucoord[1] = 0 - movenoise = true - } - else - { - global.submenucoord[1] += 1 - movenoise = true - } - } - if button1_p() - { - global.submenu = (global.submenucoord[1] + 2) - if (global.submenu == 4) - { - deschaver = 1 - selectnoise = true - } - if (global.submenu == 2 || global.submenu == 3) - { - deschaver = 1 - scr_itemdesc() - if (global.item[0] == 0) - { - global.submenu = 1 - deschaver = 0 - } - else - selectnoise = true - } - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - } - } - } - if (global.menuno == 2) - { - if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14) - { - _up_pressed = 0 - if up_h() - { - if up_p() - _up_pressed = 1 - hold_up += 1 - if (hold_up >= 8) - { - _up_pressed = 1 - hold_up = 6 - } - if (_up_pressed == 1) - { - if (global.submenucoord[global.submenu] > 0) - { - global.submenucoord[global.submenu] -= 1 - movenoise = true - } - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] < pagemax[0]) - { - pagemax[0] -= 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] < pagemax[1]) - { - pagemax[1] -= 1 - movenoise = true - } - } - } - } - else - hold_up = 0 - _down_pressed = 0 - if down_h() - { - if (down_p() == 1) - _down_pressed = 1 - hold_down += 1 - if (hold_down >= 8) - { - _down_pressed = 1 - hold_down = 6 - } - if (global.submenucoord[global.submenu] < 11 && _down_pressed == 1) - { - movenoise = true - if (global.submenu == 12) - nextone = global.weapon[global.submenucoord[(global.submenu + 1)]] - if (global.submenu == 13 || global.submenu == 14) - nextone = global.armor[global.submenucoord[(global.submenu + 1)]] - global.submenucoord[global.submenu] += 1 - if (global.submenu == 12) - { - if (global.submenucoord[global.submenu] > (pagemax[0] + 5) && pagemax[0] < 6) - { - pagemax[0] += 1 - movenoise = true - } - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenucoord[global.submenu] > (pagemax[1] + 5) && pagemax[1] < 6) - { - pagemax[1] += 1 - movenoise = true - } - } - } - } - else - hold_down = 0 - if (button1_p() && onebuffer < 0) - { - onebuffer = 5 - canequip = false - wwho = global.char[global.submenucoord[10]] - wmsg = " " - if (global.submenu == 12) - { - scr_weaponinfo(global.weapon[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = wmessage2temp - if (wwho == 3) - wmsg = wmessage3temp - if (wwho == 1 && weaponchar1temp == 1) - canequip = true - if (wwho == 2 && weaponchar2temp == 1) - canequip = true - if (wwho == 3 && weaponchar3temp == 1) - canequip = true - } - if (global.submenu == 13 || global.submenu == 14) - { - scr_armorinfo(global.armor[global.submenucoord[global.submenu]]) - if (wwho == 2) - wmsg = amessage2temp - if (wwho == 3) - wmsg = amessage3temp - if (wwho == 1 && armorchar1temp == 1) - canequip = true - if (wwho == 2 && armorchar2temp == 1) - canequip = true - if (wwho == 3 && armorchar3temp == 1) - canequip = true - } - if (canequip == true) - { - hold_up = 0 - hold_down = 0 - snd_play(snd_equip) - if (global.submenu == 12) - { - oldequip = global.charweapon[wwho] - newequip = global.weapon[global.submenucoord[global.submenu]] - global.charweapon[wwho] = newequip - global.weapon[global.submenucoord[global.submenu]] = oldequip - scr_weaponinfo_mine() - scr_weaponinfo_all() - twobuffer = 2 - global.submenu = 11 - } - if (global.submenu == 13 || global.submenu == 14) - { - if (global.submenu == 13) - oldequip = global.chararmor1[wwho] - if (global.submenu == 14) - oldequip = global.chararmor2[wwho] - newequip = global.armor[global.submenucoord[global.submenu]] - if (global.submenu == 13) - global.chararmor1[wwho] = newequip - if (global.submenu == 14) - global.chararmor2[wwho] = newequip - global.armor[global.submenucoord[global.submenu]] = oldequip - scr_armorinfo_mine() - scr_armorinfo_all() - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - else - snd_play(snd_cantselect) - scr_itemcomment(global.submenucoord[10], wmsg) - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - hold_up = 0 - hold_down = 0 - twobuffer = 2 - scr_dmenu_armor_selection_match() - global.submenu = 11 - } - } - if (global.submenu == 11) - { - if up_p() - { - global.submenucoord[11] -= 1 - if (global.submenucoord[11] == -1) - global.submenucoord[11] = 2 - movenoise = true - } - if down_p() - { - global.submenucoord[11] += 1 - if (global.submenucoord[11] == 3) - global.submenucoord[11] = 0 - movenoise = true - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.submenu = (12 + global.submenucoord[11]) - scr_dmenu_armor_selection_match() - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - deschaver = 0 - twobuffer = 2 - global.submenu = 10 - } - } - if (global.submenu == 10) - { - if left_p() - { - movenoise = true - global.submenucoord[10] -= 1 - if (global.submenucoord[10] < 0) - global.submenucoord[10] = (chartotal - 1) - } - if right_p() - { - movenoise = true - global.submenucoord[10] += 1 - if (global.submenucoord[10] > (chartotal - 1)) - global.submenucoord[10] = 0 - } - global.charselect = global.submenucoord[10] - if (button1_p() && onebuffer < 0) - { - selectnoise = true - deschaver = 1 - global.submenucoord[11] = 0 - global.submenu = 11 - onebuffer = 2 - } - if (button2_p() && twobuffer < 0) - { - cancelnoise = 1 - twobuffer = 2 - global.menuno = 0 - global.submenu = 0 - global.charselect = -1 - } - } - } - if (global.menuno == 0) - { - global.submenu = 0 - if left_p() - { - if (global.menucoord[0] == 0) - { - global.menucoord[0] = 4 - movenoise = true - } - else - { - global.menucoord[0] -= 1 - if (global.menucoord[0] == 2) - global.menucoord[0] -= 1 - movenoise = true - } - } - if right_p() - { - if (global.menucoord[0] == 4) - { - global.menucoord[0] = 0 - movenoise = true - } - else - { - global.menucoord[0] += 1 - if (global.menucoord[0] == 2) - global.menucoord[0] += 1 - movenoise = true - } - } - if (button1_p() && onebuffer < 0) - { - selectnoise = true - onebuffer = 2 - global.menuno = (global.menucoord[0] + 1) - if (global.menuno == 1) - { - global.submenu = 1 - global.submenucoord[1] = 0 - global.submenucoord[2] = 0 - global.submenucoord[3] = 0 - global.submenucoord[4] = 0 - } - if (global.menuno == 2) - { - scr_weaponinfo_all() - scr_armorinfo_all() - scr_weaponinfo_mine() - scr_armorinfo_mine() - global.submenucoord[10] = 0 - global.submenucoord[11] = 0 - global.submenucoord[12] = 0 - global.submenucoord[13] = 0 - global.submenucoord[14] = 0 - pagemax[0] = 0 - pagemax[1] = 0 - global.submenu = 10 - global.charselect = global.submenucoord[10] - } - if (global.menuno == 3) - global.menuno = 0 - if (global.menuno == 4) - { - global.submenu = 20 - scr_spellinfo_all() - } - if (global.menuno == 5) - { - global.submenu = 30 - global.submenucoord[30] = 0 - } - } - close = 0 - if (button2_p() && twobuffer < 0) - close = 1 - if (button3_p() && threebuffer < 0) - close = 1 - if (close == 1) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - charcon = 0 - with (obj_mainchara) - { - threebuffer = 2 - twobuffer = 2 - } - } - } - } -} -if (global.interact == 6) -{ - if (!instance_exists(obj_dialoguer)) - global.interact = 0 -} -if (charcon == 1) -{ - drawchar = 1 - bpy = 60 - tpy = 80 - if (global.interact == 5) - { - if (tp < (tpy - 1)) - { - if ((tpy - tp) <= 40) - tp += round(((tpy - tp) / 2.5)) - else - tp += 30 - } - else - tp = tpy - } - if (bp < (bpy - 1) && charcon == 1) - { - if ((bpy - bp) <= 40) - bp += round(((bpy - bp) / 2.5)) - else - bp += 30 - } - else - bp = bpy -} -if (charcon == 0) -{ - if (tp > 0) - { - if (tp >= 80) - tp -= round((tp / 2.5)) - else - tp -= 30 - } - else - tp = 0 - if (bp > 0) - { - if (bp >= 40) - bp -= round((bp / 2.5)) - else - bp -= 30 - } - else - bp = 0 - if (bp == 0) - drawchar = 0 -} -if (movenoise == true) -{ - snd_play(snd_menumove) - movenoise = false -} -if (selectnoise == true) -{ - snd_play(snd_select) - selectnoise = false -} -if (cancelnoise == 1) -{ - snd_play(snd_smallswing) - cancelnoise = 0 -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -upbuffer -= 1 -downbuffer -= 1 diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_heart_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_heart_Step_0.gml deleted file mode 100644 index 0bb0ee3f2..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_heart_Step_0.gml +++ /dev/null @@ -1,200 +0,0 @@ -wallcheck = 0 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if left_h() - press_l = 1 -if right_h() - press_r = 1 -if up_h() - press_u = 1 -if down_h() - press_d = 1 -px = 0 -py = 0 -if (press_r == 1) - px = wspeed -if (press_l == 1) - px = (-wspeed) -if (press_d == 1) - py = wspeed -if (press_u == 1) - py = (-wspeed) -xmeet = 0 -ymeet = 0 -xymeet = 0 -if place_meeting((x + px), (y + py), obj_battlesolid) - xymeet = 1 -if place_meeting((x + px), y, obj_battlesolid) -{ - if place_meeting((x + px), y, obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_battlesolid))) - { - y -= g - py = 0 - break - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_battlesolid))) - { - y += g - py = 0 - break - } - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_battlesolid)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 -} -if place_meeting(x, (y + py), obj_battlesolid) -{ - ymeet = 1 - bky = 0 - if place_meeting(x, (y + py), obj_battlesolid) - { - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_battlesolid))) - { - x -= g - px = 0 - break - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_battlesolid))) - { - x += g - px = 0 - break - } - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_battlesolid)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 -} -if place_meeting((x + px), (y + py), obj_battlesolid) -{ - xymeet = 1 - bkxy = 0 - i = px - j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_battlesolid)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } -} -if ((x + px) >= ((__view_get(0, 0) + 640) - sprite_width)) - px = (((__view_get(0, 0) + 640) - sprite_width) - x) -if ((x + px) <= 0) - px = (-x) -if ((y + py) <= 0) - py = (-y) -if ((y + py) >= (((__view_get(1, 0) + 320) - sprite_height) + boundaryup)) - py = ((((__view_get(1, 0) + 320) - sprite_height) - y) + boundaryup) -x += px -y += py -if (dmgnoise == true) -{ - dmgnoise = false - snd_stop(snd_hurt1) - snd_play(snd_hurt1) -} -global.inv -= 1 -if (global.inv > 0) - image_speed = 0.25 -else -{ - image_speed = 0 - image_index = 0 -} -global.heartx = ((x + 2) - __view_get(0, 0)) -global.hearty = ((y + 2) - __view_get(1, 0)) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_mainchara_Step_0.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_mainchara_Step_0.gml deleted file mode 100644 index 1a8bb3323..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Object_obj_mainchara_Step_0.gml +++ /dev/null @@ -1,494 +0,0 @@ -scr_depth() -wallcheck = 0 -nowx = x -nowy = y -var nopress = 0 -if (press_d == 0 && press_l == 0 && press_u == 0 && press_r == 0) - nopress = 1 -press_l = 0 -press_r = 0 -press_d = 0 -press_u = 0 -bkx = 0 -bky = 0 -bkxy = 0 -jelly = 2 -if (global.interact == 0) -{ - if (button3_p() && threebuffer < 0) - { - if (global.flag[7] == 0 && battlemode == 0) - { - if instance_exists(obj_overworldc) - { - if (!menuOpened) - { - menuOpened = 1 - movenoise = true - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - else - menuOpened = 0 - } - else - { - global.menuno = 0 - global.interact = 5 - threebuffer = 2 - twobuffer = 2 - } - } - } - if (global.flag[11] == 1) - { - if (button2_h() && twobuffer < 0) - run = 0 - else - run = 1 - } - else if (button2_h() && twobuffer < 0) - run = 1 - else - run = 0 - if (autorun > 0) - { - if (autorun == 1) - { - run = 1 - runtimer = 200 - } - if (autorun == 2) - { - run = 1 - runtimer = 50 - } - } - if (run == 1) - { - if (darkmode == false) - { - wspeed = (bwspeed + 1) - if (runtimer > 10) - wspeed = (bwspeed + 2) - if (runtimer > 60) - wspeed = (bwspeed + 3) - } - if (darkmode == true) - { - wspeed = (bwspeed + 2) - if (runtimer > 10) - wspeed = (bwspeed + 4) - if (runtimer > 60) - wspeed = (bwspeed + 5) - } - } - if (run == 0) - wspeed = bwspeed - if left_h() - press_l = 1 - if right_h() - press_r = 1 - if up_h() - press_u = 1 - if down_h() - press_d = 1 - px = 0 - py = 0 - pressdir = -1 - if (press_r == 1) - { - px = wspeed - pressdir = 1 - } - if (press_l == 1) - { - px = (-wspeed) - pressdir = 3 - } - if (press_d == 1) - { - py = wspeed - pressdir = 0 - } - if (press_u == 1) - { - py = (-wspeed) - pressdir = 2 - } - if (nopress == 1 && pressdir != -1) - global.facing = pressdir - if (global.facing == 2) - { - if (press_d == 1) - global.facing = 0 - if (press_u == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 0) - { - if (press_u == 1) - global.facing = 2 - if (press_d == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 3) - { - if (press_r == 1) - global.facing = 1 - if (press_l == 0 && pressdir != -1) - global.facing = pressdir - } - if (global.facing == 1) - { - if (press_l == 1) - global.facing = 3 - if (press_r == 0 && pressdir != -1) - global.facing = pressdir - } - nopress = 0 - xmeet = 0 - ymeet = 0 - xymeet = 0 - if place_meeting((x + px), y, obj_solidblock) - { - for (var g = wspeed; g > 0; g -= 1) - { - var mvd = 0 - if (press_d == 0 && (!place_meeting((x + px), (y - g), obj_solidblock))) - { - y -= g - py = 0 - break - } - else - { - mvd = 1 - } - if (press_u == 0 && mvd == 0 && (!place_meeting((x + px), (y + g), obj_solidblock))) - { - y += g - py = 0 - break - } - } - xmeet = 1 - bkx = 0 - if (px > 0) - { - for (var i = px; i >= 0; i -= 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (px < 0) - { - for (i = px; i <= 0; i += 1) - { - if (!place_meeting((x + i), y, obj_solidblock)) - { - px = i - bkx = 1 - break - } - } - } - if (bkx == 0) - px = 0 - } - else if place_meeting(x, (y + py), obj_solidblock) - { - ymeet = 1 - bky = 0 - for (g = wspeed; g > 0; g -= 1) - { - mvd = 0 - if (press_r == 0 && (!place_meeting((x - g), (y + py), obj_solidblock))) - { - x -= g - px = 0 - break - } - else - { - mvd = 1 - } - if (mvd == 0 && press_l == 0 && (!place_meeting((x + g), (y + py), obj_solidblock))) - { - x += g - px = 0 - break - } - } - if (py > 0) - { - for (i = py; i >= 0; i -= 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (py < 0) - { - for (i = py; i <= 0; i += 1) - { - if (!place_meeting(x, (y + i), obj_solidblock)) - { - py = i - bky = 1 - break - } - } - } - if (bky == 0) - py = 0 - } - if place_meeting((x + px), (y + py), obj_solidblock) - { - xymeet = 1 - bkxy = 0 - i = px - var j = py - while (j != 0 || i != 0) - { - if (!place_meeting((x + i), (y + j), obj_solidblock)) - { - px = i - py = j - bkxy = 1 - break; - } - if (abs(j) >= 1) - { - if (j > 0) - j -= 1 - if (j < 0) - j += 1 - } - else - j = 0 - if (abs(i) >= 1) - { - if (i > 0) - i -= 1 - if (i < 0) - i += 1 - } - else - i = 0 - } - if (bkxy == 0) - { - px = 0 - py = 0 - } - } - runmove = false - if (run == 1 && xmeet == 0 && ymeet == 0 && xymeet == 0) - { - if (abs(px) > 0 || abs(py) > 0) - { - runmove = true - runtimer += 1 - } - else - runtimer = 0 - } - else - runtimer = 0 - x += px - y += py -} -walk = false -if (x != nowx && nopress == 0) - walk = true -if (y != nowy && nopress == 0) - walk = true -if (walk == true) - walkbuffer = 6 -if (walkbuffer > 3 && fun == false) -{ - walktimer += 1.5 - if (runmove == true) - walktimer += 1.5 - if (walktimer >= 40) - walktimer -= 40 - if (walktimer < 10) - image_index = 0 - if (walktimer >= 10) - image_index = 1 - if (walktimer >= 20) - image_index = 2 - if (walktimer >= 30) - image_index = 3 -} -else if (walkbuffer <= 0 && fun == false) -{ - if (walktimer < 10) - walktimer = 9.5 - if (walktimer >= 10 && walktimer < 20) - walktimer = 19.5 - if (walktimer >= 20 && walktimer < 30) - walktimer = 29.5 - if (walktimer >= 30) - walktimer = 39.5 - image_index = 0 -} -walkbuffer -= 0.75 -if (fun == false) -{ - if (global.facing == 0) - sprite_index = dsprite - if (global.facing == 1) - sprite_index = rsprite - if (global.facing == 2) - sprite_index = usprite - if (global.facing == 3) - sprite_index = lsprite -} -if (stepping == 1) -{ - if (image_index == 1 && stepped == false) - { - if (global.flag[31] == 0) - { - snd_play(snd_step1) - stepped = true - } - } - else if (image_index == 0 || image_index == 2) - stepped = false - else if (image_index == 3 && stepped == false) - { - stepped = true - if (global.flag[31] == 0) - snd_play(snd_step2) - } -} -if (onebuffer < 0) -{ - if (global.interact == 0) - { - if button1_p() - { - thisinteract = 0 - d = (global.darkzone + 1) - if (global.facing == 1) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), ((x + sprite_width) + (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 3 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 3) - { - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (sprite_width / 2)), ((y + (6 * d)) + (sprite_height / 2)), (x - (13 * d)), (y + sprite_height), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 1 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 0) - { - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (4 * d)), (y + (28 * d)), ((x + sprite_width) - (4 * d)), ((y + sprite_height) + (15 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 2 - with (interactedobject) - scr_interact() - } - } - thisinteract = 0 - if (global.facing == 2) - { - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - thisinteract = 1 - if collision_rectangle((x + 3), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - thisinteract = 2 - } - if (thisinteract > 0) - { - if (thisinteract == 1) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactable, 0, 1) - if (thisinteract == 2) - interactedobject = collision_rectangle((x + (3 * d)), ((y + sprite_height) - (5 * d)), ((x + sprite_width) - (5 * d)), (y + (5 * d)), obj_interactablesolid, 0, 1) - if (interactedobject != noone) - { - with (interactedobject) - facing = 0 - with (interactedobject) - scr_interact() - } - } - } - } -} -onebuffer -= 1 -twobuffer -= 1 -threebuffer -= 1 -with (collision_rectangle(bbox_left, bbox_top, bbox_right, bbox_bottom, obj_doorparent, 0, 0)) - event_user(9) -if (battlemode == 1) -{ - global.inv -= 1 - if (global.inv < 0 && global.interact != 3) - { - with (collision_rectangle((x + 12), (y + 40), (x + 27), (y + 49), obj_overworldbulletparent, 1, 0)) - event_user(5) - with (collision_line((x + 12), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - with (collision_line((x + 26), (y + 49), (x + 19), (y + 57), obj_overworldbulletparent, true, false)) - event_user(5) - } -} diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index 958d2252b..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,54 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index b538843f6..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,83 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, true, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 66c8071e3..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,187 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 04b6ec858..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,38 +0,0 @@ -var lines; -var name = string_lower(argument0) -var file = ds_map_find_value(global.savedata, name) -if is_undefined(file) - return undefined; -var data = file -var num_lines = 0 -while (string_byte_length(data) > 0) -{ - var newline_pos = string_pos("\n", data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == "\r") - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line -} -handle = ds_map_create() -ds_map_set(handle, "is_write", 0) -ds_map_set(handle, "text", lines) -ds_map_set(handle, "num_lines", num_lines) -ds_map_set(handle, "line", 0) -ds_map_set(handle, "line_read", 0) -return handle; diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_armorget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_armorget.gml deleted file mode 100644 index ace9a0359..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_armorget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.armor[12] = 999 -while (loop == true) -{ - if (global.armor[i] == 0) - { - global.armor[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_armorinfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_encountersetup.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_encountersetup.gml deleted file mode 100644 index 0d1f0ff0a..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_encountersetup.gml +++ /dev/null @@ -1,396 +0,0 @@ -xx = __view_get(0, 0) -yy = __view_get(1, 0) -for (i = 0; i < 3; i += 1) -{ - global.heromakex[i] = (xx + 80) - global.heromakey[i] = ((yy + 50) + (80 * i)) - global.monsterinstancetype[i] = obj_lancerboss - global.monstertype[i] = 1 - global.monstermakex[i] = (xx + 540) - global.monstermakey[i] = ((yy + 160) + (80 * i)) -} -if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) - global.heromakey[0] = (yy + 140) -if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) -{ - global.heromakey[0] = (yy + 100) - global.heromakey[1] = (yy + 180) -} -switch argument0 -{ - case 0: - break - case 1: - global.monsterinstancetype[0] = obj_placeholderenemy - global.monstertype[0] = 1 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_placeholderenemy - global.monstertype[1] = 1 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - break - case 2: - global.monsterinstancetype[0] = obj_lancerboss - global.monstertype[0] = 2 - global.monstermakex[0] = (xx + 540) - global.monstermakey[0] = (yy + 200) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 3: - global.monsterinstancetype[0] = obj_dummyenemy - global.monstertype[0] = 3 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - if instance_exists(obj_npc_room) - { - global.monstermakex[0] = obj_npc_room.xstart - global.monstermakey[0] = obj_npc_room.ystart - } - global.monstertype[1] = 0 - global.monstertype[2] = 0 - break - case 4: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0") - break - case 5: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0") - break - case 6: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0") - break - case 7: - global.monsterinstancetype[0] = obj_smallcheckers_enemy - global.monstertype[0] = 9 - global.monstermakex[0] = (xx + 440) - global.monstermakey[0] = (yy + 150) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0") - break - case 8: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 16 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_139_0") - break - case 9: - global.monsterinstancetype[0] = obj_heartenemy - global.monstertype[0] = 6 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_158_0") - break - case 12: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 10 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_172_0") - break - case 13: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_185_0") - global.monstertype[2] = 0 - break - case 14: - global.monsterinstancetype[0] = obj_ponman_enemy - global.monstertype[0] = 11 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_ponman_enemy - global.monstertype[1] = 11 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_ponman_enemy - global.monstertype[2] = 11 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_206_0") - break - case 15: - global.monsterinstancetype[0] = obj_clubsenemy - global.monstertype[0] = 7 - global.monstermakex[0] = (xx + 400) - global.monstermakey[0] = (yy + 30) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 420) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_223_0") - break - case 16: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_234_0") - break - case 17: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_250_0") - break - case 18: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_261_0") - break - case 19: - global.monsterinstancetype[0] = obj_bloxer_enemy - global.monstertype[0] = 14 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_bloxer_enemy - global.monstertype[1] = 14 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_277_0") - break - case 20: - global.monsterinstancetype[0] = obj_lancerboss2 - global.monstertype[0] = 12 - global.heromakex[0] = (xx + 120) - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_292_0") - break - case 21: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 140) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_303_0") - if (global.flag[500] >= 1) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_304_0") - if (global.flag[500] == 2) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_305_0") - break - case 22: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_jigsawryenemy - global.monstertype[1] = 15 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_jigsawryenemy - global.monstertype[2] = 15 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_324_0") - break - case 23: - global.monsterinstancetype[0] = obj_jigsawryenemy - global.monstertype[0] = 15 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_heartenemy - global.monstertype[2] = 6 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_343_0") - break - case 24: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 60) - global.monsterinstancetype[1] = obj_diamondenemy - global.monstertype[1] = 5 - global.monstermakex[1] = (xx + 460) - global.monstermakey[1] = (yy + 180) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_358_0") - break - case 25: - global.heromakex[0] = (xx + 80) - global.heromakey[0] = (yy + 100) - global.heromakex[1] = (xx + 90) - global.heromakey[1] = (yy + 150) - global.heromakex[2] = (xx + 100) - global.heromakey[2] = (yy + 210) - global.monsterinstancetype[0] = obj_joker - global.monstertype[0] = 20 - global.monstermakex[0] = (xx + 500) - global.monstermakey[0] = (yy + 160) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_384_0") - break - case 27: - global.monsterinstancetype[0] = obj_checkers_enemy - global.monstertype[0] = 21 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 120) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_397_0") - global.heromakey[0] = (yy + 65) - break - case 28: - global.monsterinstancetype[0] = obj_rudinnranger - global.monstertype[0] = 22 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_rudinnranger - global.monstertype[1] = 22 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_414_0") - break - case 29: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 110) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 200) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_430_0") - break - case 30: - global.monsterinstancetype[0] = obj_headhathy - global.monstertype[0] = 23 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_headhathy - global.monstertype[1] = 23 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_headhathy - global.monstertype[2] = 23 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_449_0") - break - case 31: - global.monsterinstancetype[0] = obj_susieenemy - global.monstertype[0] = 19 - global.monstermakex[0] = (xx + 520) - global.monstermakey[0] = (yy + 80) - global.monsterinstancetype[1] = obj_lancerboss3 - global.monstertype[1] = 18 - global.monstermakex[1] = (xx + 540) - global.monstermakey[1] = (yy + 240) - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_463_0") - break - case 32: - global.monsterinstancetype[0] = obj_rabbick_enemy - global.monstertype[0] = 13 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_rabbick_enemy - global.monstertype[1] = 13 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_rabbick_enemy - global.monstertype[2] = 13 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_484_0") - break - case 33: - global.monsterinstancetype[0] = obj_diamondenemy - global.monstertype[0] = 5 - global.monstermakex[0] = (xx + 480) - global.monstermakey[0] = (yy + 20) - global.monsterinstancetype[1] = obj_heartenemy - global.monstertype[1] = 6 - global.monstermakex[1] = (xx + 500) - global.monstermakey[1] = (yy + 120) - global.monsterinstancetype[2] = obj_diamondenemy - global.monstertype[2] = 5 - global.monstermakex[2] = (xx + 460) - global.monstermakey[2] = (yy + 220) - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_505_0") - break - case 40: - global.monsterinstancetype[0] = obj_king_boss - global.monstertype[0] = 25 - global.monstermakex[0] = (xx + 460) - global.monstermakey[0] = (yy + 70) - global.monstertype[1] = 0 - global.monstertype[2] = 0 - global.battlemsg[0] = scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_517_0") - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index fdc0e8f61..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_iteminfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_keyitemget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_keyitemget.gml deleted file mode 100644 index 8c2dee368..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_keyitemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.item[12] = 999 -while (loop == true) -{ - if (global.keyitem[i] == 0) - { - global.keyitem[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_keyiteminfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_litemget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_litemget.gml deleted file mode 100644 index 13177c595..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_litemget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.litem[8] = 999 -while (loop == true) -{ - if (global.litem[i] == 0) - { - global.litem[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_litemname() diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_phoneadd.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_phoneadd.gml deleted file mode 100644 index 6adc5fc69..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_phoneadd.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.phone[8] = 999 -while (loop == true) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - noroom = true - break - } - i += 1 -} -scr_phonename() diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spell.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spell.gml deleted file mode 100644 index 4de0af7ab..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spell.gml +++ /dev/null @@ -1,236 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -global.spelldelay = 10 -switch spell -{ - case 0: - break - case 1: - cancelattack = false - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - damage = ceil(((global.battleat[argument1] * 10) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - scr_damage_enemy(star, damage) - attack = instance_create((global.monsterx[star] + random(6)), (global.monstery[star] + random(6)), obj_basicattack) - attack.sprite_index = spr_attack_mash1 - dm.delay = 8 - } - global.spelldelay = 30 - break - case 2: - healnum = (global.battlemag[argument1] * 5) - scr_heal(star, healnum) - global.charinstance[star].healnum = healnum - with (global.charinstance[star]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - global.spelldelay = 15 - break - case 3: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - with (global.monsterinstance[star]) - { - if (global.monstertype[myself] != 19 && global.monstertype[myself] != 3) - { - global.flag[(51 + myself)] = 3 - event_user(10) - scr_monsterdefeat() - } - else - { - pacifycon = 1 - global.spelldelay = 999 - } - } - } - else - { - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - } - } - global.spelldelay = 20 - break - case 4: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 5) + (global.battleat[argument1] * 11)) - (global.monsterdf[star] * 3))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - } - break - case 5: - cancelattack = false - global.spelldelay = 30 - if (global.monster[star] == false) - scr_retarget_spell() - if (cancelattack == false) - { - global.spelldelay = 70 - damage = ceil((((global.battlemag[argument1] * 6) + (global.battleat[argument1] * 13)) - (global.monsterdf[star] * 6))) - if (global.automiss[star] == true) - damage = 0 - attack = instance_create(obj_herosusie.x, obj_herosusie.y, obj_rudebuster_anim) - attack.damage = damage - attack.star = star - attack.caster = caster - attack.target = global.monsterinstance[star] - attack.red = 1 - } - break - case 6: - healnum = (global.battlemag[argument1] * 4) - for (i = 0; i < 3; i += 1) - { - scr_heal(i, healnum) - global.charinstance[i].healnum = healnum - with (global.charinstance[i]) - { - ha = instance_create(x, y, obj_healanim) - ha.target = id - dmgwr = scr_dmgwriter_selfchar() - with (dmgwr) - { - delay = 8 - type = 3 - } - if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) - { - with (dmgwr) - specialmessage = 3 - } - dmgwr.damage = healnum - tu += 1 - } - } - global.spelldelay = 15 - break - case 100: - if (global.monster[star] == false) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.mercymod[star] >= 100) - { - if (global.monstertype[star] != 3) - { - with (global.monsterinstance[star]) - { - global.flag[(51 + myself)] = 2 - event_user(10) - scr_monsterdefeat() - } - } - else - { - with (global.monsterinstance[star]) - sparecon = 1 - } - } - else - { - scr_mercyadd(star, global.sparepoint[star]) - _pspell = instance_create(0, 0, obj_pacifyspell) - _pspell.target = global.monsterinstance[star] - _pspell.fail = 1 - _pspell.flashcolor = c_yellow - } - } - global.spelldelay = 0 - break - case 200: - break - case 201: - scr_healitemspell(40) - break - case 202: - reviveamt = ceil((global.maxhp[global.char[star]] / 2)) - if (global.hp[global.char[star]] <= 0) - reviveamt = (ceil(global.maxhp[global.char[star]]) + abs(global.hp[global.char[star]])) - scr_healitemspell(reviveamt) - break - case 203: - break - case 204: - break - case 205: - scr_healitemspell(20) - break - case 206: - scr_healallitemspell(160) - break - case 207: - scr_healallitemspell(80) - break - case 208: - scr_healitemspell(70) - break - case 209: - scr_healitemspell(50) - break - case 210: - scr_healitemspell(4) - break - case 211: - scr_healallitemspell(30) - break - case 212: - if (global.char[star] == 1) - scr_healitemspell(10) - if (global.char[star] == 2) - scr_healitemspell(90) - if (global.char[star] == 3) - scr_healitemspell(60) - break - case 213: - if (global.char[star] == 1) - scr_healitemspell(80) - if (global.char[star] == 2) - scr_healitemspell(30) - if (global.char[star] == 3) - scr_healitemspell(30) - break - case 214: - scr_healitemspell(500) - break - case 215: - scr_healitemspell(60) - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spell_overworld.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spell_overworld.gml deleted file mode 100644 index 79e96f055..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spell_overworld.gml +++ /dev/null @@ -1,11 +0,0 @@ -w = argument0 -usable = false -switch argument0 -{ - case 0: - break - case 2: - scr_healitem(global.charselect, 100) - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spelltext.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spelltext.gml deleted file mode 100644 index b5ab84978..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_spelltext.gml +++ /dev/null @@ -1,180 +0,0 @@ -spell = argument0 -caster = argument1 -star = global.chartarget[argument1] -spelltext = " " -switch spell -{ - case 0: - break - case 1: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_14_0"), global.charname[global.char[caster]]) - break - case 2: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_18_0"), global.charname[global.char[caster]]) - break - case 3: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_23_0"), global.charname[global.char[caster]]) - scr_retarget_spell() - if (global.monster[star] == true) - { - if (global.monsterstatus[star] == true) - { - } - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_33_0"), global.charname[global.char[caster]]) - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_36_0"), global.charname[global.char[caster]]) - } - } - break - case 4: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_43_0"), global.charname[global.char[caster]]) - break - case 5: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_47_0"), global.charname[global.char[caster]]) - break - case 6: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_51_0"), global.charname[global.char[caster]]) - break - case 100: - cancelattack = false - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_58_0"), global.charname[global.char[caster]], global.monstername[star]) - scr_retarget_spell() - if (global.mercymod[star] >= 100) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_62_0"), global.charname[global.char[caster]], global.monstername[star]) - else - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_66_0"), global.charname[global.char[caster]], global.monstername[star]) - if (global.monsterstatus[star] == true) - { - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_69_0"), global.charname[global.char[caster]], global.monstername[star]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_70_0") - } - } - if (cancelattack == true) - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_73_0"), global.charname[global.char[caster]]) - break - case 201: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_78_0"), global.charname[global.char[caster]]) - break - case 202: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_82_0"), global.charname[global.char[caster]]) - break - case 203: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_86_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_87_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.mercymod[_en] = 200 - } - } - } - if (spec_shard > 0) - { - scr_itemshift(global.bmenucoord[4, argument1], 0) - global.msg[1] = "" - global.msg[2] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_109_0") - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_112_0"), global.monstername[_j]) - } - global.msg[1] += "/" - } - break - case 204: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_122_0"), global.charname[global.char[caster]]) - global.msg[1] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_123_0") - spec_shard = 0 - for (_en = 0; _en < 3; _en += 1) - { - shardtest[_en] = 0 - if (global.monster[_en] == true) - { - if (global.monstertype[_en] == 5) - { - spec_shard = 1 - shardtest[_en] = 1 - global.monsterstatus[_en] = true - global.monstercomment[_en] = scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_135_0") - } - if (global.monstertype[_en] == 6) - { - spec_shard = 1 - shardtest[_en] = 2 - } - if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16) - { - spec_shard = 1 - shardtest[_en] = 3 - with (global.monsterinstance[_en]) - { - battlecancel = 1 - if (manual == 0) - { - manual = 1 - scr_mercyadd(myself, 50) - } - } - } - } - } - if (spec_shard > 0) - { - global.msg[1] = "" - for (_j = 0; _j < 3; _j += 1) - { - if (shardtest[_j] == 1) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_168_0"), global.monstername[_j]) - if (shardtest[_j] == 2) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_169_0"), global.monstername[_j]) - if (shardtest[_j] == 3) - global.msg[1] += scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_170_0"), global.monstername[_j]) - } - global.msg[1] += scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_172_0") - } - break - case 205: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_179_0"), global.charname[global.char[caster]]) - break - case 206: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_183_0"), global.charname[global.char[caster]]) - break - case 207: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_187_0"), global.charname[global.char[caster]]) - break - case 208: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_191_0"), global.charname[global.char[caster]]) - break - case 209: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_194_0"), global.charname[global.char[caster]]) - break - case 210: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_197_0"), global.charname[global.char[caster]]) - break - case 211: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_200_0"), global.charname[global.char[caster]]) - break - case 212: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_203_0"), global.charname[global.char[caster]]) - break - case 213: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_206_0"), global.charname[global.char[caster]]) - break - case 214: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_209_0"), global.charname[global.char[caster]]) - break - case 215: - global.msg[0] = scr_84_get_subst_string(scr_84_get_lang_string("scr_spelltext_slash_scr_spelltext_gml_212_0"), global.charname[global.char[caster]]) - break -} - diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_weaponget.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_weaponget.gml deleted file mode 100644 index 4a242d00c..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_scr_weaponget.gml +++ /dev/null @@ -1,19 +0,0 @@ -i = 0 -loop = true -noroom = false -global.weapon[12] = 999 -while (loop == true) -{ - if (global.weapon[i] == 0) - { - global.weapon[i] = argument0 - break - } - if (i == 12) - { - noroom = true - break - } - i += 1 -} -script_execute(scr_weaponinfo_all) diff --git a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_tile_get_ids_at_depth.gml b/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_tile_get_ids_at_depth.gml deleted file mode 100644 index 916ad6c54..000000000 --- a/UndertaleModTool/Corrections/cf6517bfa3b7b7e96c21b6c1a41f8415/Temp/gml_Script_tile_get_ids_at_depth.gml +++ /dev/null @@ -1,36 +0,0 @@ -/// @description Returns an array containing the unique ID values for all tiles at a given depth. -/// @param depth The depth of the tile layer to get the IDs of. -/// @returns {array} IDs of all tiles of the specified depth in the room - -var __depth = argument0; - -var __tiles; -__tiles[0] = -1; -var __currtile = 0; - -// Scan through all layers looking for tiles -var __layers = layer_get_all(); -var __numlayers = array_length_1d(__layers); - -var __i; -for(__i = 0; __i < __numlayers; __i++) -{ - if (layer_get_depth(__layers[__i]) != __depth) - continue; - - var __els = layer_get_all_elements(__layers[__i]); - var __numels = array_length_1d(__els); - - var __j; - for(__j = 0; __j < __numels; __j++) - { - var __eltype = layer_get_element_type(__els[__j]); - if (__eltype == layerelementtype_tile) - { - __tiles[__currtile] = __els[__j]; - __currtile++; - } - } -} - -return __tiles; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 79f5d3c57..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,436 +0,0 @@ -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -var halfsize = 0 -for (var n = 1; n <= stringpos; n++) -{ - var ch = string_char_at(originalstring, n) - var myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = 0xFDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = 0xD4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - var newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - var sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - var sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - var icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - var sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - var spritex = myx - var spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - var icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - var choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (__view_get(2, view_current) == 640) - myx *= 2 - myx += __view_get(0, view_current) - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - var nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - var letterx = myx - var offsetx = 0 - var offsety = 0 - var halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(string_hash_to_newline(myletter)) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - var unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - var lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - var angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - var display_scale = (surface_get_width(application_surface) / __view_get(2, view_current)) - var finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - var finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, string_hash_to_newline(myletter), (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(string_hash_to_newline(myletter)) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_halfbullet_gen_Other_10.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_halfbullet_gen_Other_10.gml deleted file mode 100644 index eed614253..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_halfbullet_gen_Other_10.gml +++ /dev/null @@ -1,449 +0,0 @@ -if (defined == 0) -{ - if (type == 999) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 2, 6, 0) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 0) - scr_hb_add(22, 2, 6, 2) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 2) - scr_hb_add(66, 1, 6, 0) - scr_hb_add(66, 2, 6, 1) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 0) - scr_hb_add(110, 2, 6, 2) - scr_hb_add(132, 0, 6, 0) - scr_hb_add(132, 2, 6, 0) - scr_hb_add(154, 0, 6, 2) - scr_hb_add(154, 1, 6, 0) - scr_hb_add(154, 2, 6, 1) - maxtimer = 250 - } - if (type == 0) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(8, 1, 6, 0) - scr_hb_add(16, 1, 6, 0) - maxtimer = 95 - } - if (type == 1) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(25, 0, 6, 0) - scr_hb_add(25, 2, 6, 0) - scr_hb_add(50, 1, 6, 0) - scr_hb_add(75, 0, 6, 0) - scr_hb_add(75, 2, 6, 0) - maxtimer = 150 - } - if (type == 2) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 0) - scr_hb_add(132, 2, 6, 2) - scr_hb_add(138, 0, 6, 1) - scr_hb_add(138, 1, 6, 0) - scr_hb_add(138, 2, 6, 2) - scr_hb_add(144, 0, 6, 1) - scr_hb_add(144, 1, 6, 0) - scr_hb_add(144, 2, 6, 2) - maxtimer = 220 - } - if (type == 3) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 1, 6, 1) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 2) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 1, 6, 1) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 2) - scr_hb_add(132, 2, 6, 0) - maxtimer = 210 - } - if (type == 4) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 2) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(44, 2, 6, 2) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 1, 6, 1) - scr_hb_add(66, 2, 6, 2) - scr_hb_add(88, 0, 6, 1) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 2) - scr_hb_add(110, 2, 6, 0) - maxtimer = 180 - } - if (type == 5) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(19, 0, 6, 0) - scr_hb_add(19, 2, 6, 0) - scr_hb_add(38, 0, 6, 0) - scr_hb_add(38, 1, 6, 1) - scr_hb_add(38, 2, 6, 2) - scr_hb_add(57, 0, 6, 0) - scr_hb_add(57, 2, 6, 0) - scr_hb_add(76, 1, 6, 0) - scr_hb_add(95, 0, 6, 0) - scr_hb_add(95, 2, 6, 0) - scr_hb_add(114, 0, 6, 1) - scr_hb_add(114, 1, 6, 2) - scr_hb_add(114, 2, 6, 0) - scr_hb_add(133, 0, 6, 0) - scr_hb_add(133, 2, 6, 0) - scr_hb_add(165, 1, 8, 0) - maxtimer = 230 - } - if (type == 6) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(20, 1, 6, 0) - scr_hb_add(20, 2, 6, 0) - scr_hb_add(40, 0, 6, 1) - scr_hb_add(40, 1, 6, 0) - scr_hb_add(40, 2, 6, 2) - scr_hb_add(60, 0, 6, 0) - scr_hb_add(60, 1, 6, 0) - scr_hb_add(80, 0, 6, 0) - scr_hb_add(80, 2, 6, 0) - scr_hb_add(100, 1, 6, 0) - scr_hb_add(100, 2, 6, 0) - scr_hb_add(120, 0, 6, 0) - scr_hb_add(120, 2, 6, 0) - scr_hb_add(140, 0, 6, 0) - scr_hb_add(140, 1, 6, 0) - scr_hb_add(160, 0, 6, 1) - scr_hb_add(160, 1, 6, 0) - scr_hb_add(160, 2, 6, 2) - scr_hb_add(167, 0, 6, 1) - scr_hb_add(167, 1, 6, 0) - scr_hb_add(167, 2, 6, 2) - scr_hb_add(174, 0, 6, 1) - scr_hb_add(174, 1, 6, 0) - scr_hb_add(174, 2, 6, 2) - shift_timer_max = 235 - scr_hb_add(235, 4, 10, 0) - scr_hb_add(235, 7, 10, 0) - maxtimer = 290 - } - if (type == 7) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 3, 6, 1) - scr_hb_add(0, 4, 6, 0) - scr_hb_add(0, 5, 6, 2) - scr_hb_add(30, 0, 6, 1) - scr_hb_add(30, 1, 6, 0) - scr_hb_add(30, 2, 6, 2) - scr_hb_add(60, 3, 6, 2) - scr_hb_add(60, 4, 6, 0) - scr_hb_add(60, 5, 6, 1) - scr_hb_add(90, 0, 6, 1) - scr_hb_add(90, 1, 6, 0) - scr_hb_add(90, 2, 6, 2) - scr_hb_add(120, 3, 6, 1) - scr_hb_add(120, 4, 6, 0) - scr_hb_add(120, 5, 6, 2) - scr_hb_add(150, 0, 6, 1) - scr_hb_add(150, 1, 6, 0) - scr_hb_add(150, 2, 6, 2) - maxtimer = 230 - } - if (type == 8) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 7, 0) - scr_hb_add(0, 5, 7, 0) - scr_hb_add(20, 1, 7, 0) - scr_hb_add(20, 2, 7, 0) - scr_hb_add(40, 6, 7, 0) - scr_hb_add(40, 7, 7, 0) - scr_hb_add(60, 0, 7, 0) - scr_hb_add(60, 1, 7, 0) - scr_hb_add(80, 0, 7, 1) - scr_hb_add(80, 1, 7, 0) - scr_hb_add(80, 2, 7, 2) - scr_hb_add(105, 3, 7, 1) - scr_hb_add(105, 4, 7, 0) - scr_hb_add(105, 5, 7, 2) - scr_hb_add(105, 6, 7, 1) - scr_hb_add(105, 7, 7, 0) - scr_hb_add(105, 8, 7, 2) - scr_hb_add(130, 3, 7, 2) - scr_hb_add(130, 4, 7, 0) - scr_hb_add(130, 5, 7, 1) - scr_hb_add(130, 6, 7, 2) - scr_hb_add(130, 7, 7, 0) - scr_hb_add(130, 8, 7, 1) - maxtimer = 220 - } - if (type == 9) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 8, 0) - scr_hb_add(0, 5, 8, 0) - scr_hb_add(19, 6, 8, 0) - scr_hb_add(19, 7, 8, 0) - scr_hb_add(38, 0, 8, 1) - scr_hb_add(38, 1, 8, 0) - scr_hb_add(38, 2, 8, 2) - scr_hb_add(57, 0, 8, 0) - scr_hb_add(57, 2, 8, 0) - scr_hb_add(76, 6, 8, 0) - scr_hb_add(76, 7, 8, 0) - scr_hb_add(95, 4, 8, 0) - scr_hb_add(95, 5, 8, 0) - scr_hb_add(120, 0, 8, 1) - scr_hb_add(120, 1, 8, 0) - scr_hb_add(120, 2, 8, 2) - scr_hb_add(135, 0, 8, 0) - scr_hb_add(135, 2, 8, 0) - maxtimer = 210 - } - if (type == 10 || type == 12) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 0 - cur_time = 0 - time_gap = 17 - if (type == 12) - { - time_gap = 12 - max_attack = 16 - } - prev_pat = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - prev_pat = cur_pat - } - maxtimer = (cur_time + 50) - } - if (type == 11 || type == 13) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 1 - cur_time = 0 - time_gap = 18 - if (type == 13) - { - time_gap = 13 - max_attack = 16 - } - prev_dir = -1 - prev_pat = -1 - cur_dir = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - } - } - if (cur_pat >= 6) - cur_dir = 1 - else - cur_dir = 2 - if (prev_dir != -1) - { - if (prev_dir != cur_dir) - { - if (type == 11) - cur_time += 5 - if (type == 13) - cur_time += 4 - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 6) - { - scr_hb_add(cur_time, 3, 8, 0) - scr_hb_add(cur_time, 4, 8, 0) - cur_time += time_gap - } - if (cur_pat == 7) - { - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 0) - cur_time += time_gap - } - if (cur_pat == 8) - { - scr_hb_add(cur_time, 3, 8, 1) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 2) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - if (cur_pat == 9) - { - scr_hb_add(cur_time, 3, 8, 2) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 1) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - prev_pat = cur_pat - prev_dir = cur_dir - } - maxtimer = (cur_time + 50) - } - global.turntimer = maxtimer - defined = 1 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_halfbullet_gen_Step_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_halfbullet_gen_Step_0.gml deleted file mode 100644 index 3df40f867..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_halfbullet_gen_Step_0.gml +++ /dev/null @@ -1,60 +0,0 @@ -if (active == true && defined == 1) -{ - while (bullettime[curbullet] == bultimer) - { - bul = instance_create(0, 0, obj_halfbullet) - if instance_exists(bul) - { - if (bulletpos[curbullet] == 0 || bulletpos[curbullet] == 1 || bulletpos[curbullet] == 2) - { - bul.x = xpos[bulletpos[curbullet]] - bul.y = -60 - bul.hspeed = 0 - bul.vspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 3 || bulletpos[curbullet] == 4 || bulletpos[curbullet] == 5) - { - bul.x = -48 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 6 || bulletpos[curbullet] == 7 || bulletpos[curbullet] == 8) - { - bul.x = 700 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = (-bulletspeed[curbullet]) - } - bul.type = bullettype[curbullet] - if (bul.type == 1) - bul.image_blend = global.joycon_color[0] - if (bul.type == 2) - bul.image_blend = global.joycon_color[1] - } - curbullet += 1 - if (curbullet >= maxbullet) - { - break - active = false - } - } -} -bultimer += 1 -if (bultimer >= (maxtimer - 10)) - darkness = 0 -if (bultimer >= maxtimer) -{ - with (obj_halfbullet) - instance_destroy() - instance_destroy() -} -if (shift_timer_max >= -1) -{ - shift_timer += 1 - if (shift_timer == shift_timer_max) - { - with (obj_hearthalf) - vertical_ok = 1 - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index f9c3e45d6..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,21 +0,0 @@ -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -var msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (var i = 0; true; i++) -{ - var text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -var xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 08a409c88..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,444 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -var vspacing = 15 -if (global.language == "ja") - vspacing = 16 -var button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), string_hash_to_newline(itext)) - var xx = ((20 + string_width(string_hash_to_newline(itext))) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -var stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), string_hash_to_newline(stext)) - draw_set_color(c_white) -} -button_x += string_width(string_hash_to_newline(stext)) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, string_hash_to_newline(global.button0)) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), string_hash_to_newline(global.button1)) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), string_hash_to_newline(global.button2)) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var analog_text_width = string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")))) - draw_text_transformed(20, (135 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_choice"))) -if (global.joy_dir == 0) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_normal"))) -if (global.joy_dir == 1) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_analog"))) -if (global.joy_dir == 2) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_pov"))) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_reset"))) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_test"))) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_fall")), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 494a374b5..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - return; -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - return; - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index d63e8da5e..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,99 +0,0 @@ -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - return; -} -num_borders = 12 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (var i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -border_11 = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - var BW = ini_read_real("General", "BW", 0) - var BP = ini_read_real("General", "BP", 0) - var BH = ini_read_real("General", "BH", 0) - var DB = ini_read_real("General", "DB", 0) - var EndF = ini_read_real("EndF", "EndF", 0) - var M = ini_read_real("Alphys", "M", 0) - var R = ini_read_real("Alphys", "R", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (global.osflavor == 5) - { - if M - { - border_enabled[11] = 1 - border_11 = R - } - if DB - border_enabled[12] = 1 - } - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 8c37eb92b..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,302 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_fall")), 1, 1, -20) -} -var menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, string_hash_to_newline(scr_gettext("settings_language"))) -draw_text(92, 70, string_hash_to_newline(scr_gettext(("settings_language_" + global.language)))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_button"))) - var vspacing = 18 - var button_x = 0 - for (var i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - var itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), string_hash_to_newline(itext)) - draw_set_color(c_white) - var xx = (40 + string_width(string_hash_to_newline(itext))) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - var button = -4 - for (var b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check((obj_time.j_ch - 1), button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - var command = string_char_at("ZXC", (i + 1)) - var sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(scr_gettext("joyconfig_reset"))) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - var border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_label)) - if (global.screen_border_id == 0) - var border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == 11) - border_sel = scr_gettext(((("settings_border_" + string(global.screen_border_id)) + "_") + string(border_11))) - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(string_hash_to_newline(border_label))) + 20), ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_sel)) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_joyconfig"))) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 0210cdb97..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), string_hash_to_newline((s_value[(i * 2)] + "G - Ninechara"))) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), string_hash_to_newline((s_value[((i * 2) + 1)] + "G - Ninechara"))) - } - draw_text(30, 210, string_hash_to_newline(scr_gettext("shop_exit_submenu"))) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, string_hash_to_newline((("Really sell Ninechara for " + string(value[sellpos])) + "G?"))) - draw_text(80, 180, string_hash_to_newline("Yes")) - draw_text(190, 180, string_hash_to_newline("No")) - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_time_Create_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_time_Create_0.gml deleted file mode 100644 index 84fb4f418..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_time_Create_0.gml +++ /dev/null @@ -1,151 +0,0 @@ -if (os_type == os_windows) - global.osflavor = 1 -else if (os_type == os_ps4 || os_type == os_psvita) - global.osflavor = 4 -else if (os_type == os_switch_beta) - global.osflavor = 5 -else - global.osflavor = 2 -global.locale = ((os_get_language() + "_") + string_upper(os_get_region())) -if (global.osflavor >= 3) -{ - application_surface_enable(true) - application_surface_draw_enable(false) -} -if (os_type == os_switch_beta && (!variable_global_exists("switchlogin"))) - global.switchlogin = switch_accounts_select_account(1, 0, 0) -if (os_type == os_switch_beta) -{ - switch_controller_support_set_defaults() - switch_controller_support_set_singleplayer_only(1) - switch_controller_set_supported_styles(7) - missing_controller_timeout = 0 -} -global.savedata_async_id = -1 -global.savedata_async_load = 0 -global.savedata_error = 0 -global.savedata_debuginfo = "" -global.disable_os_pause = 0 -paused = 0 -idle = 0 -idle_time = 0 -up = 0 -down = 0 -left = 0 -right = 0 -quit = 0 -try_up = 0 -try_down = 0 -try_left = 0 -try_right = 0 -canquit = 1 -h_skip = 0 -j_xpos = 0 -j_ypos = 0 -j_dir = 0 -j_fr = 0 -j_fl = 0 -j_fu = 0 -j_fd = 0 -j_fr_p = 0 -j_fl_p = 0 -j_fu_p = 0 -j_fd_p = 0 -for (var i = 0; i < 12; i += 1) -{ - j_prev[i] = 0 - j_on[i] = 0 -} -global.button0 = 2 -global.button1 = 1 -global.button2 = 4 -global.analog_sense = 0.15 -global.analog_sense_sense = 0.01 -global.joy_dir = 0 -if (os_type == os_ps4 || os_type == os_psvita) -{ - if (substr(global.locale, 1, 2) == "ja") - { - global.button0 = 32770 - global.button1 = 32769 - } - else - { - global.button0 = 32769 - global.button1 = 32770 - } - global.button2 = 32772 -} -else if (os_type == os_switch_beta) -{ - global.button0 = 32770 - global.button1 = 32769 - global.button2 = 32772 -} -global.default_button0 = global.button0 -global.default_button1 = global.button1 -global.default_button2 = global.button2 -global.default_analog_sense = global.analog_sense -global.default_analog_sense_sense = global.analog_sense_sense -global.default_joy_dir = global.joy_dir -global.screen_border_id = 0 -global.screen_border_active = 0 -global.screen_border_alpha = 1 -global.screen_border_state = 0 -global.screen_border_dynamic_fade_id = 0 -global.screen_border_dynamic_fade_level = 0 -global.screen_border_activate_on_game_over = 0 -debug_r = 0 -debug_f = 0 -j1 = 0 -j2 = 0 -ja = 0 -j_ch = 0 -jt = 0 -if (global.osflavor >= 4) -{ - for (i = 0; i < gamepad_get_device_count(); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch == 0) - { - if (os_type == os_switch_beta) - { - if (switch_controller_support_show() == 0) - j_ch = (switch_controller_support_get_selected_id() + 1) - } - else - j_ch = 1 - } -} -spec_rtimer = 0 -global.endsong_loaded = 0 -control_init() -scr_kanatype_init() -if (!variable_global_exists("text_data_en")) - script_execute(textdata_en) -if (!variable_global_exists("text_data_ja")) - script_execute(textdata_ja) -if (os_type == os_switch_beta) - global.language = substr(switch_language_get_desired_language(), 1, 2) -else - global.language = substr(global.locale, 1, 2) -if (global.language != "ja") - global.language = "en" -if (!variable_global_exists("trophy_init_complete")) -{ - global.trophy_init_complete = 0 - trophy_ts = -1 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_time_Step_1.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_time_Step_1.gml deleted file mode 100644 index bca42138e..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_time_Step_1.gml +++ /dev/null @@ -1,400 +0,0 @@ -if (started <= 0) -{ - if (global.savedata_async_id >= 0) - return; - started = -1 - if (!trophy_init()) - { - if (trophy_ts < 0) - trophy_ts = current_time - return; - } - ossafe_ini_open("config.ini") - var lang = ini_read_string("General", "lang", "") - var sb_i = ini_read_real("General", "sb", -1) - var b0_i = ini_read_real("joypad1", "b0", -1) - var b1_i = ini_read_real("joypad1", "b1", -1) - var b2_i = ini_read_real("joypad1", "b2", -1) - var as_i = ini_read_real("joypad1", "as", -1) - var jd_i = ini_read_real("joypad1", "jd", -1) - if (string_length(lang) > 0) - global.language = lang - if (sb_i >= 0) - global.screen_border_id = sb_i - if (b0_i >= 0) - global.button0 = b0_i - if (b1_i >= 0) - global.button1 = b1_i - if (b2_i >= 0) - global.button2 = b2_i - if (as_i >= 0) - global.analog_sense = as_i - if (jd_i >= 0) - global.joy_dir = jd_i - ossafe_ini_close() - scr_enable_screen_border(global.osflavor >= 4) - if (global.osflavor >= 4) - { - global.analog_sense = 0.15 - if (os_type == os_psvita) - global.analog_sense = 0.9 - global.joy_dir = 0 - } - ossafe_ini_open("undertale.ini") - fskip = ini_read_real("FFFFF", "E", -1) - ftime = ini_read_real("FFFFF", "F", -1) - true_end = ini_read_real("EndF", "EndF", -1) - ossafe_ini_close() - sksk = 0 - if (ftime == 1) - { - sksk = 1 - room_goto(room_f_start) - } - if (true_end == 1 && sksk == 0) - { - sksk = 1 - room_goto(room_flowey_regret) - } - if (fskip >= 1 && sksk == 0) - { - global.filechoice = 8 - scr_load() - if (fskip == 1) - room_goto(room_flowey_endchoice) - if (fskip == 2) - room_goto(room_castle_exit) - } - else if (sksk == 0) - room_goto_next() - if (ossafe_file_exists("system_information_962") && (!ossafe_file_exists("system_information_963"))) - room_goto(room_nothingness) - started = 1 - return; -} -if (!paused) - time += 1 -if (global.osflavor <= 2) -{ - if (jt == 0) - { - if (j_ch != 2) - { - if joystick_exists(1) - j_ch = 1 - else if (j_ch == 1) - j_ch = 0 - } - } - if (jt == 4) - { - if (j_ch != 1) - { - if joystick_exists(2) - j_ch = 2 - else if (j_ch == 2) - j_ch = 0 - } - } - jt += 1 - if (jt >= 8) - jt = 0 -} -else if (os_type == os_switch_beta) -{ - if (j_ch > 0 && gamepad_is_connected((j_ch - 1))) - missing_controller_timeout = 0 - else - { - j_ch = 0 - for (var i = 0; (i < gamepad_get_device_count()); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch > 0) - missing_controller_timeout = 0 - else if (missing_controller_timeout == 0) - missing_controller_timeout = (current_time + 2000) - else if (current_time >= missing_controller_timeout) - { - if (switch_controller_support_show() == 0) - { - j_ch = (switch_controller_support_get_selected_id() + 1) - missing_controller_timeout = 0 - } - } - } -} -control_update() -if (j_ch > 0) -{ - j_fr_p = j_fr - j_fl_p = j_fl - j_fu_p = j_fu - j_fd_p = j_fd - j_fr = 0 - j_fl = 0 - j_fu = 0 - j_fd = 0 - if (global.osflavor >= 4) - { - if (gamepad_button_check((j_ch - 1), gp_padu) || gamepad_button_check((j_ch - 1), gp_padd) || gamepad_button_check((j_ch - 1), gp_padl) || gamepad_button_check((j_ch - 1), gp_padr)) - { - j_fu = gamepad_button_check((j_ch - 1), gp_padu) - j_fd = gamepad_button_check((j_ch - 1), gp_padd) - j_fl = gamepad_button_check((j_ch - 1), gp_padl) - j_fr = gamepad_button_check((j_ch - 1), gp_padr) - } - else if (global.joy_dir != 2) - { - var j_xpos = gamepad_axis_value((j_ch - 1), gp_axislh) - var j_ypos = gamepad_axis_value((j_ch - 1), gp_axislv) - var analog_sense = global.analog_sense - if (sqrt((sqr(j_xpos) + sqr(j_ypos))) >= analog_sense) - { - var angle = darctan2(j_ypos, j_xpos) - if (angle < 0) - angle += 360 - if (angle < 67.5 || angle > 292.5) - j_fr = 1 - if (angle > 22.5 && angle < 157.5) - j_fd = 1 - if (angle > 112.5 && angle < 247.5) - j_fl = 1 - if (angle > 202.5 && angle < 337.5) - j_fu = 1 - } - } - } - else - { - if (global.joy_dir == 0 || global.joy_dir == 1) - { - j_xpos = joystick_xpos(j_ch) - j_ypos = joystick_ypos(j_ch) - } - j_dir = joystick_direction(j_ch) - if (global.joy_dir == 0 || global.joy_dir == 1) - { - if (j_dir == 101) - { - if (j_xpos >= global.analog_sense) - j_fr = 1 - if (j_xpos <= (-global.analog_sense)) - j_fl = 1 - if (j_ypos >= global.analog_sense) - j_fd = 1 - if (j_ypos <= (-global.analog_sense)) - j_fu = 1 - } - } - if (j_dir != 101) - { - if (j_dir == 100) - j_fl = 1 - if (j_dir == 98) - j_fd = 1 - if (j_dir == 102) - j_fr = 1 - if (j_dir == 104) - j_fu = 1 - if (j_dir == 99) - { - j_fr = 1 - j_fd = 1 - } - if (j_dir == 97) - { - j_fd = 1 - j_fl = 1 - } - if (j_dir == 103) - { - j_fu = 1 - j_fl = 1 - } - if (j_dir == 105) - { - j_fu = 1 - j_fr = 1 - } - } - if (global.joy_dir == 0 || global.joy_dir == 2) - { - j_pov = joystick_pov(j_ch) - if (j_pov == 0) - j_fu = 1 - if (j_pov == 270) - j_fl = 1 - if (j_pov == 90) - j_fr = 1 - if (j_pov == 180) - j_fd = 1 - if (j_pov == 315) - { - j_fu = 1 - j_fl = 1 - } - if (j_pov == 45) - { - j_fu = 1 - j_fr = 1 - } - if (j_pov == 225) - { - j_fd = 1 - j_fl = 1 - } - if (j_pov == 135) - { - j_fd = 1 - j_fr = 1 - } - } - } - if (j_fr != j_fr_p && j_fr == 1) - keyboard_key_press(vk_right) - if (j_fl != j_fl_p && j_fl == 1) - keyboard_key_press(vk_left) - if (j_fd != j_fd_p && j_fd == 1) - keyboard_key_press(vk_down) - if (j_fu != j_fu_p && j_fu == 1) - keyboard_key_press(vk_up) - if (j_fr != j_fr_p && j_fr == 0) - keyboard_key_release(vk_right) - if (j_fl != j_fl_p && j_fl == 0) - keyboard_key_release(vk_left) - if (j_fd != j_fd_p && j_fd == 0) - keyboard_key_release(vk_down) - if (j_fu != j_fu_p && j_fu == 0) - keyboard_key_release(vk_up) -} -up = 0 -down = 0 -left = 0 -right = 0 -if keyboard_check(vk_up) - try_up = 1 -if keyboard_check_released(vk_up) - try_up = 0 -if keyboard_check(vk_down) - try_down = 1 -if keyboard_check_released(vk_down) - try_down = 0 -if keyboard_check(vk_right) - try_right = 1 -if keyboard_check_released(vk_right) - try_right = 0 -if keyboard_check(vk_left) - try_left = 1 -if keyboard_check_released(vk_left) - try_left = 0 -if (global.osflavor == 1) -{ - if try_up - up = keyboard_check_direct(vk_up) - if try_down - down = keyboard_check_direct(vk_down) - if try_left - left = keyboard_check_direct(vk_left) - if try_right - right = keyboard_check_direct(vk_right) -} -else -{ - if try_up - up = keyboard_check(vk_up) - if try_down - down = keyboard_check(vk_down) - if try_left - left = keyboard_check(vk_left) - if try_right - right = keyboard_check(vk_right) -} -if keyboard_check_released(vk_up) - up = 0 -if keyboard_check_released(vk_down) - down = 0 -if keyboard_check_released(vk_left) - left = 0 -if keyboard_check_released(vk_right) - right = 0 -var now_idle = (!(up || down || left || right || control_check(0) || control_check(1) || control_check(2))) -if (now_idle && (!idle)) - idle_time = current_time -idle = now_idle -if control_check(2) -{ - if (global.flag[28] == 1) - { - if (instance_exists(OBJ_WRITER) && (!instance_exists(obj_choicer))) - { - if (h_skip == 0) - { - keyboard_key_press(ord("X")) - keyboard_key_press(ord("Z")) - } - if (h_skip == 1) - { - keyboard_key_release(ord("Z")) - keyboard_key_release(ord("X")) - } - if (h_skip == 0) - h_skip = 1 - else - h_skip = 0 - } - } -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("F")) - room_speed = 200 -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("W")) - room_speed = 10 -} -if keyboard_check_pressed(vk_f4) -{ - if window_get_fullscreen() - window_set_fullscreen(false) - else - window_set_fullscreen(true) -} -if (canquit == 1) -{ - if (global.debug == 1) - { - if (keyboard_check_pressed(ord("R")) && instance_exists(obj_essaystuff) == 0) - { - debug_r += 1 - if (debug_r > 5) - game_restart() - spec_rtimer = 1 - } - } - spec_rtimer += 1 - if (spec_rtimer >= 6) - debug_r = 0 - if keyboard_check(vk_escape) - { - quit += 1 - if (instance_exists(obj_quittingmessage) == 0) - instance_create(0, 0, obj_quittingmessage) - } - else - quit = 0 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 887b086f9..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - return; - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ee7a4ca81..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6623 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\\XLa, la.^3 &Time to wake&up and\\R smell\\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\\Y" - if (global.flag[22] == 2) - adder = "\\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 965: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_2") - global.msg[1] = scr_gettext("SCR_TEXT_mewmew_3") - global.msg[2] = " " - if (global.tempvalue[14] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_6") - with (obj_mewmew_npc) - con = 1 - } - break - case 966: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_4") - with (obj_mewmew_npc) - con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_5") - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1077: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_0") - if instance_exists(obj_mewmew_boss) - { - if (obj_mewmew_boss.true_battle >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_1") - } - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_get_element.gml deleted file mode 100644 index bd067ef6b..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, false, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_joystick_pov.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_joystick_pov.gml deleted file mode 100644 index 6c8efecf4..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_joystick_pov.gml +++ /dev/null @@ -1,7 +0,0 @@ -var jid = __joystick_2_gamepad(argument0) -var mask = 0 -mask |= (gamepad_button_value(jid, gp_padu) > 0 ? 1 : 0) -mask |= (gamepad_button_value(jid, gp_padr) > 0 ? 2 : 0) -mask |= (gamepad_button_value(jid, gp_padd) > 0 ? 4 : 0) -mask |= (gamepad_button_value(jid, gp_padl) > 0 ? 8 : 0) -return global.__jstick_povangle[mask]; diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 5baecfc3f..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,43 +0,0 @@ -var lines; -if (global.osflavor <= 2) - return file_text_open_read(argument0); -else -{ - var name = string_lower(argument0) - var file = ds_map_find_value(global.savedata, name) - if is_undefined(file) - return undefined; - var data = file - var num_lines = 0 - while (string_byte_length(data) > 0) - { - var newline_pos = string_pos(chr($0A), data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == chr($0D)) - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line - } - handle = ds_map_create() - ds_map_set(handle, "is_write", 0) - ds_map_set(handle, "text", lines) - ds_map_set(handle, "num_lines", num_lines) - ds_map_set(handle, "line", 0) - ds_map_set(handle, "line_read", 0) - return handle; -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index f76acbdc9..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,23 +0,0 @@ -var xx = argument0 -var yy = argument1 -if (global.language == "ja") -{ - var use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (var i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, string_hash_to_newline(global.charname)) -return string_width(string_hash_to_newline(global.charname)); diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_draw_screen_border.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_draw_screen_border.gml deleted file mode 100644 index ddd3cc787..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_draw_screen_border.gml +++ /dev/null @@ -1,259 +0,0 @@ -var overlay; -var border_id = argument0 -draw_enable_alphablend(0) -if (border_id == 1) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_line_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_line_544, 0, 0) -} -if (border_id == 2) -{ - var fade_time = 60 - if instance_exists(obj_stalkerflowey) - { - global.screen_border_state += (1 / fade_time) - if (global.screen_border_state > 1) - global.screen_border_state = 1 - } - else - { - global.screen_border_state -= (1 / fade_time) - if (global.screen_border_state < 0) - global.screen_border_state = 0 - } - var idle_min = 300000 - var idle_time = 0 - if (obj_time.idle && current_time >= (obj_time.idle_time + idle_min)) - idle_time = (current_time - (obj_time.idle_time + idle_min)) - var idle_frame = (floor((idle_time / 100)) % 3) - var base = -4 - for (var i = 0; i < 9; i++) - { - overlay[i, 0] = -4 - overlay[i, 1] = spr_undertaletitle - overlay[i, 2] = spr_undertaletitle - } - if (os_type == os_ps4 || os_type == os_switch_beta) - { - base = bg_border_sepia_1080 - overlay[0, 1] = spr_blconbelow - overlay[0, 2] = spr_truechara_laugh - overlay[1, 1] = spr_superbone - overlay[1, 2] = buttonL_nx_zr - overlay[2, 1] = spr_barktry_ja - overlay[2, 2] = spr_finalfroggit - overlay[3, 1] = spr_undertaletitle - overlay[3, 2] = spr_undynex_example - overlay[4, 1] = spr_vegetoid - overlay[4, 2] = spr_blconbelow - overlay[5, 1] = spr_bookshelf - overlay[5, 2] = spr_undertaletitle - overlay[6, 1] = spr_forcefield_right_middle - overlay[6, 2] = spr_alphyshelper_embarrass - overlay[7, 1] = spr_chipdoor_chippart - overlay[7, 2] = spr_gb_npc - overlay[8, 1] = spr_undynea_ut - overlay[8, 2] = spr_uppbutton - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_1080_1a - overlay[1, 0] = bg_border_sepia_1080_2a - overlay[2, 0] = bg_border_sepia_1080_3a - overlay[3, 0] = bg_border_sepia_1080_4a - overlay[4, 0] = bg_border_sepia_1080_5a - overlay[5, 0] = bg_border_sepia_1080_6a - overlay[6, 0] = bg_border_sepia_1080_7a - overlay[7, 0] = bg_border_sepia_1080_8a - overlay[8, 0] = bg_border_sepia_1080_9a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_1080_1b - overlay[1, 0] = bg_border_sepia_1080_2b - overlay[2, 0] = bg_border_sepia_1080_3b - overlay[3, 0] = bg_border_sepia_1080_4b - overlay[4, 0] = bg_border_sepia_1080_5b - overlay[5, 0] = bg_border_sepia_1080_6b - overlay[6, 0] = bg_border_sepia_1080_7b - overlay[7, 0] = bg_border_sepia_1080_8b - overlay[8, 0] = bg_border_sepia_1080_9b - } - if (global.screen_border_state > 0) - overlay1 = 2839 - } - else if (os_type == os_psvita) - { - base = bg_border_sepia_544 - overlay[0, 1] = spr_talkbt - overlay[0, 2] = spr_undyneb_face3 - overlay[1, 1] = spr_heartorange - overlay[1, 2] = spr_wizard_orbhurt - overlay[2, 1] = spr_undertaletitle - overlay[2, 2] = spr_oolbone_ja - overlay[3, 1] = button_ps4_l3 - overlay[3, 2] = spr_undertaletitle - overlay[4, 1] = buttonL_nx_zl - overlay[4, 2] = spr_whimsunhurt - overlay[5, 1] = buttonL_vita_triangle - overlay[5, 2] = spr_vulkinface5 - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_544_1a - overlay[1, 0] = bg_border_sepia_544_2a - overlay[2, 0] = bg_border_sepia_544_3a - overlay[3, 0] = bg_border_sepia_544_4a - overlay[4, 0] = bg_border_sepia_544_5a - overlay[5, 0] = bg_border_sepia_544_6a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_544_1b - overlay[1, 0] = bg_border_sepia_544_2b - overlay[2, 0] = bg_border_sepia_544_3b - overlay[3, 0] = bg_border_sepia_544_4b - overlay[4, 0] = bg_border_sepia_544_5b - overlay[5, 0] = bg_border_sepia_544_6b - } - if (global.screen_border_state > 0) - overlay1 = 2853 - } - if (base != -4) - { - scr_draw_background_ps4(base, 0, 0) - if (overlay[0, 0] != -4) - { - if (global.screen_border_state > 0) - { - draw_enable_alphablend(1) - draw_set_alpha((global.screen_border_state * 0.5)) - } - scr_draw_background_ps4(overlay[0, 0], overlay[0, 1], overlay[0, 2]) - if (global.screen_border_state > 0) - { - draw_set_alpha(1) - draw_enable_alphablend(0) - } - } - for (i = 1; i < 9; i++) - { - if (overlay[i, 0] != -4) - scr_draw_background_ps4(overlay[i, 0], overlay[i, 1], overlay[i, 2]) - } - } -} -if (border_id == 3) -{ - var room_id = global.currentroom - if ((room_id >= 4 && room_id <= 43) || (room >= room_introstory && room <= room_intromenu) || (room >= room_settings && room <= room_controltest)) - border_id = 4 - if ((room_id >= 44 && room_id <= 81) || room_id == 311 || (room_id >= 265 && room_id <= 266)) - border_id = 5 - if ((room_id >= 82 && room_id <= 136) || room_id == 312 || room_id == 315) - border_id = 6 - if ((room_id >= 137 && room_id <= 215) || room_id == 313 || room_id == 314 || (room_id >= 242 && room_id <= 243)) - border_id = 7 - if (room_id >= 216 && room_id <= 240) - border_id = 8 - if (room_id >= 244 && room_id <= 263) - border_id = 9 - if (room_id == 136 || room_id == 213 || room_id == 215 || room_id == 242 || room_id == 243 || room_id == 316 || room_id == 335 || room_id == 336 || room_id == 337) - border_id = 3.5 - if (global.flag[479] == 0 && (room_id == 244 || room_id == 245)) - border_id = 3.5 - if (border_id != global.screen_border_state) - { - if (global.screen_border_state != 0) - { - if (global.screen_border_dynamic_fade_id == border_id) - global.screen_border_dynamic_fade_level = (1 - global.screen_border_dynamic_fade_level) - else - global.screen_border_dynamic_fade_level = 1 - global.screen_border_dynamic_fade_id = global.screen_border_state - } - global.screen_border_state = border_id - } - if (global.screen_border_dynamic_fade_level > 0) - { - fade_time = 30 - global.screen_border_dynamic_fade_level -= (1 / fade_time) - if (global.screen_border_dynamic_fade_level > 0) - { - scr_draw_screen_border(global.screen_border_dynamic_fade_id) - draw_set_alpha((1 - global.screen_border_dynamic_fade_level)) - } - else - { - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - } - } -} -if (border_id == 3.5) -{ - draw_set_color(c_black) - ossafe_fill_rectangle(0, 0, (window_get_width() - 1), (window_get_height() - 1)) - draw_set_color(c_white) -} -if (border_id == 4) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_ruins_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_ruins_544, 0, 0) -} -if (border_id == 5) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_tundra_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_tundra_544, 0, 0) -} -if (border_id == 6) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_water1_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_water1_544, 0, 0) -} -if (border_id == 7) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_fire_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_fire_544, 0, 0) -} -if (border_id == 8) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_castle_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_castle_544, 0, 0) -} -if (border_id == 9) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_truelab_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_truelab_544, 0, 0) -} -if (border_id == 10) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_rad_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_rad_544, 0, 0) -} -if (border_id == 11) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_anime_1080, 0, 0) -} -if (border_id == 12) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_dog_1080, 0, 0) -} -draw_set_alpha(1) -draw_enable_alphablend(1) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 30f82a28b..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,8 +0,0 @@ -global.msg[0] = scr_gettext("scr_itemdesc_2") -for (var i = 0; true; i++) -{ - var desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 4c986d2f8..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,39 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -var bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 69fc16d1e..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,901 +0,0 @@ -var credamt = 0 -if (global.osflavor <= 2) -{ - var credits_path = (working_directory + "credits.txt") - var credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - var thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew \"Southrop\" Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara \"Svenna\" Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean \"Ariamaki\" Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin \"BenaSPACE\" McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn \"Xisuu\" Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan \"ChessboardMan\" Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles \"Chip Champion\" Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary \"ZarroTsu\" Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will \"Radnar\" Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin \"AT\" Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves \"TehLazyOne\"" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke \"Association\" Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_namingscreen.gml deleted file mode 100644 index 910c48cca..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var lines; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - var xx = (name_x - (q / 3)) - if (global.language == "ja") - { - var kana_count = 0 - for (var i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - var confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - return; - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, string_hash_to_newline(spec_m)) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (var row = 0; row < rows; row++) - { - var yy = ymap[row] - for (var col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), string_hash_to_newline(charmap[row, col])) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - var menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, string_hash_to_newline(menu_text0)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - var menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, string_hash_to_newline(menu_text1)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - var menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, string_hash_to_newline(menu_text2)) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - var charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, string_hash_to_newline(charset_text0)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - var charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, string_hash_to_newline(charset_text1)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - var charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, string_hash_to_newline(charset_text2)) - } - var old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - var best = 0 - var bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - var diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, string_hash_to_newline(charname)) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - var roomname = scr_roomname(roome) - var lvtext = scr_gettext("save_menu_lv", string(love)) - var timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - var namesize = string_width(string_hash_to_newline(substr(name, 1, 6))) - var lvsize = string_width(string_hash_to_newline(lvtext)) - var timesize = string_width(string_hash_to_newline(timetext)) - var x_center = 160 - var lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - var namepos = 70 - var timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, string_hash_to_newline(name)) - draw_text(lvpos, 62, string_hash_to_newline(lvtext)) - draw_text((timepos - timesize), 62, string_hash_to_newline(timetext)) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, string_hash_to_newline(roomname)) - if (selected3 == 0) - draw_set_color(c_yellow) - var continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, string_hash_to_newline(continue_text)) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - var reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, string_hash_to_newline(reset_text)) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - var action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, string_hash_to_newline(scr_gettext("instructions_title"))) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\\*Z") - draw_text(115, 50, string_hash_to_newline(scr_gettext("instructions_confirm_label"))) - scr_drawtext_icons(85, 70, "\\*X") - draw_text(115, 70, string_hash_to_newline(scr_gettext("instructions_cancel_label"))) - scr_drawtext_icons(85, 90, "\\*C") - draw_text(115, 90, string_hash_to_newline(scr_gettext("instructions_menu_label"))) - draw_text(86, 130, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - var num_lines = 5 - if (global.language == "ja") - { - var label_x = 0 - for (i = 0; i < num_lines; i++) - { - var key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), string_hash_to_newline(key)) - xx = ((50 + string_width(string_hash_to_newline(key))) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - var label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), string_hash_to_newline(label)) - } - draw_text(50, 145, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), string_hash_to_newline(((key + " - ") + label))) - } - draw_text(85, 140, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, string_hash_to_newline(scr_gettext("instructions_begin"))) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - var yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, string_hash_to_newline(scr_gettext("settings_name"))) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_base_writer_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_base_writer_Draw_0.gml deleted file mode 100644 index 79f5d3c57..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_base_writer_Draw_0.gml +++ /dev/null @@ -1,436 +0,0 @@ -if vtext - myx = (writingxend - vspacing) -else - myx = writingx -myy = writingy -var halfsize = 0 -for (var n = 1; n <= stringpos; n++) -{ - var ch = string_char_at(originalstring, n) - var myletter = "" - if (ch == "^" && string_char_at(originalstring, (n + 1)) != "0") - { - n++ - continue - } - if (ch == "\\") - { - n++ - ch = string_char_at(originalstring, n) - if (ch == "R") - mycolor = c_red - else if (ch == "G") - mycolor = c_lime - else if (ch == "W") - mycolor = c_white - else if (ch == "Y") - mycolor = c_yellow - else if (ch == "X") - mycolor = c_black - else if (ch == "B") - mycolor = c_blue - else if (ch == "O") - mycolor = c_orange - else if (ch == "L") - mycolor = 0xFDC00E - else if (ch == "P") - mycolor = c_fuchsia - else if (ch == "p") - mycolor = 0xD4BBFF - else if (ch == "C") - event_user(1) - else if (ch == "M") - { - n++ - ch = string_char_at(originalstring, n) - global.flag[20] = real(ch) - } - else if (ch == "E") - { - n++ - ch = string_char_at(originalstring, n) - global.faceemotion = real(ch) - } - else if (ch == "F") - { - n++ - ch = string_char_at(originalstring, n) - global.facechoice = real(ch) - global.facechange = 1 - } - else if (ch == "S") - n++ - else if (ch == "T") - { - n++ - var newtyper = string_char_at(originalstring, n) - if (newtyper == "-") - halfsize = 1 - else if (newtyper == "+") - halfsize = 0 - else - { - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - SCR_TEXTTYPE(global.typer) - global.facechange = 1 - } - } - else if (ch == "z") - { - n++ - var sym = real(string_char_at(originalstring, n)) - if (sym == 4) - { - var sym_s = spr_infinitysign - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - } - } - else if (ch == "*") - { - n++ - ch = string_char_at(originalstring, n) - var icontype = 0 - if (myfont == fnt_papyrus || myfont == fnt_ja_papyrus_btl) - icontype = 1 - var sprite = scr_getbuttonsprite(ch, icontype) - if (sprite != -4) - { - var spritex = myx - var spritey = myy - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - spritex += hspeed - spritey += vspeed - } - else if (shake == 40) - { - spritex += hspeed - spritey += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - spritex += hspeed - spritey += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - spritex += hspeed - spritey += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - spritex += ((hspeed * 0.7) + 10) - spritey += (vspeed * 0.7) - direction -= (30 * n) - } - } - else if (!instance_exists(obj_papdate)) - { - spritex += (random(shake) - (shake / 2)) - spritey += (random(shake) - (shake / 2)) - } - var icon_scale = 1 - if (myfont == fnt_main || myfont == fnt_ja_main) - icon_scale = 2 - if (myfont == fnt_main || myfont == fnt_maintext) - spritey += (1 * icon_scale) - if (myfont == fnt_ja_papyrus_btl) - spritex -= 1 - if (myfont == fnt_papyrus && icontype == 1) - spritey += floor(((16 - sprite_get_height(sprite)) / 2)) - if vtext - { - draw_sprite_ext(sprite, 0, (spritex - sprite_get_width(sprite)), spritey, icon_scale, icon_scale, 0, c_white, 1) - myy += ((sprite_get_height(sprite) + 1) * icon_scale) - } - else - { - draw_sprite_ext(sprite, 0, spritex, spritey, icon_scale, icon_scale, 0, c_white, 1) - myx += ((sprite_get_width(sprite) + 1) * icon_scale) - } - } - } - else if (ch == ">") - { - n++ - var choiceindex = real(string_char_at(originalstring, n)) - if (choiceindex == 1) - myx = 196 - else - { - myx = 100 - if (myfont == fnt_ja_comicsans_big) - myx += 11 - } - if (__view_get(2, view_current) == 640) - myx *= 2 - myx += __view_get(0, view_current) - } - continue - } - if (ch == "&") - { - script_execute(SCR_NEWLINE) - continue - } - if (ch == "/") - { - halt = 1 - var nextch = string_char_at(originalstring, (n + 1)) - if (nextch == "%") - halt = 2 - else if (nextch == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - else if (nextch == "*") - halt = 6 - break - } - else if (ch == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringno++ - originalstring = scr_replace_buttons_pc(mystring[stringno]) - stringpos = 0 - myx = writingx - myy = writingy - alarm[0] = textspeed - break - } - else - { - myletter = string_char_at(originalstring, n) - if (myletter == "^") - n++ - if ((!vtext) && myx > writingxend) - script_execute(SCR_NEWLINE) - var letterx = myx - var offsetx = 0 - var offsety = 0 - var halfscale = 1 - if halfsize - { - halfscale = 0.5 - if vtext - offsetx += (vspacing * 0.33) - else - offsety += (vspacing * 0.33) - } - if (global.language == "en") - { - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - letterx += 2 - if (myletter == "I") - letterx += 2 - if (myletter == "!") - letterx += 2 - if (myletter == ".") - letterx += 2 - if (myletter == "S") - letterx += 1 - if (myletter == "?") - letterx += 2 - if (myletter == "D") - letterx += 1 - if (myletter == "A") - letterx += 1 - if (myletter == "'") - letterx += 1 - } - } - else if (global.language == "ja") - { - if (vtext && (myfont == fnt_ja_papyrus || myfont == fnt_ja_papyrus_btl)) - { - if (myy == writingy && (myletter == "「" || myletter == "『")) - myy -= round((((string_width(string_hash_to_newline(myletter)) / 2) * htextscale) * halfscale)) - } - else if (myfont == fnt_ja_maintext || myfont == fnt_ja_main) - { - var unit = (htextscale * halfscale) - if (myfont == fnt_ja_main) - unit *= 2 - if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (n > 1) - { - var lastch = ord(string_char_at(originalstring, (n - 1))) - if (lastch >= 1024 && lastch < 65281 && lastch != 8211 && lastch != 12288) - letterx += unit - } - } - } - } - scr_setfont(myfont) - draw_set_color(mycolor) - if vtext - var angle = -90 - else - angle = 0 - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - offsetx += hspeed - offsety += vspeed - } - else if (shake == 40) - { - offsetx += hspeed - offsety += vspeed - } - else if (shake == 41) - { - direction += (10 * n) - offsetx += hspeed - offsety += vspeed - direction -= (10 * n) - } - else if (shake == 42) - { - direction += (20 * n) - offsetx += hspeed - offsety += vspeed - direction -= (20 * n) - } - else if (shake == 43) - { - direction += (30 * n) - offsetx += ((hspeed * 0.7) + 10) - offsety += (vspeed * 0.7) - direction -= (30 * n) - } - } - else - { - offsetx += (random(shake) - (shake / 2)) - offsety += (random(shake) - (shake / 2)) - } - var display_scale = (surface_get_width(application_surface) / __view_get(2, view_current)) - var finalx = (round(((letterx + offsetx) * display_scale)) / display_scale) - var finaly = (round(((myy + offsety) * display_scale)) / display_scale) - draw_text_transformed(finalx, finaly, string_hash_to_newline(myletter), (htextscale * halfscale), (vtextscale * halfscale), angle) - letterx += spacing - if (global.language == "en") - { - if (myfont == fnt_comicsans) - { - if (myletter == "w") - letterx += 2 - if (myletter == "m") - letterx += 2 - if (myletter == "i") - letterx -= 2 - if (myletter == "l") - letterx -= 2 - if (myletter == "s") - letterx -= 1 - if (myletter == "j") - letterx -= 1 - } - else if (myfont == fnt_papyrus) - { - if (myletter == "D") - letterx += 1 - if (myletter == "Q") - letterx += 3 - if (myletter == "M") - letterx += 1 - if (myletter == "L") - letterx -= 1 - if (myletter == "K") - letterx -= 1 - if (myletter == "C") - letterx += 1 - if (myletter == ".") - letterx -= 3 - if (myletter == "!") - letterx -= 3 - if (myletter == "O" || myletter == "W") - letterx += 2 - if (myletter == "I") - letterx -= 6 - if (myletter == "T") - letterx -= 1 - if (myletter == "P") - letterx -= 2 - if (myletter == "R") - letterx -= 2 - if (myletter == "A") - letterx += 1 - if (myletter == "H") - letterx += 1 - if (myletter == "B") - letterx += 1 - if (myletter == "G") - letterx += 1 - if (myletter == "F") - letterx -= 1 - if (myletter == "?") - letterx -= 3 - if (myletter == "'") - letterx -= 6 - if (myletter == "J") - letterx -= 1 - } - } - else if (global.language == "ja") - { - if vtext - myy += round(((string_width(string_hash_to_newline(myletter)) * htextscale) * halfscale)) - else if (myletter == " " || ord(myletter) >= 65377) - letterx -= floor((spacing / 2)) - else if (ord(myletter) < 1024 || ord(myletter) == 8211) - { - if (myfont == fnt_ja_comicsans || myfont == fnt_ja_comicsans_big) - letterx -= floor((spacing * 0.3)) - else - letterx -= floor((spacing * 0.4)) - } - } - if (!vtext) - { - if halfsize - myx = round((myx + ((letterx - myx) / 2))) - else - myx = letterx - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml deleted file mode 100644 index eed614253..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_halfbullet_gen_Other_10.gml +++ /dev/null @@ -1,449 +0,0 @@ -if (defined == 0) -{ - if (type == 999) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 2, 6, 0) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 0) - scr_hb_add(22, 2, 6, 2) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 2) - scr_hb_add(66, 1, 6, 0) - scr_hb_add(66, 2, 6, 1) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 0) - scr_hb_add(110, 2, 6, 2) - scr_hb_add(132, 0, 6, 0) - scr_hb_add(132, 2, 6, 0) - scr_hb_add(154, 0, 6, 2) - scr_hb_add(154, 1, 6, 0) - scr_hb_add(154, 2, 6, 1) - maxtimer = 250 - } - if (type == 0) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(8, 1, 6, 0) - scr_hb_add(16, 1, 6, 0) - maxtimer = 95 - } - if (type == 1) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(25, 0, 6, 0) - scr_hb_add(25, 2, 6, 0) - scr_hb_add(50, 1, 6, 0) - scr_hb_add(75, 0, 6, 0) - scr_hb_add(75, 2, 6, 0) - maxtimer = 150 - } - if (type == 2) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 0) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 0) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 0) - scr_hb_add(132, 2, 6, 2) - scr_hb_add(138, 0, 6, 1) - scr_hb_add(138, 1, 6, 0) - scr_hb_add(138, 2, 6, 2) - scr_hb_add(144, 0, 6, 1) - scr_hb_add(144, 1, 6, 0) - scr_hb_add(144, 2, 6, 2) - maxtimer = 220 - } - if (type == 3) - { - scr_hb_add(0, 0, 6, 0) - scr_hb_add(0, 1, 6, 1) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 0) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 2) - scr_hb_add(44, 2, 6, 0) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 2, 6, 0) - scr_hb_add(88, 0, 6, 0) - scr_hb_add(88, 1, 6, 1) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 0) - scr_hb_add(110, 2, 6, 0) - scr_hb_add(132, 0, 6, 1) - scr_hb_add(132, 1, 6, 2) - scr_hb_add(132, 2, 6, 0) - maxtimer = 210 - } - if (type == 4) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(22, 0, 6, 1) - scr_hb_add(22, 1, 6, 2) - scr_hb_add(22, 2, 6, 0) - scr_hb_add(44, 0, 6, 1) - scr_hb_add(44, 1, 6, 0) - scr_hb_add(44, 2, 6, 2) - scr_hb_add(66, 0, 6, 0) - scr_hb_add(66, 1, 6, 1) - scr_hb_add(66, 2, 6, 2) - scr_hb_add(88, 0, 6, 1) - scr_hb_add(88, 1, 6, 0) - scr_hb_add(88, 2, 6, 2) - scr_hb_add(110, 0, 6, 1) - scr_hb_add(110, 1, 6, 2) - scr_hb_add(110, 2, 6, 0) - maxtimer = 180 - } - if (type == 5) - { - scr_hb_add(0, 1, 6, 0) - scr_hb_add(19, 0, 6, 0) - scr_hb_add(19, 2, 6, 0) - scr_hb_add(38, 0, 6, 0) - scr_hb_add(38, 1, 6, 1) - scr_hb_add(38, 2, 6, 2) - scr_hb_add(57, 0, 6, 0) - scr_hb_add(57, 2, 6, 0) - scr_hb_add(76, 1, 6, 0) - scr_hb_add(95, 0, 6, 0) - scr_hb_add(95, 2, 6, 0) - scr_hb_add(114, 0, 6, 1) - scr_hb_add(114, 1, 6, 2) - scr_hb_add(114, 2, 6, 0) - scr_hb_add(133, 0, 6, 0) - scr_hb_add(133, 2, 6, 0) - scr_hb_add(165, 1, 8, 0) - maxtimer = 230 - } - if (type == 6) - { - scr_hb_add(0, 0, 6, 1) - scr_hb_add(0, 1, 6, 0) - scr_hb_add(0, 2, 6, 2) - scr_hb_add(20, 1, 6, 0) - scr_hb_add(20, 2, 6, 0) - scr_hb_add(40, 0, 6, 1) - scr_hb_add(40, 1, 6, 0) - scr_hb_add(40, 2, 6, 2) - scr_hb_add(60, 0, 6, 0) - scr_hb_add(60, 1, 6, 0) - scr_hb_add(80, 0, 6, 0) - scr_hb_add(80, 2, 6, 0) - scr_hb_add(100, 1, 6, 0) - scr_hb_add(100, 2, 6, 0) - scr_hb_add(120, 0, 6, 0) - scr_hb_add(120, 2, 6, 0) - scr_hb_add(140, 0, 6, 0) - scr_hb_add(140, 1, 6, 0) - scr_hb_add(160, 0, 6, 1) - scr_hb_add(160, 1, 6, 0) - scr_hb_add(160, 2, 6, 2) - scr_hb_add(167, 0, 6, 1) - scr_hb_add(167, 1, 6, 0) - scr_hb_add(167, 2, 6, 2) - scr_hb_add(174, 0, 6, 1) - scr_hb_add(174, 1, 6, 0) - scr_hb_add(174, 2, 6, 2) - shift_timer_max = 235 - scr_hb_add(235, 4, 10, 0) - scr_hb_add(235, 7, 10, 0) - maxtimer = 290 - } - if (type == 7) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 3, 6, 1) - scr_hb_add(0, 4, 6, 0) - scr_hb_add(0, 5, 6, 2) - scr_hb_add(30, 0, 6, 1) - scr_hb_add(30, 1, 6, 0) - scr_hb_add(30, 2, 6, 2) - scr_hb_add(60, 3, 6, 2) - scr_hb_add(60, 4, 6, 0) - scr_hb_add(60, 5, 6, 1) - scr_hb_add(90, 0, 6, 1) - scr_hb_add(90, 1, 6, 0) - scr_hb_add(90, 2, 6, 2) - scr_hb_add(120, 3, 6, 1) - scr_hb_add(120, 4, 6, 0) - scr_hb_add(120, 5, 6, 2) - scr_hb_add(150, 0, 6, 1) - scr_hb_add(150, 1, 6, 0) - scr_hb_add(150, 2, 6, 2) - maxtimer = 230 - } - if (type == 8) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 7, 0) - scr_hb_add(0, 5, 7, 0) - scr_hb_add(20, 1, 7, 0) - scr_hb_add(20, 2, 7, 0) - scr_hb_add(40, 6, 7, 0) - scr_hb_add(40, 7, 7, 0) - scr_hb_add(60, 0, 7, 0) - scr_hb_add(60, 1, 7, 0) - scr_hb_add(80, 0, 7, 1) - scr_hb_add(80, 1, 7, 0) - scr_hb_add(80, 2, 7, 2) - scr_hb_add(105, 3, 7, 1) - scr_hb_add(105, 4, 7, 0) - scr_hb_add(105, 5, 7, 2) - scr_hb_add(105, 6, 7, 1) - scr_hb_add(105, 7, 7, 0) - scr_hb_add(105, 8, 7, 2) - scr_hb_add(130, 3, 7, 2) - scr_hb_add(130, 4, 7, 0) - scr_hb_add(130, 5, 7, 1) - scr_hb_add(130, 6, 7, 2) - scr_hb_add(130, 7, 7, 0) - scr_hb_add(130, 8, 7, 1) - maxtimer = 220 - } - if (type == 9) - { - with (obj_hearthalf) - vertical_ok = 1 - scr_hb_add(0, 4, 8, 0) - scr_hb_add(0, 5, 8, 0) - scr_hb_add(19, 6, 8, 0) - scr_hb_add(19, 7, 8, 0) - scr_hb_add(38, 0, 8, 1) - scr_hb_add(38, 1, 8, 0) - scr_hb_add(38, 2, 8, 2) - scr_hb_add(57, 0, 8, 0) - scr_hb_add(57, 2, 8, 0) - scr_hb_add(76, 6, 8, 0) - scr_hb_add(76, 7, 8, 0) - scr_hb_add(95, 4, 8, 0) - scr_hb_add(95, 5, 8, 0) - scr_hb_add(120, 0, 8, 1) - scr_hb_add(120, 1, 8, 0) - scr_hb_add(120, 2, 8, 2) - scr_hb_add(135, 0, 8, 0) - scr_hb_add(135, 2, 8, 0) - maxtimer = 210 - } - if (type == 10 || type == 12) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 0 - cur_time = 0 - time_gap = 17 - if (type == 12) - { - time_gap = 12 - max_attack = 16 - } - prev_pat = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5) - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - prev_pat = cur_pat - } - maxtimer = (cur_time + 50) - } - if (type == 11 || type == 13) - { - max_attack = 9 - with (obj_hearthalf) - vertical_ok = 1 - cur_time = 0 - time_gap = 18 - if (type == 13) - { - time_gap = 13 - max_attack = 16 - } - prev_dir = -1 - prev_pat = -1 - cur_dir = -1 - for (n = 0; n < max_attack; n += 1) - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - ok = 0 - while (ok == 0) - { - if (cur_pat != prev_pat) - ok = 2 - if (cur_pat == 4 && prev_pat == 5) - ok = 0 - if (cur_pat == 5 && prev_pat == 4) - ok = 0 - if (ok == 2) - { - ok = 1 - break - } - else - { - cur_pat = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) - } - } - if (cur_pat >= 6) - cur_dir = 1 - else - cur_dir = 2 - if (prev_dir != -1) - { - if (prev_dir != cur_dir) - { - if (type == 11) - cur_time += 5 - if (type == 13) - cur_time += 4 - } - } - if (cur_pat == 0) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 1) - { - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 2) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 0) - cur_time += time_gap - } - if (cur_pat == 3) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 0) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 4) - { - scr_hb_add(cur_time, 0, 8, 1) - scr_hb_add(cur_time, 1, 8, 2) - scr_hb_add(cur_time, 2, 8, 0) - cur_time += time_gap - } - if (cur_pat == 5) - { - scr_hb_add(cur_time, 0, 8, 0) - scr_hb_add(cur_time, 1, 8, 1) - scr_hb_add(cur_time, 2, 8, 2) - cur_time += time_gap - } - if (cur_pat == 6) - { - scr_hb_add(cur_time, 3, 8, 0) - scr_hb_add(cur_time, 4, 8, 0) - cur_time += time_gap - } - if (cur_pat == 7) - { - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 0) - cur_time += time_gap - } - if (cur_pat == 8) - { - scr_hb_add(cur_time, 3, 8, 1) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 2) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - if (cur_pat == 9) - { - scr_hb_add(cur_time, 3, 8, 2) - scr_hb_add(cur_time, 4, 8, 0) - scr_hb_add(cur_time, 5, 8, 1) - cur_time += time_gap - if (type == 11) - cur_time += 2 - } - prev_pat = cur_pat - prev_dir = cur_dir - } - maxtimer = (cur_time + 50) - } - global.turntimer = maxtimer - defined = 1 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml deleted file mode 100644 index 3df40f867..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_halfbullet_gen_Step_0.gml +++ /dev/null @@ -1,60 +0,0 @@ -if (active == true && defined == 1) -{ - while (bullettime[curbullet] == bultimer) - { - bul = instance_create(0, 0, obj_halfbullet) - if instance_exists(bul) - { - if (bulletpos[curbullet] == 0 || bulletpos[curbullet] == 1 || bulletpos[curbullet] == 2) - { - bul.x = xpos[bulletpos[curbullet]] - bul.y = -60 - bul.hspeed = 0 - bul.vspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 3 || bulletpos[curbullet] == 4 || bulletpos[curbullet] == 5) - { - bul.x = -48 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = bulletspeed[curbullet] - } - if (bulletpos[curbullet] == 6 || bulletpos[curbullet] == 7 || bulletpos[curbullet] == 8) - { - bul.x = 700 - bul.y = ypos[bulletpos[curbullet]] - bul.vspeed = 0 - bul.hspeed = (-bulletspeed[curbullet]) - } - bul.type = bullettype[curbullet] - if (bul.type == 1) - bul.image_blend = global.joycon_color[0] - if (bul.type == 2) - bul.image_blend = global.joycon_color[1] - } - curbullet += 1 - if (curbullet >= maxbullet) - { - break - active = false - } - } -} -bultimer += 1 -if (bultimer >= (maxtimer - 10)) - darkness = 0 -if (bultimer >= maxtimer) -{ - with (obj_halfbullet) - instance_destroy() - instance_destroy() -} -if (shift_timer_max >= -1) -{ - shift_timer += 1 - if (shift_timer == shift_timer_max) - { - with (obj_hearthalf) - vertical_ok = 1 - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_heartdefeated_Other_11.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_heartdefeated_Other_11.gml deleted file mode 100644 index f9c3e45d6..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_heartdefeated_Other_11.gml +++ /dev/null @@ -1,21 +0,0 @@ -if (floor((msgnum / 100)) == 1) - global.typer = 32 -else if (floor((msgnum / 100)) == 3) - global.typer = 110 -else - global.typer = 30 -var msgid_base = (("obj_heartdefeated_" + string(msgnum)) + "_") -for (var i = 0; true; i++) -{ - var text = scr_gettext((msgid_base + string(i))) - if (text == "") - break - global.msg[i] = text -} -dingus = 1 -script_execute(SCR_TEXTTYPE, global.typer) -global.msc = 0 -var xx = 100 -if (global.language == "ja") - xx = 88 -instance_create(xx, 300, OBJ_WRITER) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 08a409c88..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,444 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if control_check_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ossafe_ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ossafe_ini_close() - sm = instance_create(0, 0, obj_settingsmenu) - sm.menu_engage = 0 - sm.buffer = buffer - sm.intro = intro - sm.rectile = rectile - sm.buffer = buffer - sm.weather = weather - sm.extreme = extreme - sm.extreme2 = extreme2 - sm.harp = harp - sm.weathermusic = weathermusic - instance_destroy() -} -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (weather != 3) -{ - draw_set_halign(fa_right) - draw_text_transformed(300, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) - draw_set_halign(fa_left) -} -else - draw_text_transformed(10, 10, string_hash_to_newline(scr_gettext("joyconfig_title")), 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -var vspacing = 15 -if (global.language == "ja") - vspacing = 16 -var button_x = 0 -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = scr_gettext("joyconfig_button_confirm") - if (i == 2) - itext = scr_gettext("joyconfig_button_cancel") - if (i == 3) - itext = scr_gettext("joyconfig_button_menu") - draw_text(20, (75 + ((i - 1) * vspacing)), string_hash_to_newline(itext)) - var xx = ((20 + string_width(string_hash_to_newline(itext))) + 10) - if (xx > button_x) - button_x = xx - draw_set_color(c_white) -} -var stext = scr_gettext("settings_button_separator") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(button_x, (75 + ((i - 1) * vspacing)), string_hash_to_newline(stext)) - draw_set_color(c_white) -} -button_x += string_width(string_hash_to_newline(stext)) -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, 75, (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), 90) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, 75, string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), 75, string_hash_to_newline(global.button0)) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (1 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (1 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (1 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (1 * vspacing)), string_hash_to_newline(global.button1)) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - ossafe_fill_rectangle(button_x, (75 + (2 * vspacing)), (button_x + string_width(string_hash_to_newline(scr_gettext("joyconfig_prompt_button")))), (90 + (2 * vspacing))) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(button_x, (75 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_prompt_button"))) - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text((button_x + 10), (75 + (2 * vspacing)), string_hash_to_newline(global.button2)) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var analog_text_width = string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens"))) -var sensebar_x = ((20 + analog_text_width) + 10) -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense -= global.analog_sense_sense - if obj_time.left - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - scale = (analog_text_width / string_width(string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")))) - draw_text_transformed(20, (135 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_analog_sens_sq")), scale, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if obj_time.right - global.analog_sense_sense -= 0.01 - if obj_time.left - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (control_check_pressed(0) || control_check_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, sensebar_x, (135 + vspacing), 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, ((sensebar_x + 40) - (global.analog_sense_sense * 200)), (138 + vspacing), 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_choice"))) -if (global.joy_dir == 0) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_normal"))) -if (global.joy_dir == 1) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_analog"))) -if (global.joy_dir == 2) - draw_text(100, 170, string_hash_to_newline(scr_gettext("joyconfig_dir_pov"))) -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, (170 + vspacing), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, (170 + vspacing), string_hash_to_newline(scr_gettext("joyconfig_reset"))) -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, (170 + (2 * vspacing)), string_hash_to_newline(scr_gettext("joyconfig_test"))) -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_test_fall")), 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 494a374b5..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - return; -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - return; - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = scr_gettext("obj_movedogehead_185") - if (gg == 1) - global.msg[0] = scr_gettext("obj_movedogehead_186") - if (gg == 2) - global.msg[0] = scr_gettext("obj_movedogehead_187") - global.msg[1] = scr_gettext("obj_movedogehead_188") - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_settingsmenu_Create_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_settingsmenu_Create_0.gml deleted file mode 100644 index d63e8da5e..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_settingsmenu_Create_0.gml +++ /dev/null @@ -1,99 +0,0 @@ -if global.to_joyconfig -{ - global.to_joyconfig = 0 - instance_create(0, 0, obj_joypadmenu) - instance_destroy() - return; -} -num_borders = 12 -border_enabled[0] = 1 -border_enabled[1] = 1 -border_enabled[2] = 1 -border_enabled[3] = 1 -for (var i = 4; i <= num_borders; i++) - border_enabled[i] = 0 -border_11 = 0 -fun = false -if ossafe_file_exists("undertale.ini") -{ - ossafe_ini_open("undertale.ini") - if ossafe_file_exists("file0") - { - fun = true - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - var BW = ini_read_real("General", "BW", 0) - var BP = ini_read_real("General", "BP", 0) - var BH = ini_read_real("General", "BH", 0) - var DB = ini_read_real("General", "DB", 0) - var EndF = ini_read_real("EndF", "EndF", 0) - var M = ini_read_real("Alphys", "M", 0) - var R = ini_read_real("Alphys", "R", 0) - if ((Won || BW) || (CP || BP)) - { - for (i = 4; i <= 8; i++) - border_enabled[i] = 1 - } - if (CP || BP) - border_enabled[9] = 1 - if (CH || BH) - border_enabled[10] = 1 - if (global.osflavor == 5) - { - if M - { - border_enabled[11] = 1 - border_11 = R - } - if DB - border_enabled[12] = 1 - } - if (EndF >= 2) - fun = false - } - ossafe_ini_close() -} -menu = 0 -menu_engage = 0 -buffer = 5 -button_list[0] = 32769 -button_list[1] = 32770 -button_list[2] = 32771 -button_list[3] = 32772 -button_list[4] = 32773 -button_list[5] = 32775 -button_list[6] = 32774 -button_list[7] = 32776 -button_list[8] = 32779 -button_list[9] = 32780 -button_list[10] = 32777 -button_list[11] = 32778 -button_list[12] = -4 -r_line = scr_gettext("joyconfig_resetted") -o_o = 0 -siner = 0 -r_buffer = 0 -intro = 0 -weather = 0 -rectile = 0 -extreme = 0 -extreme2 = 0 -harp = 0 -weathermusic = 0 -if (fun == true) -{ - intro = 1 - menu_engage = -1 - weather = 1 - month = current_month - if (month == 12 || month == 1 || month == 2) - weather = 1 - if (month == 3 || month == 4 || month == 5) - weather = 2 - if (month == 6 || month == 7 || month == 8) - weather = 3 - if (month == 9 || month == 10 || month == 11) - weather = 4 -} -finish = 0 diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_settingsmenu_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_settingsmenu_Draw_0.gml deleted file mode 100644 index 8c37eb92b..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_settingsmenu_Draw_0.gml +++ /dev/null @@ -1,302 +0,0 @@ -buffer -= 1 -if (fun == true && harp == abc_123_a) -{ - harp = caster_load("music/harpnoise.ogg") - if (weather == 1) - weathermusic = caster_load("music/options_winter.ogg") - if (weather == 2 || weather == 4) - weathermusic = caster_load("music/options_fall.ogg") - if (weather == 3) - weathermusic = caster_load("music/options_summer.ogg") -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_winter")), 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_spring")), 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_summer")), 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), string_hash_to_newline(scr_gettext("joyconfig_fun_fall")), 1, 1, -20) -} -var menu_max = 6 -if (global.osflavor <= 2) -{ - menu_max = 2 - if (obj_time.j_ch == 0) - menu_max = 1 -} -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu <= 0) - menu = 0 - if (menu >= menu_max) - menu = menu_max - if (buffer < 0 && control_check_pressed(0)) - { - if (!(global.osflavor >= 4 && menu >= 2 && menu <= 4)) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } - if (menu == 1) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.language == "en") - global.language = "ja" - else - global.language = "en" - } - menu_engage = 0 - } - if (menu == 6) - { - if ((global.osflavor <= 2 && menu_engage == 1) || keyboard_check_pressed(vk_right)) - { - do { - global.screen_border_id++ - if (global.screen_border_id > num_borders) - global.screen_border_id = 0 - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - else if keyboard_check_pressed(vk_left) - { - do { - global.screen_border_id-- - if (global.screen_border_id < 0) - global.screen_border_id = num_borders - } until (global.screen_border_id < 0 || border_enabled[global.screen_border_id]); - - global.screen_border_state = 0 - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - scr_enable_screen_border(1) - } - menu_engage = 0 - } -} -if (menu == 0 && menu_engage == 1) - finish = 1 -draw_set_color(c_white) -scr_setfont(fnt_maintext) -scr_drawtext_centered_scaled(160, 10, scr_gettext("settings_title"), 2, 2) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, string_hash_to_newline(scr_gettext("joyconfig_exit"))) -if (menu != 1) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 70, string_hash_to_newline(scr_gettext("settings_language"))) -draw_text(92, 70, string_hash_to_newline(scr_gettext(("settings_language_" + global.language)))) -if (global.osflavor >= 4) -{ - draw_set_color(c_white) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_button"))) - var vspacing = 18 - var button_x = 0 - for (var i = 0; i < 3; i++) - { - if (menu == (i + 2)) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - if (i == 0) - var itext = scr_gettext("settings_button_confirm") - else if (i == 1) - itext = scr_gettext("settings_button_cancel") - else - itext = scr_gettext("settings_button_menu") - draw_text(40, (100 + ((i + 1) * vspacing)), string_hash_to_newline(itext)) - draw_set_color(c_white) - var xx = (40 + string_width(string_hash_to_newline(itext))) - if (xx > button_x) - button_x = xx - } - button_x += 15 - for (i = 0; i < 3; i++) - { - if (menu == (i + 2) && buffer < 0) - { - var button = -4 - for (var b = 0; button_list[b] != -4; b++) - { - if gamepad_button_check((obj_time.j_ch - 1), button_list[b]) - { - button = button_list[b] - break - } - } - if (button != -4) - { - if (menu == 2) - { - if (global.button1 == button) - global.button1 = global.button0 - if (global.button2 == button) - global.button2 = global.button0 - global.button0 = button - } - else if (menu == 3) - { - if (global.button0 == button) - global.button0 = global.button1 - if (global.button2 == button) - global.button2 = global.button1 - global.button1 = button - } - else - { - if (global.button0 == button) - global.button0 = global.button2 - if (global.button1 == button) - global.button1 = global.button2 - global.button2 = button - } - buffer = 4 - } - } - var command = string_char_at("ZXC", (i + 1)) - var sprite = scr_getbuttonsprite(command, 0) - if (sprite != -4) - draw_sprite(sprite, 0, button_x, (100 + ((i + 1) * vspacing))) - } - if (r_buffer > 0) - { - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(r_line), 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) - } - else - { - if (menu != 5) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, ((100 + (3 * vspacing)) + 25), string_hash_to_newline(scr_gettext("joyconfig_reset"))) - } - if (menu == 5 && menu_engage == 1) - { - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = scr_gettext("joyconfig_spaghetted") - else - r_line = scr_gettext("joyconfig_resetted") - } - global.button0 = global.default_button0 - global.button1 = global.default_button1 - global.button2 = global.default_button2 - global.analog_sense = global.default_analog_sense - global.analog_sense_sense = global.default_analog_sense_sense - global.joy_dir = global.default_joy_dir - menu_engage = 0 - } - if (menu != 6) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - var border_label = scr_gettext("settings_border") - draw_text(20, ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_label)) - if (global.screen_border_id == 0) - var border_sel = scr_gettext("settings_border_none") - else if (global.screen_border_id == 11) - border_sel = scr_gettext(((("settings_border_" + string(global.screen_border_id)) + "_") + string(border_11))) - else - border_sel = scr_gettext(("settings_border_" + string(global.screen_border_id))) - draw_text(((20 + string_width(string_hash_to_newline(border_label))) + 20), ((100 + (3 * vspacing)) + 50), string_hash_to_newline(border_sel)) -} -else if (obj_time.j_ch > 0) -{ - if (menu != 2) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - draw_text(20, 100, string_hash_to_newline(scr_gettext("settings_joyconfig"))) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - ossafe_fill_rectangle((168 - rectile), -10, -1, 250) - draw_set_color(c_black) - ossafe_fill_rectangle((152 + rectile), -10, 330, 250) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} -if (global.osflavor <= 2 && menu == 2 && menu_engage == 1) -{ - jc = instance_create(0, 0, obj_joypadmenu) - jc.menu_engage = 0 - jc.buffer = buffer - jc.intro = intro - jc.rectile = rectile - jc.buffer = buffer - jc.weather = weather - jc.extreme = extreme - jc.extreme2 = extreme2 - jc.harp = harp - jc.weathermusic = weathermusic - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index 0210cdb97..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - scr_setfont(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), string_hash_to_newline((s_value[(i * 2)] + "G - Ninechara"))) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), string_hash_to_newline((s_value[((i * 2) + 1)] + "G - Ninechara"))) - } - draw_text(30, 210, string_hash_to_newline(scr_gettext("shop_exit_submenu"))) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if control_check_pressed(0) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - scr_setfont(fnt_maintext) - draw_text(55, 150, string_hash_to_newline((("Really sell Ninechara for " + string(value[sellpos])) + "G?"))) - draw_text(80, 180, string_hash_to_newline("Yes")) - draw_text(190, 180, string_hash_to_newline("No")) - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, string_hash_to_newline("(9999 G)")) - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (control_check_pressed(0) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_time_Create_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_time_Create_0.gml deleted file mode 100644 index 84fb4f418..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_time_Create_0.gml +++ /dev/null @@ -1,151 +0,0 @@ -if (os_type == os_windows) - global.osflavor = 1 -else if (os_type == os_ps4 || os_type == os_psvita) - global.osflavor = 4 -else if (os_type == os_switch_beta) - global.osflavor = 5 -else - global.osflavor = 2 -global.locale = ((os_get_language() + "_") + string_upper(os_get_region())) -if (global.osflavor >= 3) -{ - application_surface_enable(true) - application_surface_draw_enable(false) -} -if (os_type == os_switch_beta && (!variable_global_exists("switchlogin"))) - global.switchlogin = switch_accounts_select_account(1, 0, 0) -if (os_type == os_switch_beta) -{ - switch_controller_support_set_defaults() - switch_controller_support_set_singleplayer_only(1) - switch_controller_set_supported_styles(7) - missing_controller_timeout = 0 -} -global.savedata_async_id = -1 -global.savedata_async_load = 0 -global.savedata_error = 0 -global.savedata_debuginfo = "" -global.disable_os_pause = 0 -paused = 0 -idle = 0 -idle_time = 0 -up = 0 -down = 0 -left = 0 -right = 0 -quit = 0 -try_up = 0 -try_down = 0 -try_left = 0 -try_right = 0 -canquit = 1 -h_skip = 0 -j_xpos = 0 -j_ypos = 0 -j_dir = 0 -j_fr = 0 -j_fl = 0 -j_fu = 0 -j_fd = 0 -j_fr_p = 0 -j_fl_p = 0 -j_fu_p = 0 -j_fd_p = 0 -for (var i = 0; i < 12; i += 1) -{ - j_prev[i] = 0 - j_on[i] = 0 -} -global.button0 = 2 -global.button1 = 1 -global.button2 = 4 -global.analog_sense = 0.15 -global.analog_sense_sense = 0.01 -global.joy_dir = 0 -if (os_type == os_ps4 || os_type == os_psvita) -{ - if (substr(global.locale, 1, 2) == "ja") - { - global.button0 = 32770 - global.button1 = 32769 - } - else - { - global.button0 = 32769 - global.button1 = 32770 - } - global.button2 = 32772 -} -else if (os_type == os_switch_beta) -{ - global.button0 = 32770 - global.button1 = 32769 - global.button2 = 32772 -} -global.default_button0 = global.button0 -global.default_button1 = global.button1 -global.default_button2 = global.button2 -global.default_analog_sense = global.analog_sense -global.default_analog_sense_sense = global.analog_sense_sense -global.default_joy_dir = global.joy_dir -global.screen_border_id = 0 -global.screen_border_active = 0 -global.screen_border_alpha = 1 -global.screen_border_state = 0 -global.screen_border_dynamic_fade_id = 0 -global.screen_border_dynamic_fade_level = 0 -global.screen_border_activate_on_game_over = 0 -debug_r = 0 -debug_f = 0 -j1 = 0 -j2 = 0 -ja = 0 -j_ch = 0 -jt = 0 -if (global.osflavor >= 4) -{ - for (i = 0; i < gamepad_get_device_count(); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch == 0) - { - if (os_type == os_switch_beta) - { - if (switch_controller_support_show() == 0) - j_ch = (switch_controller_support_get_selected_id() + 1) - } - else - j_ch = 1 - } -} -spec_rtimer = 0 -global.endsong_loaded = 0 -control_init() -scr_kanatype_init() -if (!variable_global_exists("text_data_en")) - script_execute(textdata_en) -if (!variable_global_exists("text_data_ja")) - script_execute(textdata_ja) -if (os_type == os_switch_beta) - global.language = substr(switch_language_get_desired_language(), 1, 2) -else - global.language = substr(global.locale, 1, 2) -if (global.language != "ja") - global.language = "en" -if (!variable_global_exists("trophy_init_complete")) -{ - global.trophy_init_complete = 0 - trophy_ts = -1 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_time_Step_1.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_time_Step_1.gml deleted file mode 100644 index bca42138e..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_time_Step_1.gml +++ /dev/null @@ -1,400 +0,0 @@ -if (started <= 0) -{ - if (global.savedata_async_id >= 0) - return; - started = -1 - if (!trophy_init()) - { - if (trophy_ts < 0) - trophy_ts = current_time - return; - } - ossafe_ini_open("config.ini") - var lang = ini_read_string("General", "lang", "") - var sb_i = ini_read_real("General", "sb", -1) - var b0_i = ini_read_real("joypad1", "b0", -1) - var b1_i = ini_read_real("joypad1", "b1", -1) - var b2_i = ini_read_real("joypad1", "b2", -1) - var as_i = ini_read_real("joypad1", "as", -1) - var jd_i = ini_read_real("joypad1", "jd", -1) - if (string_length(lang) > 0) - global.language = lang - if (sb_i >= 0) - global.screen_border_id = sb_i - if (b0_i >= 0) - global.button0 = b0_i - if (b1_i >= 0) - global.button1 = b1_i - if (b2_i >= 0) - global.button2 = b2_i - if (as_i >= 0) - global.analog_sense = as_i - if (jd_i >= 0) - global.joy_dir = jd_i - ossafe_ini_close() - scr_enable_screen_border(global.osflavor >= 4) - if (global.osflavor >= 4) - { - global.analog_sense = 0.15 - if (os_type == os_psvita) - global.analog_sense = 0.9 - global.joy_dir = 0 - } - ossafe_ini_open("undertale.ini") - fskip = ini_read_real("FFFFF", "E", -1) - ftime = ini_read_real("FFFFF", "F", -1) - true_end = ini_read_real("EndF", "EndF", -1) - ossafe_ini_close() - sksk = 0 - if (ftime == 1) - { - sksk = 1 - room_goto(room_f_start) - } - if (true_end == 1 && sksk == 0) - { - sksk = 1 - room_goto(room_flowey_regret) - } - if (fskip >= 1 && sksk == 0) - { - global.filechoice = 8 - scr_load() - if (fskip == 1) - room_goto(room_flowey_endchoice) - if (fskip == 2) - room_goto(room_castle_exit) - } - else if (sksk == 0) - room_goto_next() - if (ossafe_file_exists("system_information_962") && (!ossafe_file_exists("system_information_963"))) - room_goto(room_nothingness) - started = 1 - return; -} -if (!paused) - time += 1 -if (global.osflavor <= 2) -{ - if (jt == 0) - { - if (j_ch != 2) - { - if joystick_exists(1) - j_ch = 1 - else if (j_ch == 1) - j_ch = 0 - } - } - if (jt == 4) - { - if (j_ch != 1) - { - if joystick_exists(2) - j_ch = 2 - else if (j_ch == 2) - j_ch = 0 - } - } - jt += 1 - if (jt >= 8) - jt = 0 -} -else if (os_type == os_switch_beta) -{ - if (j_ch > 0 && gamepad_is_connected((j_ch - 1))) - missing_controller_timeout = 0 - else - { - j_ch = 0 - for (var i = 0; (i < gamepad_get_device_count()); i++) - { - if gamepad_is_connected(i) - { - if (j_ch > 0) - { - j_ch = 0 - break - } - else - { - j_ch = (i + 1) - } - } - } - if (j_ch > 0) - missing_controller_timeout = 0 - else if (missing_controller_timeout == 0) - missing_controller_timeout = (current_time + 2000) - else if (current_time >= missing_controller_timeout) - { - if (switch_controller_support_show() == 0) - { - j_ch = (switch_controller_support_get_selected_id() + 1) - missing_controller_timeout = 0 - } - } - } -} -control_update() -if (j_ch > 0) -{ - j_fr_p = j_fr - j_fl_p = j_fl - j_fu_p = j_fu - j_fd_p = j_fd - j_fr = 0 - j_fl = 0 - j_fu = 0 - j_fd = 0 - if (global.osflavor >= 4) - { - if (gamepad_button_check((j_ch - 1), gp_padu) || gamepad_button_check((j_ch - 1), gp_padd) || gamepad_button_check((j_ch - 1), gp_padl) || gamepad_button_check((j_ch - 1), gp_padr)) - { - j_fu = gamepad_button_check((j_ch - 1), gp_padu) - j_fd = gamepad_button_check((j_ch - 1), gp_padd) - j_fl = gamepad_button_check((j_ch - 1), gp_padl) - j_fr = gamepad_button_check((j_ch - 1), gp_padr) - } - else if (global.joy_dir != 2) - { - var j_xpos = gamepad_axis_value((j_ch - 1), gp_axislh) - var j_ypos = gamepad_axis_value((j_ch - 1), gp_axislv) - var analog_sense = global.analog_sense - if (sqrt((sqr(j_xpos) + sqr(j_ypos))) >= analog_sense) - { - var angle = darctan2(j_ypos, j_xpos) - if (angle < 0) - angle += 360 - if (angle < 67.5 || angle > 292.5) - j_fr = 1 - if (angle > 22.5 && angle < 157.5) - j_fd = 1 - if (angle > 112.5 && angle < 247.5) - j_fl = 1 - if (angle > 202.5 && angle < 337.5) - j_fu = 1 - } - } - } - else - { - if (global.joy_dir == 0 || global.joy_dir == 1) - { - j_xpos = joystick_xpos(j_ch) - j_ypos = joystick_ypos(j_ch) - } - j_dir = joystick_direction(j_ch) - if (global.joy_dir == 0 || global.joy_dir == 1) - { - if (j_dir == 101) - { - if (j_xpos >= global.analog_sense) - j_fr = 1 - if (j_xpos <= (-global.analog_sense)) - j_fl = 1 - if (j_ypos >= global.analog_sense) - j_fd = 1 - if (j_ypos <= (-global.analog_sense)) - j_fu = 1 - } - } - if (j_dir != 101) - { - if (j_dir == 100) - j_fl = 1 - if (j_dir == 98) - j_fd = 1 - if (j_dir == 102) - j_fr = 1 - if (j_dir == 104) - j_fu = 1 - if (j_dir == 99) - { - j_fr = 1 - j_fd = 1 - } - if (j_dir == 97) - { - j_fd = 1 - j_fl = 1 - } - if (j_dir == 103) - { - j_fu = 1 - j_fl = 1 - } - if (j_dir == 105) - { - j_fu = 1 - j_fr = 1 - } - } - if (global.joy_dir == 0 || global.joy_dir == 2) - { - j_pov = joystick_pov(j_ch) - if (j_pov == 0) - j_fu = 1 - if (j_pov == 270) - j_fl = 1 - if (j_pov == 90) - j_fr = 1 - if (j_pov == 180) - j_fd = 1 - if (j_pov == 315) - { - j_fu = 1 - j_fl = 1 - } - if (j_pov == 45) - { - j_fu = 1 - j_fr = 1 - } - if (j_pov == 225) - { - j_fd = 1 - j_fl = 1 - } - if (j_pov == 135) - { - j_fd = 1 - j_fr = 1 - } - } - } - if (j_fr != j_fr_p && j_fr == 1) - keyboard_key_press(vk_right) - if (j_fl != j_fl_p && j_fl == 1) - keyboard_key_press(vk_left) - if (j_fd != j_fd_p && j_fd == 1) - keyboard_key_press(vk_down) - if (j_fu != j_fu_p && j_fu == 1) - keyboard_key_press(vk_up) - if (j_fr != j_fr_p && j_fr == 0) - keyboard_key_release(vk_right) - if (j_fl != j_fl_p && j_fl == 0) - keyboard_key_release(vk_left) - if (j_fd != j_fd_p && j_fd == 0) - keyboard_key_release(vk_down) - if (j_fu != j_fu_p && j_fu == 0) - keyboard_key_release(vk_up) -} -up = 0 -down = 0 -left = 0 -right = 0 -if keyboard_check(vk_up) - try_up = 1 -if keyboard_check_released(vk_up) - try_up = 0 -if keyboard_check(vk_down) - try_down = 1 -if keyboard_check_released(vk_down) - try_down = 0 -if keyboard_check(vk_right) - try_right = 1 -if keyboard_check_released(vk_right) - try_right = 0 -if keyboard_check(vk_left) - try_left = 1 -if keyboard_check_released(vk_left) - try_left = 0 -if (global.osflavor == 1) -{ - if try_up - up = keyboard_check_direct(vk_up) - if try_down - down = keyboard_check_direct(vk_down) - if try_left - left = keyboard_check_direct(vk_left) - if try_right - right = keyboard_check_direct(vk_right) -} -else -{ - if try_up - up = keyboard_check(vk_up) - if try_down - down = keyboard_check(vk_down) - if try_left - left = keyboard_check(vk_left) - if try_right - right = keyboard_check(vk_right) -} -if keyboard_check_released(vk_up) - up = 0 -if keyboard_check_released(vk_down) - down = 0 -if keyboard_check_released(vk_left) - left = 0 -if keyboard_check_released(vk_right) - right = 0 -var now_idle = (!(up || down || left || right || control_check(0) || control_check(1) || control_check(2))) -if (now_idle && (!idle)) - idle_time = current_time -idle = now_idle -if control_check(2) -{ - if (global.flag[28] == 1) - { - if (instance_exists(OBJ_WRITER) && (!instance_exists(obj_choicer))) - { - if (h_skip == 0) - { - keyboard_key_press(ord("X")) - keyboard_key_press(ord("Z")) - } - if (h_skip == 1) - { - keyboard_key_release(ord("Z")) - keyboard_key_release(ord("X")) - } - if (h_skip == 0) - h_skip = 1 - else - h_skip = 0 - } - } -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("F")) - room_speed = 200 -} -if (global.debug == 1) -{ - if keyboard_check_pressed(ord("W")) - room_speed = 10 -} -if keyboard_check_pressed(vk_f4) -{ - if window_get_fullscreen() - window_set_fullscreen(false) - else - window_set_fullscreen(true) -} -if (canquit == 1) -{ - if (global.debug == 1) - { - if (keyboard_check_pressed(ord("R")) && instance_exists(obj_essaystuff) == 0) - { - debug_r += 1 - if (debug_r > 5) - game_restart() - spec_rtimer = 1 - } - } - spec_rtimer += 1 - if (spec_rtimer >= 6) - debug_r = 0 - if keyboard_check(vk_escape) - { - quit += 1 - if (instance_exists(obj_quittingmessage) == 0) - instance_create(0, 0, obj_quittingmessage) - } - else - quit = 0 -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index 887b086f9..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = "0" - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - return; - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index ee7a4ca81..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6623 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\\XLa, la.^3 &Time to wake&up and\\R smell\\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = "\\W" - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\\Y" - if (global.flag[22] == 2) - adder = "\\p" - } - global.msg[0] = adder - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += scr_gettext("battle_name_a") - } - global.msg[0] += "\\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += scr_gettext("battle_name_b") - } - global.msg[0] += "\\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\\p" - global.msg[0] += (scr_gettext("battle_name_header") + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += scr_gettext("battle_name_c") - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = "" - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\\Y" - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\\p" - } - } - global.msg[0] += scr_gettext("battle_mercy_spare") - if (global.mercy == 0) - global.msg[0] += (" &\\W" + scr_gettext("battle_mercy_flee")) - break - case 9: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[0]) - if (global.item[1] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[1]) - global.msg[0] += "&" - if (global.item[2] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[2]) - if (global.item[3] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[3]) - global.msg[0] += ("&" + scr_gettext("item_menub_page1")) - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = (scr_gettext("item_menub_header") + global.itemnameb[4]) - if (global.item[5] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[5]) - global.msg[0] += "&" - if (global.item[6] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[6]) - if (global.item[7] != 0) - global.msg[0] += (scr_gettext("item_menub_header") + global.itemnameb[7]) - global.msg[0] += ("&" + scr_gettext("item_menub_page2")) - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += scr_gettext("recover_hp", string(global.item[8])) - else - global.msg[0] += scr_gettext("recover_hp_max") - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = scr_gettext("SCR_TEXT_99") - if (i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_100") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_102") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_103") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_104") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = scr_gettext("SCR_TEXT_111") - if (i == 2) - global.msg[0] = scr_gettext("SCR_TEXT_112") - if (i > 3) - global.msg[0] = scr_gettext("SCR_TEXT_113") - if (i == 3) - global.msg[0] = scr_gettext("SCR_TEXT_114") - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_121", string(global.xpreward[3]), string(global.goldreward[3])) - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = scr_gettext("SCR_TEXT_127") - global.msg[1] = scr_gettext("SCR_TEXT_128") - } - if (room == room_ruins7) - { - global.msg[0] = scr_gettext("SCR_TEXT_129") - global.msg[1] = scr_gettext("SCR_TEXT_130") - } - if (room == room_ruins12A) - { - global.msg[0] = scr_gettext("SCR_TEXT_131") - global.msg[1] = scr_gettext("SCR_TEXT_132") - } - if (room == room_ruins19) - global.msg[0] = scr_gettext("SCR_TEXT_133") - if (global.flag[202] >= 20) - global.msg[0] = scr_gettext("SCR_TEXT_134") - if (room == room_tundra1) - global.msg[0] = scr_gettext("SCR_TEXT_135") - if (room == room_tundra3) - global.msg[0] = scr_gettext("SCR_TEXT_136") - if (room == room_tundra_spaghetti) - { - global.msg[0] = scr_gettext("SCR_TEXT_137") - global.msg[1] = scr_gettext("SCR_TEXT_138") - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = scr_gettext("SCR_TEXT_140") - global.msg[1] = scr_gettext("SCR_TEXT_141") - if (global.flag[55] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_142") - global.msg[1] = scr_gettext("SCR_TEXT_143") - } - } - if (room == room_tundra_town) - global.msg[0] = scr_gettext("SCR_TEXT_144") - if (room == room_water2) - global.msg[0] = scr_gettext("SCR_TEXT_145") - if (room == room_water4) - global.msg[0] = scr_gettext("SCR_TEXT_146") - if (room == room_water_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_147") - global.msg[1] = scr_gettext("SCR_TEXT_148") - } - if (room == room_water_preundyne) - { - global.msg[0] = scr_gettext("SCR_TEXT_150") - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_151") - global.msg[1] = scr_gettext("SCR_TEXT_152") - } - if (room == room_water_trashzone2) - global.msg[0] = scr_gettext("SCR_TEXT_153") - if (room == room_water_trashsavepoint) - { - global.msg[0] = scr_gettext("SCR_TEXT_156") - global.msg[1] = scr_gettext("SCR_TEXT_157") - global.msg[2] = scr_gettext("SCR_TEXT_158") - global.msg[3] = scr_gettext("SCR_TEXT_159") - global.msg[4] = scr_gettext("SCR_TEXT_160") - if (global.flag[91] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_161") - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = scr_gettext("SCR_TEXT_164") - if (room == room_water_temvillage) - global.msg[0] = scr_gettext("SCR_TEXT_165") - if (room == room_water_undynefinal) - { - global.msg[0] = scr_gettext("SCR_TEXT_168") - if (global.flag[99] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_169") - if (global.flag[350] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_170") - } - if (room == room_fire_prelab) - { - global.msg[0] = scr_gettext("SCR_TEXT_174") - global.msg[1] = scr_gettext("SCR_TEXT_175") - } - if (room == room_fire6) - global.msg[0] = scr_gettext("SCR_TEXT_180") - if (room == room_fire_savepoint1) - { - global.msg[0] = scr_gettext("SCR_TEXT_184") - global.msg[1] = scr_gettext("SCR_TEXT_185") - } - if (room == room_fire_mewmew2) - { - global.msg[0] = scr_gettext("SCR_TEXT_187") - global.msg[1] = scr_gettext("SCR_TEXT_188") - } - if (room == room_fire_hotelfront_1) - global.msg[0] = scr_gettext("SCR_TEXT_191") - if (room == room_fire_hotellobby) - global.msg[0] = scr_gettext("SCR_TEXT_195") - if (room == room_fire_core_branch) - global.msg[0] = scr_gettext("SCR_TEXT_199") - if (room == room_fire_core_premett) - { - global.msg[0] = scr_gettext("SCR_TEXT_203") - global.msg[1] = scr_gettext("SCR_TEXT_204") - } - if (room == room_fire_savepoint2) - { - global.msg[0] = scr_gettext("SCR_TEXT_208") - global.msg[1] = scr_gettext("SCR_TEXT_209") - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_store1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_store2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_store3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = scr_gettext("item_box_take1", global.itemname[global.menucoord[6]]) - if (i > 12) - global.msg[0] = scr_gettext("item_box_take2", global.itemname[global.menucoord[6]]) - if (i > 13) - global.msg[0] = scr_gettext("item_box_take3", global.itemname[global.menucoord[6]]) - global.msg[0] += "/%" - break - case 18: - global.msg[0] = scr_gettext("item_full_inventory") - break - case 19: - global.msg[0] = scr_gettext("item_full_box") - break - case 23: - global.msg[0] = scr_gettext("SCR_TEXT_242") - break - case 30: - global.msg[0] = scr_gettext("SCR_TEXT_246") - global.msg[1] = scr_gettext("SCR_TEXT_247") - global.msg[2] = scr_gettext("SCR_TEXT_248") - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = scr_gettext("SCR_TEXT_270") - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = scr_gettext("SCR_TEXT_275") - if (gx == 1) - global.msg[0] = scr_gettext("SCR_TEXT_276") - if (gx == 2) - global.msg[0] = scr_gettext("SCR_TEXT_277") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_282") - break - case 200: - global.msg[0] = scr_gettext("SCR_TEXT_291") - global.msg[1] = scr_gettext("SCR_TEXT_292") - global.msg[2] = scr_gettext("SCR_TEXT_293") - global.msg[3] = scr_gettext("SCR_TEXT_294") - global.msg[4] = scr_gettext("SCR_TEXT_295") - global.msg[5] = scr_gettext("SCR_TEXT_296") - global.msg[6] = scr_gettext("SCR_TEXT_297") - break - case 201: - global.msg[0] = scr_gettext("SCR_TEXT_301") - global.msg[1] = scr_gettext("SCR_TEXT_302") - break - case 202: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 203: - global.msg[0] = scr_gettext("SCR_TEXT_311") - global.msg[1] = scr_gettext("SCR_TEXT_312") - global.msg[2] = scr_gettext("SCR_TEXT_313") - global.msg[3] = scr_gettext("SCR_TEXT_314") - break - case 204: - global.msg[0] = scr_gettext("SCR_TEXT_318") - global.msg[1] = scr_gettext("SCR_TEXT_319") - if (global.flag[6] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_322") - global.msg[2] = scr_gettext("SCR_TEXT_323") - global.msg[3] = scr_gettext("SCR_TEXT_324") - global.msg[4] = scr_gettext("SCR_TEXT_325") - } - break - case 205: - global.msg[0] = scr_gettext("SCR_TEXT_330") - break - case 206: - global.msg[0] = scr_gettext("SCR_TEXT_334") - global.msg[1] = scr_gettext("SCR_TEXT_335") - break - case 207: - global.msg[0] = scr_gettext("SCR_TEXT_339") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_342") - break - case 208: - global.msg[0] = scr_gettext("SCR_TEXT_347") - global.msg[1] = scr_gettext("SCR_TEXT_348") - if (global.flag[6] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_352") - break - case 209: - global.msg[0] = scr_gettext("SCR_TEXT_357") - global.msg[1] = scr_gettext("SCR_TEXT_358") - break - case 210: - global.msg[0] = scr_gettext("SCR_TEXT_362") - global.msg[1] = scr_gettext("SCR_TEXT_363") - break - case 211: - global.msg[0] = scr_gettext("SCR_TEXT_367") - global.msg[1] = scr_gettext("SCR_TEXT_368") - global.msg[2] = scr_gettext("SCR_TEXT_369") - global.msg[3] = scr_gettext("SCR_TEXT_370") - global.msg[4] = scr_gettext("SCR_TEXT_371") - global.msg[5] = scr_gettext("SCR_TEXT_372") - global.msg[6] = scr_gettext("SCR_TEXT_373") - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_379") - global.msg[1] = scr_gettext("SCR_TEXT_380") - } - if (global.flag[10] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_384") - if (global.flag[11] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_388") - global.msg[1] = scr_gettext("SCR_TEXT_389") - global.msg[2] = scr_gettext("SCR_TEXT_390") - global.msg[3] = scr_gettext("SCR_TEXT_391") - global.msg[4] = scr_gettext("SCR_TEXT_392") - global.msg[5] = scr_gettext("SCR_TEXT_393") - global.msg[6] = scr_gettext("SCR_TEXT_394") - } - if (global.flag[13] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_398") - global.msg[1] = scr_gettext("SCR_TEXT_399") - global.msg[2] = scr_gettext("SCR_TEXT_400") - } - break - case 213: - global.msg[0] = scr_gettext("SCR_TEXT_405") - global.msg[1] = scr_gettext("SCR_TEXT_406") - break - case 214: - global.msg[0] = scr_gettext("SCR_TEXT_411") - global.msg[1] = scr_gettext("SCR_TEXT_412") - global.msg[2] = scr_gettext("SCR_TEXT_413") - global.msg[3] = scr_gettext("SCR_TEXT_414") - global.msg[4] = scr_gettext("SCR_TEXT_415") - global.msg[5] = scr_gettext("SCR_TEXT_416") - global.msg[6] = scr_gettext("SCR_TEXT_417") - global.msg[7] = scr_gettext("SCR_TEXT_418") - global.msg[8] = scr_gettext("SCR_TEXT_419") - break - case 215: - global.msg[0] = scr_gettext("SCR_TEXT_423") - global.msg[1] = scr_gettext("SCR_TEXT_424") - break - case 216: - global.msg[0] = scr_gettext("SCR_TEXT_428") - global.msg[1] = scr_gettext("SCR_TEXT_429") - break - case 217: - global.msg[0] = scr_gettext("SCR_TEXT_433") - global.msg[1] = scr_gettext("SCR_TEXT_434") - break - case 218: - global.msg[0] = scr_gettext("SCR_TEXT_438") - break - case 219: - global.msg[0] = scr_gettext("SCR_TEXT_442") - break - case 220: - global.msg[0] = scr_gettext("SCR_TEXT_446") - global.msg[1] = scr_gettext("SCR_TEXT_447") - global.msg[2] = scr_gettext("SCR_TEXT_448") - global.msg[3] = scr_gettext("SCR_TEXT_449") - global.msg[4] = scr_gettext("SCR_TEXT_450") - global.msg[5] = scr_gettext("SCR_TEXT_451") - global.msg[6] = scr_gettext("SCR_TEXT_452") - global.msg[7] = scr_gettext("SCR_TEXT_453") - global.msg[8] = scr_gettext("SCR_TEXT_454") - global.msg[9] = scr_gettext("SCR_TEXT_455") - break - case 221: - global.msg[0] = scr_gettext("SCR_TEXT_459") - global.msg[1] = scr_gettext("SCR_TEXT_460") - global.msg[2] = scr_gettext("SCR_TEXT_461") - global.msg[3] = scr_gettext("SCR_TEXT_462") - global.msg[4] = scr_gettext("SCR_TEXT_463") - break - case 222: - global.msg[0] = scr_gettext("SCR_TEXT_467") - global.msg[1] = scr_gettext("SCR_TEXT_468") - global.msg[2] = scr_gettext("SCR_TEXT_469") - global.msg[3] = scr_gettext("SCR_TEXT_470") - global.msg[4] = scr_gettext("SCR_TEXT_471") - global.msg[5] = scr_gettext("SCR_TEXT_472") - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ossafe_ini_close() - ossafe_savedata_save() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ossafe_ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ossafe_ini_close() - ossafe_savedata_save() - } - global.msg[0] = scr_gettext("SCR_TEXT_490") - global.msg[1] = scr_gettext("SCR_TEXT_491") - global.msg[2] = scr_gettext("SCR_TEXT_492") - global.msg[5] = scr_gettext("SCR_TEXT_493") - break - case 224: - global.msg[0] = scr_gettext("SCR_TEXT_497") - global.msg[1] = scr_gettext("SCR_TEXT_498") - global.msg[2] = scr_gettext("SCR_TEXT_499") - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_511") - global.msg[1] = scr_gettext("SCR_TEXT_512") - global.msg[2] = scr_gettext("SCR_TEXT_513") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_516") - global.msg[1] = scr_gettext("SCR_TEXT_517") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_522") - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_529") - if (global.flag[56] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_533") - global.msg[1] = scr_gettext("SCR_TEXT_534") - global.msg[2] = scr_gettext("SCR_TEXT_535") - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_540") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_545") - global.msg[1] = scr_gettext("SCR_TEXT_546") - global.msg[2] = scr_gettext("SCR_TEXT_547") - global.msg[3] = scr_gettext("SCR_TEXT_548") - global.msg[4] = scr_gettext("SCR_TEXT_549") - } - } - if (global.flag[56] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_554") - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_559") - scr_itemget(16) - if (noroom == 1) - global.msg[2] = scr_gettext("SCR_TEXT_563") - else - { - global.msg[2] = scr_gettext("SCR_TEXT_567") - global.msg[3] = scr_gettext("SCR_TEXT_568") - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_576") - global.msg[1] = scr_gettext("SCR_TEXT_577") - global.msg[2] = scr_gettext("SCR_TEXT_578") - global.msg[3] = scr_gettext("SCR_TEXT_579") - global.msg[4] = scr_gettext("SCR_TEXT_580") - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_590") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_593") - global.msg[1] = scr_gettext("SCR_TEXT_594") - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_600") - break - case 228: - global.msg[0] = scr_gettext("SCR_TEXT_605") - if (global.flag[254] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_606") - scr_sansface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_608") - global.msg[3] = scr_gettext("SCR_TEXT_609") - scr_papface(4, 1) - global.msg[5] = scr_gettext("SCR_TEXT_611") - global.msg[6] = scr_gettext("SCR_TEXT_612") - global.msg[7] = scr_gettext("SCR_TEXT_613") - global.msg[8] = scr_gettext("SCR_TEXT_614") - scr_sansface(9, 0) - global.msg[10] = scr_gettext("SCR_TEXT_616") - global.msg[11] = scr_gettext("SCR_TEXT_617") - scr_papface(12, 3) - global.msg[13] = scr_gettext("SCR_TEXT_619") - global.msg[14] = scr_gettext("SCR_TEXT_620") - global.msg[15] = scr_gettext("SCR_TEXT_621") - global.msg[16] = scr_gettext("SCR_TEXT_622") - global.msg[17] = scr_gettext("SCR_TEXT_623") - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_631") - global.msg[2] = scr_gettext("SCR_TEXT_632") - global.msg[3] = scr_gettext("SCR_TEXT_633") - global.msg[4] = scr_gettext("SCR_TEXT_634") - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_639") - global.msg[2] = scr_gettext("SCR_TEXT_640") - global.msg[3] = scr_gettext("SCR_TEXT_641") - global.msg[4] = scr_gettext("SCR_TEXT_642") - global.msg[5] = scr_gettext("SCR_TEXT_643") - global.msg[6] = scr_gettext("SCR_TEXT_644") - global.msg[7] = scr_gettext("SCR_TEXT_645") - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_654") - global.msg[1] = scr_gettext("SCR_TEXT_655") - global.msg[2] = scr_gettext("SCR_TEXT_656") - global.msg[3] = scr_gettext("SCR_TEXT_657") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_661") - global.msg[1] = scr_gettext("SCR_TEXT_662") - global.msg[2] = scr_gettext("SCR_TEXT_663") - global.msg[3] = scr_gettext("SCR_TEXT_664") - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_682") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_684") - global.msg[1] = scr_gettext("SCR_TEXT_685") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_688") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_691") - global.msg[1] = scr_gettext("SCR_TEXT_692") - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_704") - global.msg[1] = scr_gettext("SCR_TEXT_705") - global.msg[2] = scr_gettext("SCR_TEXT_706") - global.msg[3] = scr_gettext("SCR_TEXT_707") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_711") - global.msg[1] = scr_gettext("SCR_TEXT_712") - global.msg[2] = scr_gettext("SCR_TEXT_713") - global.msg[3] = scr_gettext("SCR_TEXT_714") - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_721") - global.msg[1] = scr_gettext("SCR_TEXT_722") - global.msg[2] = scr_gettext("SCR_TEXT_723") - global.msg[3] = scr_gettext("SCR_TEXT_724") - } - if (global.flag[60] >= 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_728") - global.msg[1] = scr_gettext("SCR_TEXT_729") - global.msg[2] = scr_gettext("SCR_TEXT_730") - global.msg[3] = scr_gettext("SCR_TEXT_731") - } - } - if (itemcount > 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_736") - global.msg[1] = scr_gettext("SCR_TEXT_737") - global.msg[2] = scr_gettext("SCR_TEXT_738") - global.msg[3] = scr_gettext("SCR_TEXT_739") - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_777") - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_779") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_781") - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_784") - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = scr_gettext("SCR_TEXT_803") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_809") - global.msg[1] = scr_gettext("SCR_TEXT_810") - } - break - case 235: - global.msg[0] = scr_gettext("SCR_TEXT_815") - global.msg[1] = scr_gettext("SCR_TEXT_816") - global.msg[2] = scr_gettext("SCR_TEXT_817") - break - case 236: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_823") - global.msg[1] = scr_gettext("SCR_TEXT_824") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_828") - global.msg[1] = scr_gettext("SCR_TEXT_829") - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_836") - global.msg[1] = scr_gettext("SCR_TEXT_837") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_841") - global.msg[1] = scr_gettext("SCR_TEXT_842") - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_849") - global.msg[1] = scr_gettext("SCR_TEXT_850") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_854") - break - case 239: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_861") - global.msg[1] = scr_gettext("SCR_TEXT_862") - global.msg[2] = scr_gettext("SCR_TEXT_863") - if (global.gold >= 50000) - { - global.msg[0] = scr_gettext("SCR_TEXT_867") - global.msg[1] = scr_gettext("SCR_TEXT_868") - global.msg[2] = scr_gettext("SCR_TEXT_869") - global.msg[3] = scr_gettext("SCR_TEXT_870") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_875") - break - case 240: - global.msg[0] = scr_gettext("SCR_TEXT_880") - global.msg[1] = scr_gettext("SCR_TEXT_881") - global.msg[2] = scr_gettext("SCR_TEXT_882") - global.msg[3] = scr_gettext("SCR_TEXT_883") - global.msg[4] = scr_gettext("SCR_TEXT_884") - global.msg[5] = scr_gettext("SCR_TEXT_885") - break - case 241: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_890") - if (global.choice == 0) - { - global.msg[2] = scr_gettext("SCR_TEXT_893") - global.msg[3] = scr_gettext("SCR_TEXT_894") - global.msg[4] = scr_gettext("SCR_TEXT_895") - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_900") - global.msg[3] = scr_gettext("SCR_TEXT_901") - global.msg[4] = scr_gettext("SCR_TEXT_902") - global.flag[62] = 2 - } - global.msg[5] = scr_gettext("SCR_TEXT_905") - global.msg[6] = scr_gettext("SCR_TEXT_906") - global.msg[7] = scr_gettext("SCR_TEXT_907") - break - case 243: - global.msg[0] = scr_gettext("SCR_TEXT_911") - global.msg[1] = scr_gettext("SCR_TEXT_912") - global.msg[2] = scr_gettext("SCR_TEXT_913") - global.msg[3] = scr_gettext("SCR_TEXT_914") - global.msg[4] = scr_gettext("SCR_TEXT_915") - global.msg[5] = scr_gettext("SCR_TEXT_916") - global.msg[6] = scr_gettext("SCR_TEXT_917") - global.msg[7] = scr_gettext("SCR_TEXT_918") - global.msg[8] = scr_gettext("SCR_TEXT_919") - global.msg[9] = scr_gettext("SCR_TEXT_920") - global.msg[10] = scr_gettext("SCR_TEXT_921") - global.msg[11] = scr_gettext("SCR_TEXT_922") - global.msg[12] = scr_gettext("SCR_TEXT_923") - global.msg[13] = scr_gettext("SCR_TEXT_924") - global.msg[14] = scr_gettext("SCR_TEXT_925") - global.msg[15] = scr_gettext("SCR_TEXT_926") - global.msg[16] = scr_gettext("SCR_TEXT_927") - global.msg[17] = scr_gettext("SCR_TEXT_928") - global.msg[18] = scr_gettext("SCR_TEXT_929") - global.msg[19] = scr_gettext("SCR_TEXT_930") - global.msg[20] = scr_gettext("SCR_TEXT_931") - global.msg[21] = scr_gettext("SCR_TEXT_932") - global.msg[22] = scr_gettext("SCR_TEXT_933") - global.msg[23] = scr_gettext("SCR_TEXT_934") - global.msg[24] = scr_gettext("SCR_TEXT_935") - global.msg[25] = scr_gettext("SCR_TEXT_936") - global.msg[26] = scr_gettext("SCR_TEXT_937") - global.msg[27] = scr_gettext("SCR_TEXT_938") - global.msg[28] = scr_gettext("SCR_TEXT_939") - global.msg[29] = scr_gettext("SCR_TEXT_940") - global.msg[30] = scr_gettext("SCR_TEXT_941") - global.msg[31] = scr_gettext("SCR_TEXT_942") - global.msg[32] = scr_gettext("SCR_TEXT_943") - global.msg[33] = scr_gettext("SCR_TEXT_944") - global.msg[34] = scr_gettext("SCR_TEXT_945") - global.msg[35] = scr_gettext("SCR_TEXT_946") - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_953") - global.msg[2] = scr_gettext("SCR_TEXT_954") - global.msg[3] = scr_gettext("SCR_TEXT_955") - global.msg[4] = scr_gettext("SCR_TEXT_956") - global.msg[5] = scr_gettext("SCR_TEXT_957") - global.msg[6] = scr_gettext("SCR_TEXT_958") - global.msg[7] = scr_gettext("SCR_TEXT_959") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_965") - global.msg[2] = scr_gettext("SCR_TEXT_966") - global.msg[3] = scr_gettext("SCR_TEXT_967") - global.msg[4] = scr_gettext("SCR_TEXT_968") - global.msg[5] = scr_gettext("SCR_TEXT_969") - global.msg[6] = scr_gettext("SCR_TEXT_970") - global.msg[7] = scr_gettext("SCR_TEXT_971") - global.msg[8] = scr_gettext("SCR_TEXT_972") - global.msg[9] = scr_gettext("SCR_TEXT_973") - global.msg[10] = scr_gettext("SCR_TEXT_974") - global.msg[11] = scr_gettext("SCR_TEXT_975") - global.msg[12] = scr_gettext("SCR_TEXT_976") - global.msg[13] = scr_gettext("SCR_TEXT_977") - global.msg[14] = scr_gettext("SCR_TEXT_978") - global.msg[15] = scr_gettext("SCR_TEXT_979") - global.msg[16] = scr_gettext("SCR_TEXT_980") - global.msg[17] = scr_gettext("SCR_TEXT_981") - global.msg[18] = scr_gettext("SCR_TEXT_982") - global.msg[19] = scr_gettext("SCR_TEXT_983") - global.msg[20] = scr_gettext("SCR_TEXT_984") - global.msg[21] = scr_gettext("SCR_TEXT_985") - global.msg[22] = scr_gettext("SCR_TEXT_986") - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_994") - global.msg[2] = scr_gettext("SCR_TEXT_995") - global.msg[3] = scr_gettext("SCR_TEXT_996") - global.msg[4] = scr_gettext("SCR_TEXT_997") - global.msg[5] = scr_gettext("SCR_TEXT_998") - global.msg[6] = scr_gettext("SCR_TEXT_999") - global.msg[7] = scr_gettext("SCR_TEXT_1000") - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1006") - global.msg[2] = scr_gettext("SCR_TEXT_1007") - global.msg[3] = scr_gettext("SCR_TEXT_1008") - global.msg[4] = scr_gettext("SCR_TEXT_1009") - global.msg[5] = scr_gettext("SCR_TEXT_1010") - global.msg[6] = scr_gettext("SCR_TEXT_1011") - global.msg[7] = scr_gettext("SCR_TEXT_1012") - global.msg[8] = scr_gettext("SCR_TEXT_1013") - global.msg[9] = scr_gettext("SCR_TEXT_1014") - global.msg[10] = scr_gettext("SCR_TEXT_1015") - global.msg[11] = scr_gettext("SCR_TEXT_1016") - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1024") - global.msg[1] = scr_gettext("SCR_TEXT_1025") - global.msg[2] = scr_gettext("SCR_TEXT_1026") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1029") - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1045") - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1048") - global.msg[1] = scr_gettext("SCR_TEXT_1049") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1053") - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1060") - global.msg[1] = scr_gettext("SCR_TEXT_1061") - global.msg[2] = scr_gettext("SCR_TEXT_1062") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1065") - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1081") - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1084") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1088") - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = scr_gettext("SCR_TEXT_1096", card) - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1097", card) - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1098", card) - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1099", card) - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1100", card) - global.msg[1] = scr_gettext("SCR_TEXT_1101") - global.msg[2] = scr_gettext("SCR_TEXT_1102") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1105") - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1120") - if (global.flag[80] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_1121") - if (global.flag[80] > 4) - global.msg[0] = scr_gettext("SCR_TEXT_1122") - if (global.flag[80] > 6) - global.msg[0] = scr_gettext("SCR_TEXT_1123") - if (global.flag[80] > 12) - global.msg[0] = scr_gettext("SCR_TEXT_1124") - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1127") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1131") - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1139") - global.msg[1] = scr_gettext("SCR_TEXT_1140") - global.msg[2] = scr_gettext("SCR_TEXT_1141") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1144") - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1160") - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1163") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1167") - break - case 254: - global.msg[0] = scr_gettext("SCR_TEXT_1172") - global.msg[1] = scr_gettext("SCR_TEXT_1173") - global.msg[2] = scr_gettext("SCR_TEXT_1174") - if (global.flag[85] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1177") - break - case 255: - global.msg[0] = scr_gettext("SCR_TEXT_1182") - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1197") - global.msg[1] = scr_gettext("SCR_TEXT_1198") - global.msg[2] = scr_gettext("SCR_TEXT_1199") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1202") - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1221") - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1224") - if (noroom == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1225") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1229") - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1237") - global.msg[1] = scr_gettext("SCR_TEXT_1238") - global.msg[2] = scr_gettext("SCR_TEXT_1239") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1242") - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1258") - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1261") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1265") - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1273") - global.msg[1] = scr_gettext("SCR_TEXT_1274") - global.msg[2] = scr_gettext("SCR_TEXT_1275") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1278") - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1294") - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1297") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1301") - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1308") - global.msg[1] = scr_gettext("SCR_TEXT_1309") - global.msg[2] = scr_gettext("SCR_TEXT_1310") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1313") - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1329") - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1332") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1336") - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1343") - global.msg[1] = scr_gettext("SCR_TEXT_1344") - global.msg[2] = scr_gettext("SCR_TEXT_1345") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1348") - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1363") - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1366") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1370") - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1378") - global.msg[1] = scr_gettext("SCR_TEXT_1379") - global.msg[2] = scr_gettext("SCR_TEXT_1380") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1383") - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1393") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1397") - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = scr_gettext("SCR_TEXT_1406") - else - global.msg[0] = scr_gettext("SCR_TEXT_1408") - global.msg[1] = scr_gettext("SCR_TEXT_1409") - global.msg[2] = scr_gettext("SCR_TEXT_1410") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1413") - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1431") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1432") - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1435") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1439") - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1446") - global.msg[1] = scr_gettext("SCR_TEXT_1447") - global.msg[2] = scr_gettext("SCR_TEXT_1448") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1451") - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1470") - if (scr_murderlv() >= 16) - global.msg[0] = scr_gettext("SCR_TEXT_1471") - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1474") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1478") - break - case 272: - global.msg[0] = scr_gettext("SCR_TEXT_1483") - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1492") - global.msg[1] = scr_gettext("SCR_TEXT_1493") - global.msg[2] = scr_gettext("SCR_TEXT_1494") - global.msg[3] = scr_gettext("SCR_TEXT_1495") - } - if (global.flag[250] >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1499") - global.msg[1] = scr_gettext("SCR_TEXT_1500") - global.msg[2] = scr_gettext("SCR_TEXT_1501") - global.msg[3] = scr_gettext("SCR_TEXT_1502") - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1520") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1522") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1525") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1528") - global.msg[1] = scr_gettext("SCR_TEXT_1529") - } - break - case 500: - global.msg[0] = scr_gettext("SCR_TEXT_1535") - global.msg[1] = scr_gettext("SCR_TEXT_1536") - break - case 501: - global.msg[0] = scr_gettext("SCR_TEXT_1540") - break - case 502: - global.msg[0] = scr_gettext("SCR_TEXT_1544") - break - case 503: - global.msg[0] = scr_gettext("SCR_TEXT_1548") - break - case 504: - global.msg[0] = scr_gettext("SCR_TEXT_1552") - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1562") - global.msg[1] = scr_gettext("SCR_TEXT_1563") - global.msg[2] = scr_gettext("SCR_TEXT_1564") - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1569") - global.msg[1] = scr_gettext("SCR_TEXT_1570") - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1575") - global.msg[1] = scr_gettext("SCR_TEXT_1576") - } - if (conversation == 9) - global.msg[0] = scr_gettext("SCR_TEXT_1579") - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_1583") - global.msg[1] = scr_gettext("SCR_TEXT_1584") - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1589") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1592") - global.msg[1] = scr_gettext("SCR_TEXT_1593") - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_1603") - if (global.flag[34] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_1606") - global.msg[1] = scr_gettext("SCR_TEXT_1607") - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1624") - if (global.flag[34] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_1625") - if (global.flag[34] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_1626") - if (global.flag[34] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_1628") - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1631") - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1635") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1639") - break - case 510: - global.msg[0] = scr_gettext("SCR_TEXT_1644") - global.msg[1] = scr_gettext("SCR_TEXT_1645") - global.msg[2] = scr_gettext("SCR_TEXT_1646") - global.msg[3] = scr_gettext("SCR_TEXT_1647") - global.msg[4] = scr_gettext("SCR_TEXT_1648") - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1675") - global.msg[1] = scr_gettext("SCR_TEXT_1676") - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1692") - if (haveit == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1694") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1695") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1698") - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1705") - global.msg[1] = scr_gettext("SCR_TEXT_1706") - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1723") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1724") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1726") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1729") - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1736") - global.msg[1] = scr_gettext("SCR_TEXT_1737") - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1754") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1755") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1757") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1760") - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1771") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1772") - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1778") - global.msg[1] = scr_gettext("SCR_TEXT_1779") - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1788") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1789") - if (global.flag[43] > 25) - global.msg[0] = scr_gettext("SCR_TEXT_1790") - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1796") - global.msg[1] = scr_gettext("SCR_TEXT_1797") - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1806") - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1807") - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1817") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1818") - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_1824") - global.msg[1] = scr_gettext("SCR_TEXT_1825") - break - case 525: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_1830") - global.msg[1] = scr_gettext("SCR_TEXT_1831") - global.msg[2] = scr_gettext("SCR_TEXT_1832") - global.msg[3] = scr_gettext("SCR_TEXT_1833") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1835") - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1842") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1843") - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_1853") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1854") - } - break - case 527: - global.msg[0] = scr_gettext("SCR_TEXT_1859") - global.msg[1] = scr_gettext("SCR_TEXT_1860") - global.msg[2] = scr_gettext("SCR_TEXT_1861") - global.msg[3] = scr_gettext("SCR_TEXT_1862") - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1867") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1870") - if (global.flag[103] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_1871") - global.msg[1] = scr_gettext("SCR_TEXT_1872") - global.msg[2] = scr_gettext("SCR_TEXT_1873") - global.msg[3] = scr_gettext("SCR_TEXT_1874") - global.msg[4] = scr_gettext("SCR_TEXT_1875") - global.msg[5] = scr_gettext("SCR_TEXT_1876") - global.msg[6] = scr_gettext("SCR_TEXT_1877") - global.msg[7] = scr_gettext("SCR_TEXT_1878") - global.msg[8] = scr_gettext("SCR_TEXT_1879") - global.msg[9] = scr_gettext("SCR_TEXT_1880") - global.msg[10] = scr_gettext("SCR_TEXT_1881") - global.msg[11] = scr_gettext("SCR_TEXT_1882") - global.msg[12] = scr_gettext("SCR_TEXT_1883") - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1891") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_1895") - global.msg[1] = scr_gettext("SCR_TEXT_1896") - if (global.choice == -1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1897") - global.msg[1] = scr_gettext("SCR_TEXT_1898") - } - global.msg[2] = scr_gettext("SCR_TEXT_1899") - global.msg[3] = scr_gettext("SCR_TEXT_1900") - global.msg[4] = scr_gettext("SCR_TEXT_1901") - } - break - case 530: - global.plot = 19.3 - global.msg[0] = scr_gettext("SCR_TEXT_1907") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_1908") - global.msg[1] = scr_gettext("SCR_TEXT_1909") - r = round(random(3)) - if (r == 0) - global.msg[2] = scr_gettext("SCR_TEXT_1911") - if (r == 1) - global.msg[2] = scr_gettext("SCR_TEXT_1912") - if (r == 2) - global.msg[2] = scr_gettext("SCR_TEXT_1913") - if (r == 3) - global.msg[2] = scr_gettext("SCR_TEXT_1914") - global.msg[3] = scr_gettext("SCR_TEXT_1915") - global.msg[4] = scr_gettext("SCR_TEXT_1916") - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1921") - else - { - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1924") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = scr_gettext("SCR_TEXT_1927") - } - global.msg[1] = scr_gettext("SCR_TEXT_1930") - break - case 532: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_1934") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1935") - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = scr_gettext("SCR_TEXT_1936") - break - case 540: - global.msg[0] = scr_gettext("SCR_TEXT_1940") - global.msg[1] = scr_gettext("SCR_TEXT_1941") - global.msg[2] = scr_gettext("SCR_TEXT_1942") - global.msg[3] = scr_gettext("SCR_TEXT_1943") - global.msg[4] = scr_gettext("SCR_TEXT_1944") - global.msg[5] = scr_gettext("SCR_TEXT_1945") - global.msg[6] = scr_gettext("SCR_TEXT_1946") - global.msg[7] = scr_gettext("SCR_TEXT_1947") - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_1956") - global.msg[1] = scr_gettext("SCR_TEXT_1957") - global.msg[2] = scr_gettext("SCR_TEXT_1958") - global.msg[3] = scr_gettext("SCR_TEXT_1959") - global.msg[4] = scr_gettext("SCR_TEXT_1960") - global.msg[5] = scr_gettext("SCR_TEXT_1961") - global.msg[6] = scr_gettext("SCR_TEXT_1962") - global.msg[7] = scr_gettext("SCR_TEXT_1963") - global.msg[8] = scr_gettext("SCR_TEXT_1964") - global.msg[9] = scr_gettext("SCR_TEXT_1965") - global.msg[10] = scr_gettext("SCR_TEXT_1966") - global.msg[11] = scr_gettext("SCR_TEXT_1967") - global.msg[12] = scr_gettext("SCR_TEXT_1968") - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_1978") - global.msg[2] = scr_gettext("SCR_TEXT_1979") - global.msg[3] = scr_gettext("SCR_TEXT_1980") - global.msg[4] = scr_gettext("SCR_TEXT_1981") - global.msg[5] = scr_gettext("SCR_TEXT_1982") - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_1987") - global.msg[2] = scr_gettext("SCR_TEXT_1988") - global.msg[3] = scr_gettext("SCR_TEXT_1989") - global.msg[4] = scr_gettext("SCR_TEXT_1990") - global.msg[5] = scr_gettext("SCR_TEXT_1991") - } - if (global.flag[66] == 1) - { - global.msg[6] = scr_gettext("SCR_TEXT_1996") - global.msg[7] = scr_gettext("SCR_TEXT_1997") - global.msg[8] = scr_gettext("SCR_TEXT_1998") - } - else - { - global.msg[6] = scr_gettext("SCR_TEXT_2002") - global.msg[7] = scr_gettext("SCR_TEXT_2003") - global.msg[8] = scr_gettext("SCR_TEXT_2004") - } - global.msg[9] = scr_gettext("SCR_TEXT_2006") - global.msg[10] = scr_gettext("SCR_TEXT_2007") - global.msg[11] = scr_gettext("SCR_TEXT_2008") - global.msg[12] = scr_gettext("SCR_TEXT_2009") - global.msg[13] = scr_gettext("SCR_TEXT_2010") - global.msg[14] = scr_gettext("SCR_TEXT_2011") - global.msg[15] = scr_gettext("SCR_TEXT_2012") - global.msg[16] = scr_gettext("SCR_TEXT_2013") - global.msg[17] = scr_gettext("SCR_TEXT_2014") - global.msg[18] = scr_gettext("SCR_TEXT_2015") - global.msg[19] = scr_gettext("SCR_TEXT_2016") - global.msg[20] = scr_gettext("SCR_TEXT_2017") - global.msg[21] = scr_gettext("SCR_TEXT_2018") - break - case 544: - global.msg[0] = scr_gettext("SCR_TEXT_2023") - global.msg[1] = scr_gettext("SCR_TEXT_2024") - global.msg[2] = scr_gettext("SCR_TEXT_2025") - global.msg[3] = scr_gettext("SCR_TEXT_2026") - global.msg[4] = scr_gettext("SCR_TEXT_2027") - global.msg[5] = scr_gettext("SCR_TEXT_2028") - global.msg[6] = scr_gettext("SCR_TEXT_2029") - global.msg[6] = scr_gettext("SCR_TEXT_2030") - global.msg[7] = scr_gettext("SCR_TEXT_2031") - global.msg[8] = scr_gettext("SCR_TEXT_2032") - break - case 545: - global.msg[0] = scr_gettext("SCR_TEXT_2036") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_2039") - global.msg[2] = scr_gettext("SCR_TEXT_2040") - global.msg[3] = scr_gettext("SCR_TEXT_2041") - global.msg[4] = scr_gettext("SCR_TEXT_2042") - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_2047") - global.msg[2] = scr_gettext("SCR_TEXT_2048") - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = scr_gettext("SCR_TEXT_2058") - global.msg[1] = scr_gettext("SCR_TEXT_2059") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2062") - global.msg[1] = scr_gettext("SCR_TEXT_2063") - } - global.msg[2] = scr_gettext("SCR_TEXT_2065") - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2069") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2074") - global.msg[1] = scr_gettext("SCR_TEXT_2075") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2078") - global.msg[1] = scr_gettext("SCR_TEXT_2079") - global.msg[2] = scr_gettext("SCR_TEXT_2080") - global.msg[3] = scr_gettext("SCR_TEXT_2081") - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2089") - if (global.flag[72] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2092") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2098") - global.msg[1] = scr_gettext("SCR_TEXT_2099") - global.msg[2] = scr_gettext("SCR_TEXT_2100") - global.msg[3] = scr_gettext("SCR_TEXT_2101") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2109") - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2116") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2121") - break - case 549: - global.msg[0] = scr_gettext("SCR_TEXT_2125") - global.msg[1] = scr_gettext("SCR_TEXT_2126") - break - case 550: - global.msg[0] = scr_gettext("SCR_TEXT_2130") - global.msg[1] = scr_gettext("SCR_TEXT_2131") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = scr_gettext("SCR_TEXT_2139") - global.msg[1] = scr_gettext("SCR_TEXT_2140") - global.msg[2] = scr_gettext("SCR_TEXT_2141") - global.msg[3] = scr_gettext("SCR_TEXT_2142") - global.msg[4] = scr_gettext("SCR_TEXT_2143") - global.msg[5] = scr_gettext("SCR_TEXT_2144") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2148") - global.msg[1] = scr_gettext("SCR_TEXT_2149") - global.msg[2] = scr_gettext("SCR_TEXT_2150") - } - global.msg[6] = scr_gettext("SCR_TEXT_2152") - break - case 552: - global.msg[0] = scr_gettext("SCR_TEXT_2157") - global.msg[1] = scr_gettext("SCR_TEXT_2158") - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(__view_get(0, 0), __view_get(1, 0), obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2169") - } - break - case 553: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - global.flag[75] = global.armor - global.msg[0] = scr_gettext("SCR_TEXT_2180", armor) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_2182", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2183", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2184", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2185", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2186", armor) - global.msg[7] = scr_gettext("SCR_TEXT_2187", armor) - global.msg[8] = scr_gettext("SCR_TEXT_2188", armor) - global.msg[9] = scr_gettext("SCR_TEXT_2189", armor) - global.msg[10] = scr_gettext("SCR_TEXT_2190", armor) - global.msg[11] = scr_gettext("SCR_TEXT_2191", armor) - global.msg[12] = scr_gettext("SCR_TEXT_2192", armor) - global.msg[13] = scr_gettext("SCR_TEXT_2193", armor) - break - case 554: - armor = scr_gettext("papyrus_armor_0") - if (global.armor == 4) - armor = scr_gettext("papyrus_armor_4") - if (global.armor == 12) - armor = scr_gettext("papyrus_armor_12") - if (global.armor == 15) - armor = scr_gettext("papyrus_armor_15") - if (global.armor == 24) - armor = scr_gettext("papyrus_armor_24") - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = scr_gettext("SCR_TEXT_2206", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2207", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2208", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2209", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2210", armor) - } - else - { - global.flag[76] = 1 - global.msg[1] = scr_gettext("SCR_TEXT_2215", armor) - global.msg[2] = scr_gettext("SCR_TEXT_2216", armor) - global.msg[3] = scr_gettext("SCR_TEXT_2217", armor) - global.msg[4] = scr_gettext("SCR_TEXT_2218", armor) - global.msg[5] = scr_gettext("SCR_TEXT_2219", armor) - global.msg[6] = scr_gettext("SCR_TEXT_2220", armor) - } - break - case 556: - global.msg[0] = scr_gettext("SCR_TEXT_2227") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2231") - global.msg[2] = scr_gettext("SCR_TEXT_2232") - global.msg[3] = scr_gettext("SCR_TEXT_2233") - global.msg[4] = scr_gettext("SCR_TEXT_2234") - global.msg[5] = scr_gettext("SCR_TEXT_2235") - } - break - case 557: - global.msg[0] = scr_gettext("SCR_TEXT_2240") - global.msg[1] = scr_gettext("SCR_TEXT_2241") - global.msg[2] = scr_gettext("SCR_TEXT_2242") - break - case 558: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2248") - global.msg[1] = scr_gettext("SCR_TEXT_2249") - global.msg[2] = scr_gettext("SCR_TEXT_2250") - global.msg[3] = scr_gettext("SCR_TEXT_2251") - global.msg[4] = scr_gettext("SCR_TEXT_2252") - global.msg[5] = scr_gettext("SCR_TEXT_2253") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2257") - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2265") - global.msg[2] = scr_gettext("SCR_TEXT_2266") - global.msg[3] = scr_gettext("SCR_TEXT_2267") - global.msg[4] = scr_gettext("SCR_TEXT_2268") - if (global.flag[66] == 1) - global.msg[4] = scr_gettext("SCR_TEXT_2269") - global.msg[5] = scr_gettext("SCR_TEXT_2270") - global.msg[6] = scr_gettext("SCR_TEXT_2271") - global.msg[7] = scr_gettext("SCR_TEXT_2272") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2276") - global.msg[1] = scr_gettext("SCR_TEXT_2277") - global.msg[2] = scr_gettext("SCR_TEXT_2278") - global.msg[3] = scr_gettext("SCR_TEXT_2279") - global.msg[4] = scr_gettext("SCR_TEXT_2280") - global.msg[5] = scr_gettext("SCR_TEXT_2281") - } - break - case 560: - global.msg[0] = scr_gettext("SCR_TEXT_2286") - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2297") - global.msg[2] = scr_gettext("SCR_TEXT_2298") - global.msg[3] = scr_gettext("SCR_TEXT_2299") - global.msg[4] = scr_gettext("SCR_TEXT_2300") - global.msg[5] = scr_gettext("SCR_TEXT_2301") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2305") - global.msg[1] = scr_gettext("SCR_TEXT_2306") - } - break - case 562: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2313") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2317") - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2322") - } - } - break - case 563: - global.msg[0] = scr_gettext("SCR_TEXT_2328") - global.msg[1] = scr_gettext("SCR_TEXT_2329") - global.msg[2] = scr_gettext("SCR_TEXT_2330") - global.msg[3] = scr_gettext("SCR_TEXT_2331") - global.msg[4] = scr_gettext("SCR_TEXT_2332") - global.msg[5] = scr_gettext("SCR_TEXT_2333") - if (global.flag[66] == 1) - { - global.msg[2] = scr_gettext("SCR_TEXT_2336") - global.msg[3] = scr_gettext("SCR_TEXT_2337") - global.msg[4] = scr_gettext("SCR_TEXT_2338") - global.msg[5] = scr_gettext("SCR_TEXT_2339") - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_2348") - if (global.flag[66] == 0) - global.msg[1] = scr_gettext("SCR_TEXT_2349") - } - else - { - scr_papface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_2354") - } - break - case 565: - global.msg[0] = scr_gettext("SCR_TEXT_2359") - global.msg[1] = scr_gettext("SCR_TEXT_2360") - global.msg[2] = scr_gettext("SCR_TEXT_2361") - break - case 566: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2366") - else - global.msg[0] = scr_gettext("SCR_TEXT_2368") - break - case 567: - global.msg[0] = scr_gettext("SCR_TEXT_2372") - global.msg[1] = scr_gettext("SCR_TEXT_2373") - global.msg[2] = scr_gettext("SCR_TEXT_2374") - global.msg[3] = scr_gettext("SCR_TEXT_2375") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2376") - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2380") - global.msg[1] = scr_gettext("SCR_TEXT_2381") - global.msg[2] = scr_gettext("SCR_TEXT_2382") - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2389") - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2394") - break - case 570: - global.msg[0] = scr_gettext("SCR_TEXT_2399") - global.msg[1] = scr_gettext("SCR_TEXT_2400") - global.msg[2] = scr_gettext("SCR_TEXT_2401") - global.msg[3] = scr_gettext("SCR_TEXT_2402") - global.msg[4] = scr_gettext("SCR_TEXT_2403") - break - case 571: - global.msg[0] = scr_gettext("SCR_TEXT_2407") - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_2411") - global.msg[1] = scr_gettext("SCR_TEXT_2412") - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_2418") - global.msg[1] = scr_gettext("SCR_TEXT_2419") - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = scr_gettext("SCR_TEXT_2426") - global.msg[1] = scr_gettext("SCR_TEXT_2427") - global.msg[2] = scr_gettext("SCR_TEXT_2428") - break - case 573: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2434") - global.msg[1] = scr_gettext("SCR_TEXT_2435") - global.msg[2] = scr_gettext("SCR_TEXT_2436") - global.msg[3] = scr_gettext("SCR_TEXT_2437") - global.msg[4] = scr_gettext("SCR_TEXT_2438") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2442") - global.msg[1] = scr_gettext("SCR_TEXT_2443") - global.msg[2] = scr_gettext("SCR_TEXT_2444") - global.msg[3] = scr_gettext("SCR_TEXT_2445") - global.msg[4] = scr_gettext("SCR_TEXT_2446") - global.msg[5] = scr_gettext("SCR_TEXT_2447") - global.msg[6] = scr_gettext("SCR_TEXT_2448") - } - break - case 574: - global.msg[0] = scr_gettext("SCR_TEXT_2453") - global.msg[1] = scr_gettext("SCR_TEXT_2454") - global.msg[2] = scr_gettext("SCR_TEXT_2455") - break - case 575: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2461") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2465") - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = scr_gettext("SCR_TEXT_2472") - global.msg[1] = scr_gettext("SCR_TEXT_2473") - break - case 577: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2477") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2478") - global.msg[1] = scr_gettext("SCR_TEXT_2479") - global.msg[2] = scr_gettext("SCR_TEXT_2480") - global.msg[3] = scr_gettext("SCR_TEXT_2481") - global.msg[4] = scr_gettext("SCR_TEXT_2482") - global.msg[5] = scr_gettext("SCR_TEXT_2483") - global.msg[6] = scr_gettext("SCR_TEXT_2484") - global.msg[7] = scr_gettext("SCR_TEXT_2485") - global.msg[8] = scr_gettext("SCR_TEXT_2486") - global.msg[9] = scr_gettext("SCR_TEXT_2487") - global.msg[10] = scr_gettext("SCR_TEXT_2488") - global.msg[11] = scr_gettext("SCR_TEXT_2489") - global.msg[12] = scr_gettext("SCR_TEXT_2490") - global.msg[13] = scr_gettext("SCR_TEXT_2491") - break - case 578: - global.msg[0] = scr_gettext("SCR_TEXT_2495") - global.msg[1] = scr_gettext("SCR_TEXT_2496") - global.msg[2] = scr_gettext("SCR_TEXT_2497") - global.msg[3] = scr_gettext("SCR_TEXT_2498") - break - case 579: - global.msg[0] = scr_gettext("SCR_TEXT_2502") - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = scr_gettext("SCR_TEXT_2506") - if (global.flag[84] == 5) - global.msg[0] = scr_gettext("SCR_TEXT_2507") - if (global.flag[84] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2510") - global.msg[1] = scr_gettext("SCR_TEXT_2511") - global.msg[2] = scr_gettext("SCR_TEXT_2512") - global.msg[3] = scr_gettext("SCR_TEXT_2513") - global.msg[4] = scr_gettext("SCR_TEXT_2514") - } - if (global.flag[84] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_2518") - if (global.flag[84] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2522") - global.msg[1] = scr_gettext("SCR_TEXT_2523") - global.msg[2] = scr_gettext("SCR_TEXT_2524") - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2535") - global.msg[1] = scr_gettext("SCR_TEXT_2536") - global.msg[2] = scr_gettext("SCR_TEXT_2537") - global.msg[3] = scr_gettext("SCR_TEXT_2538") - global.msg[4] = scr_gettext("SCR_TEXT_2539") - global.msg[5] = scr_gettext("SCR_TEXT_2540") - global.msg[6] = scr_gettext("SCR_TEXT_2541") - global.msg[7] = scr_gettext("SCR_TEXT_2542") - global.msg[8] = scr_gettext("SCR_TEXT_2543") - global.msg[9] = scr_gettext("SCR_TEXT_2544") - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2553") - } - else - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2561") - global.msg[1] = scr_gettext("SCR_TEXT_2562") - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2567") - global.msg[1] = scr_gettext("SCR_TEXT_2568") - global.msg[2] = scr_gettext("SCR_TEXT_2569") - global.msg[3] = scr_gettext("SCR_TEXT_2570") - global.msg[4] = scr_gettext("SCR_TEXT_2571") - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2580") - global.msg[1] = scr_gettext("SCR_TEXT_2581") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_2585") - global.msg[1] = scr_gettext("SCR_TEXT_2586") - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2597") - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2608") - } - else if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2615") - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2626") - doak = 1 - } - break - case 585: - global.msg[0] = scr_gettext("SCR_TEXT_2634") - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2637") - global.msg[1] = scr_gettext("SCR_TEXT_2638") - } - if (global.flag[86] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2642") - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2651") - global.msg[1] = scr_gettext("SCR_TEXT_2652") - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2667") - doak = 1 - } - break - case 587: - global.msg[0] = scr_gettext("SCR_TEXT_2674") - global.msg[1] = scr_gettext("SCR_TEXT_2675") - global.msg[2] = scr_gettext("SCR_TEXT_2676") - break - case 588: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2682") - global.msg[1] = scr_gettext("SCR_TEXT_2683") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2686") - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_2692") - if (global.flag[108] > 2) - global.msg[0] = scr_gettext("SCR_TEXT_2694") - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2698") - global.msg[1] = scr_gettext("SCR_TEXT_2699") - } - if (global.flag[108] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2704") - global.msg[1] = scr_gettext("SCR_TEXT_2705") - global.msg[2] = scr_gettext("SCR_TEXT_2706") - global.msg[3] = scr_gettext("SCR_TEXT_2707") - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = scr_gettext("SCR_TEXT_2726") - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2728") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2732") - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2739") - global.msg[1] = scr_gettext("SCR_TEXT_2740") - global.msg[2] = scr_gettext("SCR_TEXT_2741") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2744") - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2752") - global.msg[1] = scr_gettext("SCR_TEXT_2753") - } - if (global.lv > 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2757") - global.msg[1] = scr_gettext("SCR_TEXT_2758") - } - if (global.lv > 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_2762") - global.msg[1] = scr_gettext("SCR_TEXT_2763") - } - if (global.lv > 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_2767") - global.msg[1] = scr_gettext("SCR_TEXT_2768") - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2774") - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = scr_gettext("SCR_TEXT_2780") - global.msg[1] = scr_gettext("SCR_TEXT_2781") - global.msg[2] = scr_gettext("SCR_TEXT_2782") - break - case 594: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2788") - global.msg[1] = scr_gettext("SCR_TEXT_2789") - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = scr_gettext("SCR_TEXT_2837") - global.msg[1] = scr_gettext("SCR_TEXT_2838") - global.msg[2] = scr_gettext("SCR_TEXT_2839") - if (global.flag[94] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_2842") - global.msg[1] = scr_gettext("SCR_TEXT_2843") - global.msg[2] = scr_gettext("SCR_TEXT_2844") - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2853") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2859") - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2867") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2873") - } - break - case 608: - global.msg[0] = scr_gettext("SCR_TEXT_2881") - global.msg[1] = scr_gettext("SCR_TEXT_2882") - global.msg[2] = scr_gettext("SCR_TEXT_2883") - if (global.flag[94] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2886") - global.msg[1] = scr_gettext("SCR_TEXT_2887") - global.msg[2] = scr_gettext("SCR_TEXT_2888") - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2897") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2903") - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2911") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2917") - } - break - case 610: - global.msg[0] = scr_gettext("SCR_TEXT_2924") - global.msg[1] = scr_gettext("SCR_TEXT_2925") - global.msg[2] = scr_gettext("SCR_TEXT_2926") - if (global.flag[94] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_2929") - global.msg[1] = scr_gettext("SCR_TEXT_2930") - global.msg[2] = scr_gettext("SCR_TEXT_2931") - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2940") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2946") - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_2954") - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2960") - } - break - case 612: - global.msg[0] = scr_gettext("SCR_TEXT_2968") - global.msg[1] = scr_gettext("SCR_TEXT_2969") - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_2977") - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_2983") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_2988") - break - case 615: - global.msg[0] = scr_gettext("SCR_TEXT_2993") - global.msg[1] = scr_gettext("SCR_TEXT_2994") - global.msg[2] = scr_gettext("SCR_TEXT_2995") - break - case 616: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3001") - global.msg[1] = scr_gettext("SCR_TEXT_3002") - global.msg[2] = scr_gettext("SCR_TEXT_3003") - global.msg[3] = scr_gettext("SCR_TEXT_3004") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3008") - break - case 617: - global.msg[0] = scr_gettext("SCR_TEXT_3014") - global.msg[1] = scr_gettext("SCR_TEXT_3015") - global.msg[2] = scr_gettext("SCR_TEXT_3016") - global.msg[3] = scr_gettext("SCR_TEXT_3017") - break - case 618: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_3023") - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = scr_gettext("SCR_TEXT_3028") - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = scr_gettext("SCR_TEXT_3034") - global.msg[1] = scr_gettext("SCR_TEXT_3035") - global.msg[2] = scr_gettext("SCR_TEXT_3036") - global.msg[3] = scr_gettext("SCR_TEXT_3037") - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3045") - global.msg[1] = scr_gettext("SCR_TEXT_3046") - global.msg[2] = scr_gettext("SCR_TEXT_3047") - global.msg[3] = scr_gettext("SCR_TEXT_3048") - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3052") - global.msg[1] = scr_gettext("SCR_TEXT_3053") - global.msg[2] = scr_gettext("SCR_TEXT_3054") - global.msg[3] = scr_gettext("SCR_TEXT_3055") - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = scr_gettext("SCR_TEXT_3061") - global.msg[1] = scr_gettext("SCR_TEXT_3062") - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3068") - break - case 621: - global.msg[0] = scr_gettext("SCR_TEXT_3073") - global.msg[1] = scr_gettext("SCR_TEXT_3074") - global.msg[2] = scr_gettext("SCR_TEXT_3075") - global.msg[3] = scr_gettext("SCR_TEXT_3076") - global.msg[4] = scr_gettext("SCR_TEXT_3077") - global.msg[5] = scr_gettext("SCR_TEXT_3078") - global.msg[6] = scr_gettext("SCR_TEXT_3079") - global.msg[7] = scr_gettext("SCR_TEXT_3080") - global.msg[8] = scr_gettext("SCR_TEXT_3081") - global.msg[9] = scr_gettext("SCR_TEXT_3082") - global.msg[10] = scr_gettext("SCR_TEXT_3083") - global.msg[11] = scr_gettext("SCR_TEXT_3084") - global.msg[12] = scr_gettext("SCR_TEXT_3085") - global.msg[13] = scr_gettext("SCR_TEXT_3086") - break - case 623: - global.msg[0] = scr_gettext("SCR_TEXT_3104") - global.msg[1] = scr_gettext("SCR_TEXT_3105") - global.msg[2] = scr_gettext("SCR_TEXT_3106") - global.msg[3] = scr_gettext("SCR_TEXT_3107") - global.msg[4] = scr_gettext("SCR_TEXT_3108") - global.msg[5] = scr_gettext("SCR_TEXT_3109") - global.msg[6] = scr_gettext("SCR_TEXT_3110") - global.msg[7] = scr_gettext("SCR_TEXT_3111") - global.msg[8] = scr_gettext("SCR_TEXT_3112") - global.msg[9] = scr_gettext("SCR_TEXT_3113") - global.msg[10] = scr_gettext("SCR_TEXT_3114") - global.msg[11] = scr_gettext("SCR_TEXT_3115") - global.msg[12] = scr_gettext("SCR_TEXT_3116") - global.msg[13] = scr_gettext("SCR_TEXT_3117") - global.msg[14] = scr_gettext("SCR_TEXT_3118") - break - case 624: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3124") - global.msg[1] = scr_gettext("SCR_TEXT_3125") - global.msg[2] = scr_gettext("SCR_TEXT_3126") - global.msg[3] = scr_gettext("SCR_TEXT_3127") - global.msg[4] = scr_gettext("SCR_TEXT_3128") - global.msg[5] = scr_gettext("SCR_TEXT_3129") - global.msg[6] = scr_gettext("SCR_TEXT_3130") - global.msg[7] = scr_gettext("SCR_TEXT_3131") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3135") - global.msg[1] = scr_gettext("SCR_TEXT_3136") - global.msg[2] = scr_gettext("SCR_TEXT_3137") - global.msg[3] = scr_gettext("SCR_TEXT_3138") - global.msg[4] = scr_gettext("SCR_TEXT_3139") - global.msg[5] = scr_gettext("SCR_TEXT_3140") - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = scr_gettext("SCR_TEXT_3148") - global.msg[1] = scr_gettext("SCR_TEXT_3149") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3153") - if instance_exists(obj_undynefall) - global.msg[0] = scr_gettext("SCR_TEXT_3155") - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_3163") - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3171") - break - case 627: - global.msg[0] = scr_gettext("SCR_TEXT_3177") - global.msg[1] = scr_gettext("SCR_TEXT_3178") - break - case 628: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3184") - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3196") - break - case 629: - global.msg[0] = scr_gettext("SCR_TEXT_3201") - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3205") - global.msg[1] = scr_gettext("SCR_TEXT_3206") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_3210") - } - break - case 630: - global.msg[0] = scr_gettext("SCR_TEXT_3215") - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = scr_gettext("papyrus_armor_0") - armor2 = scr_gettext("papyrus_armor_0") - if (global.flag[75] == 4) - armor1 = scr_gettext("papyrus_armor_4") - if (global.flag[75] == 12) - armor1 = scr_gettext("papyrus_armor_12") - if (global.flag[75] == 15) - armor1 = scr_gettext("papyrus_armor_15") - if (global.flag[75] == 24) - armor1 = scr_gettext("papyrus_armor_24") - if (global.flag[77] == 4) - armor2 = scr_gettext("papyrus_armor_4") - if (global.flag[77] == 12) - armor2 = scr_gettext("papyrus_armor_12") - if (global.flag[77] == 15) - armor2 = scr_gettext("papyrus_armor_15") - if (global.flag[77] == 24) - armor2 = scr_gettext("papyrus_armor_24") - global.msg[0] = scr_gettext("SCR_TEXT_3238", armor1, armor2) - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3240", armor1, armor2) - global.msg[3] = scr_gettext("SCR_TEXT_3241", armor1, armor2) - global.msg[4] = scr_gettext("SCR_TEXT_3242", armor1, armor2) - global.msg[5] = scr_gettext("SCR_TEXT_3243", armor1, armor2) - global.msg[6] = scr_gettext("SCR_TEXT_3244", armor1, armor2) - global.msg[7] = scr_gettext("SCR_TEXT_3245", armor1, armor2) - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3250", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3251", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3252", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3253", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3254", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3255", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3256", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3257", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3258", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3259", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3260", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3261", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3262", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = scr_gettext("SCR_TEXT_3268", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3269", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3270", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3271", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3272", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3273", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3274", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3275", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3276", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3277", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3278", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3279", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3280", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3281", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3282", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3283", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3284", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3285", armor1, armor2) - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3291", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3292", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3293", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3294", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3295", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3296", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3297", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3298", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3299", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3300", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3301", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3302", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3303", armor1, armor2) - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = scr_gettext("SCR_TEXT_3309", armor1, armor2) - global.msg[8] = scr_gettext("SCR_TEXT_3310", armor1, armor2) - global.msg[9] = scr_gettext("SCR_TEXT_3311", armor1, armor2) - global.msg[10] = scr_gettext("SCR_TEXT_3312", armor1, armor2) - global.msg[11] = scr_gettext("SCR_TEXT_3313", armor1, armor2) - global.msg[12] = scr_gettext("SCR_TEXT_3314", armor1, armor2) - global.msg[13] = scr_gettext("SCR_TEXT_3315", armor1, armor2) - global.msg[14] = scr_gettext("SCR_TEXT_3316", armor1, armor2) - global.msg[15] = scr_gettext("SCR_TEXT_3317", armor1, armor2) - global.msg[16] = scr_gettext("SCR_TEXT_3318", armor1, armor2) - global.msg[17] = scr_gettext("SCR_TEXT_3319", armor1, armor2) - global.msg[18] = scr_gettext("SCR_TEXT_3320", armor1, armor2) - global.msg[19] = scr_gettext("SCR_TEXT_3321", armor1, armor2) - global.msg[20] = scr_gettext("SCR_TEXT_3322", armor1, armor2) - global.msg[21] = scr_gettext("SCR_TEXT_3323", armor1, armor2) - global.msg[22] = scr_gettext("SCR_TEXT_3324", armor1, armor2) - global.msg[23] = scr_gettext("SCR_TEXT_3325", armor1, armor2) - global.msg[24] = scr_gettext("SCR_TEXT_3326", armor1, armor2) - global.msg[25] = scr_gettext("SCR_TEXT_3327", armor1, armor2) - global.msg[26] = scr_gettext("SCR_TEXT_3328", armor1, armor2) - global.msg[27] = scr_gettext("SCR_TEXT_3329", armor1, armor2) - global.msg[28] = scr_gettext("SCR_TEXT_3330", armor1, armor2) - global.msg[29] = scr_gettext("SCR_TEXT_3331", armor1, armor2) - } - } - break - case 633: - global.msg[0] = scr_gettext("SCR_TEXT_3337") - scr_papface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_3339") - global.msg[3] = scr_gettext("SCR_TEXT_3340") - global.msg[4] = scr_gettext("SCR_TEXT_3341") - global.msg[5] = scr_gettext("SCR_TEXT_3342") - global.msg[6] = scr_gettext("SCR_TEXT_3343") - global.msg[7] = scr_gettext("SCR_TEXT_3344") - global.msg[8] = scr_gettext("SCR_TEXT_3345") - if (global.flag[88] < 3) - { - global.msg[5] = scr_gettext("SCR_TEXT_3348") - global.msg[6] = scr_gettext("SCR_TEXT_3349") - global.msg[7] = scr_gettext("SCR_TEXT_3350") - global.msg[8] = scr_gettext("SCR_TEXT_3351") - global.msg[9] = scr_gettext("SCR_TEXT_3352") - } - break - case 635: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 636: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 637: - global.msg[0] = scr_gettext("SCR_TEXT_3358") - global.msg[1] = scr_gettext("SCR_TEXT_3359") - break - case 638: - global.msg[0] = scr_gettext("SCR_TEXT_3363") - global.msg[1] = scr_gettext("SCR_TEXT_3364") - global.msg[2] = scr_gettext("SCR_TEXT_3365") - global.msg[3] = scr_gettext("SCR_TEXT_3366") - global.msg[4] = scr_gettext("SCR_TEXT_3367") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3370") - break - case 639: - global.msg[0] = scr_gettext("SCR_TEXT_3393") - global.msg[1] = scr_gettext("SCR_TEXT_3394") - break - case 640: - global.msg[0] = scr_gettext("SCR_TEXT_3398") - global.msg[1] = scr_gettext("SCR_TEXT_3399") - global.msg[2] = scr_gettext("SCR_TEXT_3400") - global.msg[3] = scr_gettext("SCR_TEXT_3401") - global.msg[4] = scr_gettext("SCR_TEXT_3402") - global.msg[5] = scr_gettext("SCR_TEXT_3403") - global.msg[6] = scr_gettext("SCR_TEXT_3404") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3407") - break - case 641: - global.msg[0] = scr_gettext("SCR_TEXT_3413") - global.msg[1] = scr_gettext("SCR_TEXT_3414") - break - case 642: - global.msg[0] = scr_gettext("SCR_TEXT_3418") - global.msg[1] = scr_gettext("SCR_TEXT_3419") - global.msg[2] = scr_gettext("SCR_TEXT_3420") - global.msg[3] = scr_gettext("SCR_TEXT_3421") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3424") - break - case 643: - global.msg[0] = scr_gettext("SCR_TEXT_3429") - global.msg[1] = scr_gettext("SCR_TEXT_3430") - break - case 644: - global.msg[0] = scr_gettext("SCR_TEXT_3434") - global.msg[1] = scr_gettext("SCR_TEXT_3435") - global.msg[2] = scr_gettext("SCR_TEXT_3436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3441") - break - case 645: - global.msg[0] = scr_gettext("SCR_TEXT_3446") - global.msg[1] = scr_gettext("SCR_TEXT_3447") - break - case 646: - global.msg[0] = scr_gettext("SCR_TEXT_3451") - global.msg[1] = scr_gettext("SCR_TEXT_3452") - global.msg[2] = scr_gettext("SCR_TEXT_3453") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3458") - break - case 647: - global.msg[0] = scr_gettext("SCR_TEXT_3463") - global.msg[1] = scr_gettext("SCR_TEXT_3464") - break - case 648: - global.msg[0] = scr_gettext("SCR_TEXT_3469") - global.msg[1] = scr_gettext("SCR_TEXT_3470") - global.msg[2] = scr_gettext("SCR_TEXT_3471") - global.msg[3] = scr_gettext("SCR_TEXT_3472") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3477") - break - case 660: - global.msg[0] = scr_gettext("SCR_TEXT_3482") - global.msg[1] = scr_gettext("SCR_TEXT_3483") - break - case 661: - global.msg[0] = scr_gettext("SCR_TEXT_3487") - global.msg[1] = scr_gettext("SCR_TEXT_3488") - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = scr_gettext("SCR_TEXT_3495") - global.msg[1] = scr_gettext("SCR_TEXT_3496") - global.msg[2] = scr_gettext("SCR_TEXT_3497") - global.msg[3] = scr_gettext("SCR_TEXT_3498") - global.msg[4] = scr_gettext("SCR_TEXT_3499") - break - case 667: - global.msg[0] = scr_gettext("SCR_TEXT_3503") - global.msg[1] = scr_gettext("SCR_TEXT_3504") - global.msg[2] = scr_gettext("SCR_TEXT_3505") - break - case 668: - global.msg[0] = scr_gettext("SCR_TEXT_3509") - global.msg[1] = scr_gettext("SCR_TEXT_3510") - break - case 669: - global.msg[0] = scr_gettext("SCR_TEXT_3514") - global.msg[1] = scr_gettext("SCR_TEXT_3515") - global.msg[2] = scr_gettext("SCR_TEXT_3516") - break - case 670: - global.msg[0] = scr_gettext("SCR_TEXT_3520") - break - case 671: - global.msg[0] = scr_gettext("SCR_TEXT_3524") - global.msg[1] = scr_gettext("SCR_TEXT_3525") - break - case 672: - global.msg[0] = scr_gettext("SCR_TEXT_3528") - break - case 673: - global.msg[0] = scr_gettext("SCR_TEXT_3531") - global.msg[1] = scr_gettext("SCR_TEXT_3532") - break - case 674: - global.msg[0] = scr_gettext("SCR_TEXT_3535") - global.msg[1] = scr_gettext("SCR_TEXT_3536") - global.msg[2] = scr_gettext("SCR_TEXT_3537") - global.msg[3] = scr_gettext("SCR_TEXT_3538") - global.msg[4] = scr_gettext("SCR_TEXT_3539") - global.msg[5] = scr_gettext("SCR_TEXT_3540") - global.msg[5] = scr_gettext("SCR_TEXT_3541") - global.msg[6] = scr_gettext("SCR_TEXT_3542") - break - case 680: - global.msg[0] = scr_gettext("SCR_TEXT_3548") - global.msg[1] = scr_gettext("SCR_TEXT_3549") - break - case 681: - global.msg[0] = scr_gettext("SCR_TEXT_3553") - global.msg[1] = scr_gettext("SCR_TEXT_3554") - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3559") - } - break - case 682: - global.msg[0] = scr_gettext("SCR_TEXT_3564") - global.msg[1] = scr_gettext("SCR_TEXT_3565") - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3571") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3584") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3591") - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = scr_gettext("SCR_TEXT_3604") - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = scr_gettext("SCR_TEXT_3612") - global.msg[1] = scr_gettext("SCR_TEXT_3613") - global.msg[2] = scr_gettext("SCR_TEXT_3614") - global.msg[3] = scr_gettext("SCR_TEXT_3615") - global.msg[4] = scr_gettext("SCR_TEXT_3616") - global.msg[5] = scr_gettext("SCR_TEXT_3617") - global.msg[6] = scr_gettext("SCR_TEXT_3618") - global.msg[7] = scr_gettext("SCR_TEXT_3619") - global.msg[8] = scr_gettext("SCR_TEXT_3620") - global.msg[9] = scr_gettext("SCR_TEXT_3621") - global.msg[10] = scr_gettext("SCR_TEXT_3622") - global.msg[11] = scr_gettext("SCR_TEXT_3623") - global.msg[12] = scr_gettext("SCR_TEXT_3624") - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_3630") - global.msg[1] = scr_gettext("SCR_TEXT_3631") - global.msg[2] = scr_gettext("SCR_TEXT_3632") - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = scr_gettext("SCR_TEXT_3638") - if (global.flag[380] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3641") - global.msg[1] = scr_gettext("SCR_TEXT_3642") - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_3653") - if (global.flag[381] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3656") - global.msg[1] = scr_gettext("SCR_TEXT_3657") - global.msg[2] = scr_gettext("SCR_TEXT_3658") - global.msg[3] = scr_gettext("SCR_TEXT_3659") - global.msg[4] = scr_gettext("SCR_TEXT_3660") - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3687") - if (global.flag[379] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3690") - global.msg[1] = scr_gettext("SCR_TEXT_3691") - } - if (global.flag[379] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3695") - global.msg[1] = scr_gettext("SCR_TEXT_3696") - global.msg[2] = scr_gettext("SCR_TEXT_3697") - } - if (global.flag[379] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_3701") - global.msg[1] = scr_gettext("SCR_TEXT_3702") - global.msg[2] = scr_gettext("SCR_TEXT_3703") - global.msg[3] = scr_gettext("SCR_TEXT_3704") - } - if (global.flag[379] == 3) - { - global.msg[0] = scr_gettext("SCR_TEXT_3708") - global.msg[1] = scr_gettext("SCR_TEXT_3709") - global.msg[2] = scr_gettext("SCR_TEXT_3710") - global.msg[3] = scr_gettext("SCR_TEXT_3711") - } - if (global.flag[379] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_3715") - global.msg[1] = scr_gettext("SCR_TEXT_3716") - global.msg[2] = scr_gettext("SCR_TEXT_3717") - global.msg[3] = scr_gettext("SCR_TEXT_3718") - global.msg[4] = scr_gettext("SCR_TEXT_3719") - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3725") - global.msg[1] = scr_gettext("SCR_TEXT_3726") - } - } - if (noroom == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3729") - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_3738") - break - case 690: - global.msg[0] = scr_gettext("SCR_TEXT_3743") - global.msg[1] = scr_gettext("SCR_TEXT_3744") - global.msg[2] = scr_gettext("SCR_TEXT_3745") - global.msg[3] = scr_gettext("SCR_TEXT_3746") - global.msg[4] = scr_gettext("SCR_TEXT_3747") - global.msg[5] = scr_gettext("SCR_TEXT_3748") - break - case 691: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3754") - global.msg[1] = scr_gettext("SCR_TEXT_3755") - global.msg[2] = scr_gettext("SCR_TEXT_3756") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3760") - global.msg[1] = scr_gettext("SCR_TEXT_3761") - global.msg[2] = scr_gettext("SCR_TEXT_3762") - } - global.msg[3] = scr_gettext("SCR_TEXT_3765") - global.msg[4] = scr_gettext("SCR_TEXT_3766") - global.msg[5] = scr_gettext("SCR_TEXT_3767") - global.msg[6] = scr_gettext("SCR_TEXT_3768") - global.msg[7] = scr_gettext("SCR_TEXT_3769") - global.msg[8] = scr_gettext("SCR_TEXT_3770") - global.msg[9] = scr_gettext("SCR_TEXT_3771") - global.msg[10] = scr_gettext("SCR_TEXT_3772") - global.msg[11] = scr_gettext("SCR_TEXT_3773") - global.msg[12] = scr_gettext("SCR_TEXT_3774") - global.msg[13] = scr_gettext("SCR_TEXT_3775") - global.msg[14] = scr_gettext("SCR_TEXT_3776") - global.msg[15] = scr_gettext("SCR_TEXT_3777") - global.msg[16] = scr_gettext("SCR_TEXT_3778") - global.msg[17] = scr_gettext("SCR_TEXT_3779") - global.msg[18] = scr_gettext("SCR_TEXT_3780") - global.msg[19] = scr_gettext("SCR_TEXT_3781") - global.msg[20] = scr_gettext("SCR_TEXT_3782") - global.msg[21] = scr_gettext("SCR_TEXT_3783") - break - case 692: - global.msg[0] = scr_gettext("SCR_TEXT_3787") - global.msg[1] = scr_gettext("SCR_TEXT_3788") - global.msg[2] = scr_gettext("SCR_TEXT_3789") - global.msg[3] = scr_gettext("SCR_TEXT_3790") - global.msg[4] = scr_gettext("SCR_TEXT_3791") - global.msg[5] = scr_gettext("SCR_TEXT_3792") - global.msg[6] = scr_gettext("SCR_TEXT_3793") - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3800") - global.msg[2] = scr_gettext("SCR_TEXT_3801") - global.msg[3] = scr_gettext("SCR_TEXT_3802") - global.msg[4] = scr_gettext("SCR_TEXT_3803") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3807") - global.msg[2] = scr_gettext("SCR_TEXT_3808") - global.msg[3] = scr_gettext("SCR_TEXT_3809") - } - break - case 694: - global.msg[0] = scr_gettext("SCR_TEXT_3814") - global.msg[1] = scr_gettext("SCR_TEXT_3815") - global.msg[2] = scr_gettext("SCR_TEXT_3816") - global.msg[3] = scr_gettext("SCR_TEXT_3817") - global.msg[4] = scr_gettext("SCR_TEXT_3818") - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_3825") - global.msg[2] = scr_gettext("SCR_TEXT_3826") - global.msg[3] = scr_gettext("SCR_TEXT_3827") - global.msg[4] = scr_gettext("SCR_TEXT_3828") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3832") - global.msg[2] = scr_gettext("SCR_TEXT_3833") - global.msg[3] = scr_gettext("SCR_TEXT_3834") - } - break - case 696: - global.msg[0] = scr_gettext("SCR_TEXT_3839") - global.msg[1] = scr_gettext("SCR_TEXT_3840") - global.msg[2] = scr_gettext("SCR_TEXT_3841") - break - case 697: - global.msg[0] = scr_gettext("SCR_TEXT_3845") - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = scr_gettext("SCR_TEXT_3859") - global.msg[1] = scr_gettext("SCR_TEXT_3860") - global.msg[2] = scr_gettext("SCR_TEXT_3861") - global.msg[3] = scr_gettext("SCR_TEXT_3862") - global.msg[4] = scr_gettext("SCR_TEXT_3863") - global.msg[5] = scr_gettext("SCR_TEXT_3864") - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3872") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_3878") - global.msg[2] = scr_gettext("SCR_TEXT_3879") - } - break - case 700: - global.msg[0] = scr_gettext("SCR_TEXT_3884") - global.msg[1] = scr_gettext("SCR_TEXT_3885") - global.msg[2] = scr_gettext("SCR_TEXT_3886") - global.msg[3] = scr_gettext("SCR_TEXT_3887") - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3895") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3901") - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_3910") - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_3916") - break - case 703: - global.msg[0] = scr_gettext("SCR_TEXT_3921") - global.msg[1] = scr_gettext("SCR_TEXT_3922") - global.msg[2] = scr_gettext("SCR_TEXT_3923") - global.msg[3] = scr_gettext("SCR_TEXT_3924") - global.msg[4] = scr_gettext("SCR_TEXT_3925") - global.msg[5] = scr_gettext("SCR_TEXT_3926") - break - case 704: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3932") - global.msg[1] = scr_gettext("SCR_TEXT_3933") - global.msg[2] = scr_gettext("SCR_TEXT_3934") - global.msg[3] = scr_gettext("SCR_TEXT_3935") - global.msg[4] = scr_gettext("SCR_TEXT_3936") - global.msg[5] = scr_gettext("SCR_TEXT_3937") - global.msg[6] = scr_gettext("SCR_TEXT_3938") - global.msg[7] = scr_gettext("SCR_TEXT_3939") - global.msg[8] = scr_gettext("SCR_TEXT_3940") - global.msg[9] = scr_gettext("SCR_TEXT_3941") - global.msg[10] = scr_gettext("SCR_TEXT_3942") - global.msg[11] = scr_gettext("SCR_TEXT_3943") - global.msg[12] = scr_gettext("SCR_TEXT_3944") - global.msg[13] = scr_gettext("SCR_TEXT_3945") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3951") - global.msg[1] = scr_gettext("SCR_TEXT_3952") - global.msg[2] = scr_gettext("SCR_TEXT_3953") - global.msg[3] = scr_gettext("SCR_TEXT_3954") - global.msg[4] = scr_gettext("SCR_TEXT_3955") - global.msg[5] = scr_gettext("SCR_TEXT_3956") - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_3963") - global.msg[1] = scr_gettext("SCR_TEXT_3964") - global.msg[2] = scr_gettext("SCR_TEXT_3965") - global.msg[3] = scr_gettext("SCR_TEXT_3966") - global.msg[4] = scr_gettext("SCR_TEXT_3967") - global.msg[5] = scr_gettext("SCR_TEXT_3968") - global.msg[6] = scr_gettext("SCR_TEXT_3969") - global.msg[7] = scr_gettext("SCR_TEXT_3970") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_3976") - global.msg[1] = scr_gettext("SCR_TEXT_3977") - global.msg[2] = scr_gettext("SCR_TEXT_3978") - global.msg[3] = scr_gettext("SCR_TEXT_3979") - global.msg[4] = scr_gettext("SCR_TEXT_3980") - global.msg[5] = scr_gettext("SCR_TEXT_3981") - global.msg[6] = scr_gettext("SCR_TEXT_3982") - global.msg[7] = scr_gettext("SCR_TEXT_3983") - global.msg[8] = scr_gettext("SCR_TEXT_3984") - global.msg[9] = scr_gettext("SCR_TEXT_3985") - global.msg[10] = scr_gettext("SCR_TEXT_3986") - global.msg[11] = scr_gettext("SCR_TEXT_3987") - global.msg[12] = scr_gettext("SCR_TEXT_3988") - global.msg[13] = scr_gettext("SCR_TEXT_3989") - global.msg[14] = scr_gettext("SCR_TEXT_3990") - global.msg[15] = scr_gettext("SCR_TEXT_3991") - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = scr_gettext("SCR_TEXT_3998") - global.msg[1] = scr_gettext("SCR_TEXT_3999") - break - case 707: - global.msg[0] = scr_gettext("SCR_TEXT_4003") - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4010") - global.msg[1] = scr_gettext("SCR_TEXT_4011") - } - break - case 708: - global.msg[0] = scr_gettext("SCR_TEXT_4016") - global.msg[1] = scr_gettext("SCR_TEXT_4017") - global.msg[2] = scr_gettext("SCR_TEXT_4018") - global.msg[3] = scr_gettext("SCR_TEXT_4019") - global.msg[4] = scr_gettext("SCR_TEXT_4020") - global.msg[5] = scr_gettext("SCR_TEXT_4021") - global.msg[6] = scr_gettext("SCR_TEXT_4022") - break - case 709: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4028") - global.msg[1] = scr_gettext("SCR_TEXT_4029") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4033") - break - case 710: - global.msg[0] = scr_gettext("SCR_TEXT_4038") - global.msg[1] = scr_gettext("SCR_TEXT_4039") - global.msg[2] = scr_gettext("SCR_TEXT_4041") - global.msg[3] = scr_gettext("SCR_TEXT_4042") - global.msg[4] = scr_gettext("SCR_TEXT_4043") - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = scr_gettext("SCR_TEXT_4050") - scr_undface(1, 6) - global.msg[2] = scr_gettext("SCR_TEXT_4052") - global.msg[3] = scr_gettext("SCR_TEXT_4053") - global.msg[4] = scr_gettext("SCR_TEXT_4054") - global.msg[5] = scr_gettext("SCR_TEXT_4055") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = scr_gettext("SCR_TEXT_4060") - scr_undface(1, 1) - global.msg[2] = scr_gettext("SCR_TEXT_4062") - global.msg[3] = scr_gettext("SCR_TEXT_4063") - global.msg[4] = scr_gettext("SCR_TEXT_4064") - } - break - case 712: - global.msg[0] = scr_gettext("SCR_TEXT_4071") - global.msg[1] = scr_gettext("SCR_TEXT_4072") - global.msg[2] = scr_gettext("SCR_TEXT_4073") - global.msg[3] = scr_gettext("SCR_TEXT_4074") - global.msg[4] = scr_gettext("SCR_TEXT_4075") - global.msg[5] = scr_gettext("SCR_TEXT_4076") - global.msg[6] = scr_gettext("SCR_TEXT_4077") - global.msg[7] = scr_gettext("SCR_TEXT_4078") - global.msg[8] = scr_gettext("SCR_TEXT_4079") - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = scr_gettext("SCR_TEXT_4086") - global.msg[1] = scr_gettext("SCR_TEXT_4087") - scr_undface(2, 6) - global.msg[3] = scr_gettext("SCR_TEXT_4089") - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = scr_gettext("SCR_TEXT_4094") - global.msg[1] = scr_gettext("SCR_TEXT_4095") - scr_undface(2, 9) - global.msg[3] = scr_gettext("SCR_TEXT_4097") - } - break - case 714: - global.msg[0] = scr_gettext("SCR_TEXT_4103") - global.msg[1] = scr_gettext("SCR_TEXT_4104") - global.msg[2] = scr_gettext("SCR_TEXT_4105") - global.msg[3] = scr_gettext("SCR_TEXT_4106") - global.msg[4] = scr_gettext("SCR_TEXT_4107") - break - case 715: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4113") - global.msg[1] = scr_gettext("SCR_TEXT_4114") - global.msg[2] = scr_gettext("SCR_TEXT_4115") - global.msg[3] = scr_gettext("SCR_TEXT_4116") - global.msg[4] = scr_gettext("SCR_TEXT_4117") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4121") - global.msg[1] = scr_gettext("SCR_TEXT_4122") - global.msg[2] = scr_gettext("SCR_TEXT_4123") - global.msg[3] = scr_gettext("SCR_TEXT_4124") - global.msg[4] = scr_gettext("SCR_TEXT_4125") - global.msg[5] = scr_gettext("SCR_TEXT_4126") - } - break - case 716: - global.msg[0] = scr_gettext("SCR_TEXT_4131") - global.msg[1] = scr_gettext("SCR_TEXT_4132") - break - case 717: - global.msg[0] = scr_gettext("SCR_TEXT_4136") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = scr_gettext("SCR_TEXT_4147") - global.msg[1] = scr_gettext("SCR_TEXT_4148") - global.msg[2] = scr_gettext("SCR_TEXT_4149") - global.msg[3] = scr_gettext("SCR_TEXT_4150") - global.msg[4] = scr_gettext("SCR_TEXT_4151") - global.msg[5] = scr_gettext("SCR_TEXT_4152") - break - case 721: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4159") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4165") - break - case 722: - global.msg[0] = scr_gettext("SCR_TEXT_4170") - global.msg[1] = scr_gettext("SCR_TEXT_4171") - global.msg[2] = scr_gettext("SCR_TEXT_4172") - global.msg[3] = scr_gettext("SCR_TEXT_4173") - break - case 723: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4179") - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4185") - break - case 724: - global.msg[0] = scr_gettext("SCR_TEXT_4191") - global.msg[1] = scr_gettext("SCR_TEXT_4192") - global.msg[2] = scr_gettext("SCR_TEXT_4193") - global.msg[3] = scr_gettext("SCR_TEXT_4194") - global.msg[4] = scr_gettext("SCR_TEXT_4195") - break - case 725: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4201") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4207") - break - case 726: - global.msg[0] = scr_gettext("SCR_TEXT_4214") - global.msg[1] = scr_gettext("SCR_TEXT_4215") - global.msg[2] = scr_gettext("SCR_TEXT_4216") - break - case 727: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4222") - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4228") - break - case 728: - global.msg[0] = scr_gettext("SCR_TEXT_4234") - global.msg[1] = scr_gettext("SCR_TEXT_4235") - global.msg[2] = scr_gettext("SCR_TEXT_4236") - global.msg[3] = scr_gettext("SCR_TEXT_4237") - global.msg[4] = scr_gettext("SCR_TEXT_4238") - global.msg[5] = scr_gettext("SCR_TEXT_4239") - global.msg[6] = scr_gettext("SCR_TEXT_4240") - global.msg[7] = scr_gettext("SCR_TEXT_4241") - global.msg[8] = scr_gettext("SCR_TEXT_4242") - break - case 729: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4248") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4254") - global.msg[1] = scr_gettext("SCR_TEXT_4255") - } - break - case 730: - global.msg[0] = scr_gettext("SCR_TEXT_4260") - global.msg[1] = scr_gettext("SCR_TEXT_4261") - global.msg[2] = scr_gettext("SCR_TEXT_4262") - global.msg[3] = scr_gettext("SCR_TEXT_4263") - break - case 731: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4270") - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4276") - break - case 732: - global.msg[0] = scr_gettext("SCR_TEXT_4282") - global.msg[1] = scr_gettext("SCR_TEXT_4283") - global.msg[2] = scr_gettext("SCR_TEXT_4284") - global.msg[3] = scr_gettext("SCR_TEXT_4285") - global.msg[4] = scr_gettext("SCR_TEXT_4286") - global.msg[5] = scr_gettext("SCR_TEXT_4287") - break - case 733: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4293") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4299") - break - case 734: - global.msg[0] = scr_gettext("SCR_TEXT_4304") - global.msg[1] = scr_gettext("SCR_TEXT_4305") - global.msg[2] = scr_gettext("SCR_TEXT_4306") - break - case 735: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4312") - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4318") - break - case 736: - global.msg[0] = scr_gettext("SCR_TEXT_4326") - global.msg[1] = scr_gettext("SCR_TEXT_4327") - global.msg[2] = scr_gettext("SCR_TEXT_4328") - global.msg[3] = scr_gettext("SCR_TEXT_4329") - global.msg[4] = scr_gettext("SCR_TEXT_4330") - break - case 737: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4336") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4342") - break - case 738: - global.msg[0] = scr_gettext("SCR_TEXT_4347") - global.msg[1] = scr_gettext("SCR_TEXT_4348") - global.msg[2] = scr_gettext("SCR_TEXT_4349") - global.msg[3] = scr_gettext("SCR_TEXT_4350") - break - case 739: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4356") - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4362") - break - case 740: - global.msg[0] = scr_gettext("SCR_TEXT_4369") - global.msg[1] = scr_gettext("SCR_TEXT_4370") - global.msg[2] = scr_gettext("SCR_TEXT_4371") - global.msg[3] = scr_gettext("SCR_TEXT_4372") - global.msg[4] = scr_gettext("SCR_TEXT_4373") - global.msg[5] = scr_gettext("SCR_TEXT_4374") - global.msg[6] = scr_gettext("SCR_TEXT_4375") - break - case 741: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4381") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4387") - break - case 742: - global.msg[0] = scr_gettext("SCR_TEXT_4392") - global.msg[1] = scr_gettext("SCR_TEXT_4393") - global.msg[2] = scr_gettext("SCR_TEXT_4394") - global.msg[3] = scr_gettext("SCR_TEXT_4395") - break - case 743: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4401") - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4407") - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4415") - global.msg[1] = scr_gettext("SCR_TEXT_4416") - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4433") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4434") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4436") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4439") - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = scr_gettext("SCR_TEXT_4447") - global.msg[1] = scr_gettext("SCR_TEXT_4448") - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4465") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4466") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4468") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4471") - break - case 748: - global.msg[0] = scr_gettext("SCR_TEXT_4477") - global.msg[1] = scr_gettext("SCR_TEXT_4478") - global.msg[2] = scr_gettext("SCR_TEXT_4479") - global.msg[3] = scr_gettext("SCR_TEXT_4480") - break - case 749: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4486") - global.msg[1] = scr_gettext("SCR_TEXT_4487") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4491") - global.msg[1] = scr_gettext("SCR_TEXT_4492") - global.msg[2] = scr_gettext("SCR_TEXT_4493") - global.msg[3] = scr_gettext("SCR_TEXT_4494") - } - break - case 750: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4501") - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4505") - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = scr_gettext("SCR_TEXT_4511") - global.msg[1] = scr_gettext("SCR_TEXT_4512") - global.msg[2] = scr_gettext("SCR_TEXT_4513") - break - case 752: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4519") - global.msg[1] = scr_gettext("SCR_TEXT_4520") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4524") - global.msg[1] = scr_gettext("SCR_TEXT_4525") - global.msg[2] = scr_gettext("SCR_TEXT_4526") - global.msg[2] = scr_gettext("SCR_TEXT_4527") - global.msg[3] = scr_gettext("SCR_TEXT_4528") - global.msg[4] = scr_gettext("SCR_TEXT_4529") - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = scr_gettext("SCR_TEXT_4535") - break - case 754: - global.msg[0] = scr_gettext("SCR_TEXT_4540") - global.msg[1] = scr_gettext("SCR_TEXT_4541") - global.msg[2] = scr_gettext("SCR_TEXT_4542") - break - case 755: - global.flag[409] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_4547") - break - case 756: - global.msg[0] = scr_gettext("SCR_TEXT_4551") - global.msg[1] = scr_gettext("SCR_TEXT_4552") - global.msg[2] = scr_gettext("SCR_TEXT_4553") - break - case 757: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4559") - global.msg[1] = scr_gettext("SCR_TEXT_4560") - global.msg[2] = scr_gettext("SCR_TEXT_4561") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4565") - break - case 758: - global.msg[0] = scr_gettext("SCR_TEXT_4571") - global.msg[1] = scr_gettext("SCR_TEXT_4572") - global.msg[2] = scr_gettext("SCR_TEXT_4573") - break - case 759: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_4579") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4583") - break - case 760: - global.msg[0] = scr_gettext("SCR_TEXT_4588") - global.msg[1] = scr_gettext("SCR_TEXT_4589") - global.msg[2] = scr_gettext("SCR_TEXT_4590") - if (global.flag[67] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4591") - break - case 761: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4597") - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4602") - break - case 762: - global.msg[0] = scr_gettext("SCR_TEXT_4609") - global.msg[1] = scr_gettext("SCR_TEXT_4610") - global.msg[2] = scr_gettext("SCR_TEXT_4611") - global.msg[3] = scr_gettext("SCR_TEXT_4612") - global.msg[4] = scr_gettext("SCR_TEXT_4613") - global.msg[5] = scr_gettext("SCR_TEXT_4614") - global.msg[6] = scr_gettext("SCR_TEXT_4615") - global.msg[7] = scr_gettext("SCR_TEXT_4616") - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4623") - global.msg[1] = scr_gettext("SCR_TEXT_4624") - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4630") - global.msg[1] = scr_gettext("SCR_TEXT_4631") - global.msg[2] = scr_gettext("SCR_TEXT_4632") - global.msg[3] = scr_gettext("SCR_TEXT_4633") - } - break - case 764: - global.msg[0] = scr_gettext("SCR_TEXT_4639") - global.msg[1] = scr_gettext("SCR_TEXT_4640") - global.msg[2] = scr_gettext("SCR_TEXT_4641") - global.msg[3] = scr_gettext("SCR_TEXT_4642") - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = scr_gettext("SCR_TEXT_4649") - global.msg[1] = scr_gettext("SCR_TEXT_4650") - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = scr_gettext("SCR_TEXT_4655") - global.msg[1] = scr_gettext("SCR_TEXT_4656") - } - break - case 770: - global.msg[0] = scr_gettext("SCR_TEXT_4662") - global.msg[1] = scr_gettext("SCR_TEXT_4663") - global.msg[2] = scr_gettext("SCR_TEXT_4664") - global.msg[3] = scr_gettext("SCR_TEXT_4665") - global.msg[4] = scr_gettext("SCR_TEXT_4666") - if (global.flag[460] > 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4669") - global.msg[1] = scr_gettext("SCR_TEXT_4670") - global.msg[2] = scr_gettext("SCR_TEXT_4671") - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4678") - if (room == room_fire_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4680") - if (room == room_water_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4682") - if (room == room_tundra_dock) - global.msg[0] = scr_gettext("SCR_TEXT_4684") - global.msg[1] = scr_gettext("SCR_TEXT_4686") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_4691") - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = scr_gettext("SCR_TEXT_4713") - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4720") - global.msg[1] = scr_gettext("SCR_TEXT_4721") - global.msg[2] = scr_gettext("SCR_TEXT_4722") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_4725") - break - case 781: - global.msg[0] = scr_gettext("SCR_TEXT_4729") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = scr_gettext("SCR_TEXT_4743") - global.msg[1] = scr_gettext("SCR_TEXT_4744") - global.msg[2] = scr_gettext("SCR_TEXT_4745") - break - case 783: - global.msg[0] = scr_gettext("SCR_TEXT_4749") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = scr_gettext("SCR_TEXT_4763") - if (global.flag[484] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4767") - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4772") - global.msg[1] = scr_gettext("SCR_TEXT_4773") - global.msg[2] = scr_gettext("SCR_TEXT_4774") - } - break - case 785: - global.msg[0] = scr_gettext("SCR_TEXT_4779") - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = scr_gettext("SCR_TEXT_4791") - if (global.flag[491] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4794") - global.msg[1] = scr_gettext("SCR_TEXT_4795") - global.msg[2] = scr_gettext("SCR_TEXT_4796") - } - break - case 787: - global.msg[0] = scr_gettext("SCR_TEXT_4801") - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = scr_gettext("SCR_TEXT_4816") - global.msg[1] = scr_gettext("SCR_TEXT_4817") - global.msg[2] = scr_gettext("SCR_TEXT_4818") - global.msg[3] = scr_gettext("SCR_TEXT_4819") - global.msg[4] = scr_gettext("SCR_TEXT_4820") - global.msg[5] = scr_gettext("SCR_TEXT_4821") - global.msg[6] = scr_gettext("SCR_TEXT_4822") - global.msg[7] = scr_gettext("SCR_TEXT_4823") - global.msg[8] = scr_gettext("SCR_TEXT_4824") - global.msg[9] = scr_gettext("SCR_TEXT_4825") - global.msg[10] = scr_gettext("SCR_TEXT_4826") - global.msg[11] = scr_gettext("SCR_TEXT_4827") - global.msg[12] = scr_gettext("SCR_TEXT_4828") - global.msg[13] = scr_gettext("SCR_TEXT_4829") - global.msg[14] = scr_gettext("SCR_TEXT_4830") - global.msg[15] = scr_gettext("SCR_TEXT_4831") - global.msg[16] = scr_gettext("SCR_TEXT_4832") - global.msg[17] = scr_gettext("SCR_TEXT_4833") - global.msg[18] = scr_gettext("SCR_TEXT_4834") - global.msg[19] = scr_gettext("SCR_TEXT_4835") - global.msg[20] = scr_gettext("SCR_TEXT_4836") - global.msg[21] = scr_gettext("SCR_TEXT_4837") - global.msg[22] = scr_gettext("SCR_TEXT_4838") - global.msg[23] = scr_gettext("SCR_TEXT_4839") - global.msg[24] = scr_gettext("SCR_TEXT_4840") - global.msg[25] = scr_gettext("SCR_TEXT_4841") - global.msg[26] = scr_gettext("SCR_TEXT_4842") - global.msg[27] = scr_gettext("SCR_TEXT_4843") - global.msg[28] = scr_gettext("SCR_TEXT_4844") - global.msg[29] = scr_gettext("SCR_TEXT_4845") - global.msg[30] = scr_gettext("SCR_TEXT_4846") - global.msg[31] = scr_gettext("SCR_TEXT_4847") - global.msg[32] = scr_gettext("SCR_TEXT_4848") - global.msg[33] = scr_gettext("SCR_TEXT_4849") - global.msg[34] = scr_gettext("SCR_TEXT_4850") - global.msg[35] = scr_gettext("SCR_TEXT_4851") - global.msg[36] = scr_gettext("SCR_TEXT_4852") - global.msg[37] = scr_gettext("SCR_TEXT_4853") - global.msg[38] = scr_gettext("SCR_TEXT_4855") - global.msg[39] = scr_gettext("SCR_TEXT_4856") - break - case 801: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_4862") - global.msg[1] = scr_gettext("SCR_TEXT_4863") - global.msg[2] = scr_gettext("SCR_TEXT_4864") - global.msg[3] = scr_gettext("SCR_TEXT_4865") - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_4869") - global.msg[1] = scr_gettext("SCR_TEXT_4870") - global.msg[2] = scr_gettext("SCR_TEXT_4871") - global.msg[3] = scr_gettext("SCR_TEXT_4872") - } - global.msg[4] = scr_gettext("SCR_TEXT_4875") - global.msg[5] = scr_gettext("SCR_TEXT_4876") - global.msg[6] = scr_gettext("SCR_TEXT_4877") - global.msg[7] = scr_gettext("SCR_TEXT_4878") - global.msg[8] = scr_gettext("SCR_TEXT_4879") - global.msg[9] = scr_gettext("SCR_TEXT_4880") - global.msg[10] = scr_gettext("SCR_TEXT_4881") - global.msg[11] = scr_gettext("SCR_TEXT_4882") - global.msg[12] = scr_gettext("SCR_TEXT_4883") - break - case 803: - global.msg[0] = scr_gettext("SCR_TEXT_4887") - global.msg[1] = scr_gettext("SCR_TEXT_4888") - global.msg[2] = scr_gettext("SCR_TEXT_4889") - global.msg[3] = scr_gettext("SCR_TEXT_4890") - global.msg[4] = scr_gettext("SCR_TEXT_4891") - global.msg[5] = scr_gettext("SCR_TEXT_4892") - global.msg[6] = scr_gettext("SCR_TEXT_4893") - global.msg[7] = scr_gettext("SCR_TEXT_4894") - global.msg[8] = scr_gettext("SCR_TEXT_4895") - global.msg[9] = scr_gettext("SCR_TEXT_4896") - global.msg[10] = scr_gettext("SCR_TEXT_4897") - global.msg[11] = scr_gettext("SCR_TEXT_4898") - global.msg[12] = scr_gettext("SCR_TEXT_4899") - global.msg[13] = scr_gettext("SCR_TEXT_4900") - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = scr_gettext("SCR_TEXT_4919") - global.msg[1] = scr_gettext("SCR_TEXT_4920") - global.msg[2] = scr_gettext("SCR_TEXT_4921") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_4923") - global.msg[5] = scr_gettext("SCR_TEXT_4924") - global.msg[6] = scr_gettext("SCR_TEXT_4925") - global.msg[7] = scr_gettext("SCR_TEXT_4926") - scr_papface(8, 0) - global.msg[9] = scr_gettext("SCR_TEXT_4928") - global.msg[10] = scr_gettext("SCR_TEXT_4929") - scr_undface(11, 9) - global.msg[12] = scr_gettext("SCR_TEXT_4931") - global.msg[13] = scr_gettext("SCR_TEXT_4932") - global.msg[14] = scr_gettext("SCR_TEXT_4933") - global.msg[15] = scr_gettext("SCR_TEXT_4934") - scr_asgface(16, 2) - global.msg[17] = scr_gettext("SCR_TEXT_4936") - global.msg[18] = scr_gettext("SCR_TEXT_4937") - scr_alface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_4939") - global.msg[21] = scr_gettext("SCR_TEXT_4940") - global.msg[22] = scr_gettext("SCR_TEXT_4941") - global.msg[23] = scr_gettext("SCR_TEXT_4942") - global.msg[24] = scr_gettext("SCR_TEXT_4943") - global.msg[25] = scr_gettext("SCR_TEXT_4944") - global.msg[26] = scr_gettext("SCR_TEXT_4945") - break - case 807: - scr_asgface(0, 2) - global.msg[1] = scr_gettext("SCR_TEXT_4950") - if (global.choice == 1) - global.msg[1] = scr_gettext("SCR_TEXT_4952") - global.msg[2] = scr_gettext("SCR_TEXT_4953") - global.msg[3] = scr_gettext("SCR_TEXT_4954") - scr_alface(4, 3) - global.msg[5] = scr_gettext("SCR_TEXT_4956") - global.msg[6] = scr_gettext("SCR_TEXT_4957") - global.msg[7] = scr_gettext("SCR_TEXT_4958") - global.msg[8] = scr_gettext("SCR_TEXT_4959") - global.msg[9] = scr_gettext("SCR_TEXT_4960") - global.msg[10] = scr_gettext("SCR_TEXT_4961") - scr_asgface(11, 1) - global.msg[12] = scr_gettext("SCR_TEXT_4963") - scr_undface(13, 9) - global.msg[14] = scr_gettext("SCR_TEXT_4965") - scr_asgface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_4967") - scr_alface(17, 5) - global.msg[18] = scr_gettext("SCR_TEXT_4969") - break - case 808: - global.msg[0] = scr_gettext("SCR_TEXT_4973") - global.msg[1] = scr_gettext("SCR_TEXT_4974") - global.msg[2] = scr_gettext("SCR_TEXT_4975") - global.msg[3] = scr_gettext("SCR_TEXT_4976") - global.msg[4] = scr_gettext("SCR_TEXT_4977") - global.msg[5] = scr_gettext("SCR_TEXT_4978") - global.msg[6] = scr_gettext("SCR_TEXT_4979") - break - case 809: - global.msg[0] = scr_gettext("SCR_TEXT_4983") - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = scr_gettext("SCR_TEXT_4987") - global.msg[2] = scr_gettext("SCR_TEXT_4988") - global.msg[3] = scr_gettext("SCR_TEXT_4989") - global.msg[4] = scr_gettext("SCR_TEXT_4990") - global.msg[5] = scr_gettext("SCR_TEXT_4991") - global.msg[6] = scr_gettext("SCR_TEXT_4992") - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = scr_gettext("SCR_TEXT_4998") - global.msg[2] = scr_gettext("SCR_TEXT_4999") - global.msg[3] = scr_gettext("SCR_TEXT_5000") - global.msg[4] = scr_gettext("SCR_TEXT_5001") - } - break - case 810: - global.msg[0] = scr_gettext("SCR_TEXT_5007") - global.msg[1] = scr_gettext("SCR_TEXT_5008") - global.msg[2] = scr_gettext("SCR_TEXT_5009") - global.msg[3] = scr_gettext("SCR_TEXT_5010") - global.msg[4] = scr_gettext("SCR_TEXT_5011") - global.msg[5] = scr_gettext("SCR_TEXT_5012") - global.msg[6] = scr_gettext("SCR_TEXT_5013") - global.msg[7] = scr_gettext("SCR_TEXT_5014") - global.msg[8] = scr_gettext("SCR_TEXT_5015") - break - case 811: - global.msg[0] = scr_gettext("SCR_TEXT_5019") - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5023") - global.msg[2] = scr_gettext("SCR_TEXT_5024") - global.msg[3] = scr_gettext("SCR_TEXT_5025") - global.msg[4] = scr_gettext("SCR_TEXT_5026") - global.msg[5] = scr_gettext("SCR_TEXT_5027") - global.msg[6] = scr_gettext("SCR_TEXT_5028") - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = scr_gettext("SCR_TEXT_5034") - global.msg[2] = scr_gettext("SCR_TEXT_5035") - scr_undface(3, 2) - global.msg[4] = scr_gettext("SCR_TEXT_5037") - scr_asgface(5, 2) - global.msg[6] = scr_gettext("SCR_TEXT_5039") - global.msg[7] = scr_gettext("SCR_TEXT_5040") - scr_undface(8, 6) - global.msg[9] = scr_gettext("SCR_TEXT_5042") - scr_alface(10, 9) - global.msg[11] = scr_gettext("SCR_TEXT_5044") - global.msg[12] = scr_gettext("SCR_TEXT_5045") - scr_undface(13, 2) - global.msg[14] = scr_gettext("SCR_TEXT_5047") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5049") - scr_undface(17, 9) - global.msg[18] = scr_gettext("SCR_TEXT_5051") - scr_sansface(19, 1) - global.msg[20] = scr_gettext("SCR_TEXT_5053") - scr_torface(21, 0) - global.msg[22] = scr_gettext("SCR_TEXT_5055") - scr_undface(23, 1) - global.msg[24] = scr_gettext("SCR_TEXT_5057") - scr_asgface(25, 0) - global.msg[26] = scr_gettext("SCR_TEXT_5059") - scr_undface(27, 6) - global.msg[28] = scr_gettext("SCR_TEXT_5061") - scr_torface(29, 1) - global.msg[30] = scr_gettext("SCR_TEXT_5063") - scr_asgface(31, 5) - global.msg[32] = scr_gettext("SCR_TEXT_5065") - scr_undface(33, 1) - global.msg[34] = scr_gettext("SCR_TEXT_5067") - } - break - case 812: - global.msg[0] = scr_gettext("SCR_TEXT_5073") - global.msg[1] = scr_gettext("SCR_TEXT_5074") - global.msg[2] = scr_gettext("SCR_TEXT_5075") - global.msg[3] = scr_gettext("SCR_TEXT_5076") - global.msg[4] = scr_gettext("SCR_TEXT_5077") - break - case 813: - global.msg[0] = scr_gettext("SCR_TEXT_5081") - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = scr_gettext("SCR_TEXT_5095") - scr_asgface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5097") - scr_alface(3, 3) - global.msg[4] = scr_gettext("SCR_TEXT_5099") - global.msg[5] = scr_gettext("SCR_TEXT_5100") - scr_undface(6, 1) - global.msg[7] = scr_gettext("SCR_TEXT_5102") - global.msg[8] = scr_gettext("SCR_TEXT_5103") - global.msg[9] = scr_gettext("SCR_TEXT_5104") - scr_papface(10, 0) - global.msg[11] = scr_gettext("SCR_TEXT_5106") - global.msg[12] = scr_gettext("SCR_TEXT_5107") - scr_sansface(13, 1) - global.msg[14] = scr_gettext("SCR_TEXT_5109") - scr_papface(15, 0) - global.msg[16] = scr_gettext("SCR_TEXT_5111") - global.msg[17] = scr_gettext("SCR_TEXT_5112") - scr_asgface(18, 0) - global.msg[19] = scr_gettext("SCR_TEXT_5114") - scr_torface(20, 0) - global.msg[21] = scr_gettext("SCR_TEXT_5116") - global.msg[22] = scr_gettext("SCR_TEXT_5117") - scr_asgface(23, 3) - global.msg[24] = scr_gettext("SCR_TEXT_5119") - global.msg[25] = scr_gettext("SCR_TEXT_5120") - global.msg[26] = scr_gettext("SCR_TEXT_5121") - global.msg[27] = scr_gettext("SCR_TEXT_5122") - global.msg[28] = scr_gettext("SCR_TEXT_5123") - global.msg[29] = scr_gettext("SCR_TEXT_5124") - global.msg[30] = scr_gettext("SCR_TEXT_5125") - global.msg[31] = scr_gettext("SCR_TEXT_5126") - global.msg[32] = scr_gettext("SCR_TEXT_5127") - global.msg[33] = scr_gettext("SCR_TEXT_5128") - break - case 815: - scr_papface(0, 0) - global.msg[1] = scr_gettext("SCR_TEXT_5133") - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5136") - global.msg[2] = scr_gettext("SCR_TEXT_5137") - global.msg[3] = scr_gettext("SCR_TEXT_5138") - global.msg[4] = scr_gettext("SCR_TEXT_5139") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5143") - global.msg[2] = scr_gettext("SCR_TEXT_5144") - global.msg[3] = scr_gettext("SCR_TEXT_5145") - global.msg[4] = scr_gettext("SCR_TEXT_5146") - } - break - case 820: - global.msg[0] = scr_gettext("SCR_TEXT_5151") - global.msg[1] = scr_gettext("SCR_TEXT_5152") - global.msg[2] = scr_gettext("SCR_TEXT_5153") - global.msg[3] = scr_gettext("SCR_TEXT_5154") - global.msg[4] = scr_gettext("SCR_TEXT_5155") - global.msg[5] = scr_gettext("SCR_TEXT_5156") - global.msg[6] = scr_gettext("SCR_TEXT_5157") - break - case 821: - global.msg[0] = scr_gettext("SCR_TEXT_5161") - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = scr_gettext("SCR_TEXT_5182") - global.msg[1] = scr_gettext("SCR_TEXT_5183") - global.msg[2] = scr_gettext("SCR_TEXT_5184") - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = scr_gettext("SCR_TEXT_5197") - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5206") - break - case 827: - global.msg[0] = scr_gettext("SCR_TEXT_5212") - global.msg[1] = scr_gettext("SCR_TEXT_5213") - global.msg[2] = scr_gettext("SCR_TEXT_5214") - break - case 828: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5220") - global.msg[1] = scr_gettext("SCR_TEXT_5221") - global.msg[2] = scr_gettext("SCR_TEXT_5222") - global.msg[3] = scr_gettext("SCR_TEXT_5223") - global.msg[4] = scr_gettext("SCR_TEXT_5224") - global.msg[5] = scr_gettext("SCR_TEXT_5225") - global.msg[6] = scr_gettext("SCR_TEXT_5226") - global.msg[7] = scr_gettext("SCR_TEXT_5227") - global.msg[8] = scr_gettext("SCR_TEXT_5228") - global.msg[9] = scr_gettext("SCR_TEXT_5229") - global.msg[10] = scr_gettext("SCR_TEXT_5230") - global.msg[11] = scr_gettext("SCR_TEXT_5231") - global.msg[12] = scr_gettext("SCR_TEXT_5232") - global.msg[13] = scr_gettext("SCR_TEXT_5233") - global.msg[14] = scr_gettext("SCR_TEXT_5234") - global.msg[15] = scr_gettext("SCR_TEXT_5235") - global.msg[16] = scr_gettext("SCR_TEXT_5236") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5240") - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = scr_gettext("SCR_TEXT_5250") - global.msg[1] = scr_gettext("SCR_TEXT_5251") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5255") - global.msg[1] = scr_gettext("SCR_TEXT_5256") - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5274") - if (afford == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5275") - } - if (noroom == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5277") - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5280") - break - case 831: - global.msg[0] = scr_gettext("SCR_TEXT_5285") - global.msg[1] = scr_gettext("SCR_TEXT_5286") - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - global.msg[2] = scr_gettext("SCR_TEXT_5290") - global.msg[3] = scr_gettext("SCR_TEXT_5291") - global.msg[4] = scr_gettext("SCR_TEXT_5292") - global.msg[5] = scr_gettext("SCR_TEXT_5293") - if (bs == 1) - global.msg[6] = scr_gettext("SCR_TEXT_5295") - else if (bs == 2) - global.msg[6] = scr_gettext("SCR_TEXT_5296") - else - global.msg[6] = scr_gettext("SCR_TEXT_5294") - global.msg[7] = scr_gettext("SCR_TEXT_5297") - break - case 832: - ossafe_ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ossafe_ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - else - global.flag[46] = 0 - global.msg[0] = scr_gettext("SCR_TEXT_5309") - global.msg[1] = scr_gettext("SCR_TEXT_5310") - global.msg[2] = scr_gettext("SCR_TEXT_5311") - global.msg[3] = scr_gettext("SCR_TEXT_5312") - global.msg[4] = scr_gettext("SCR_TEXT_5313") - global.msg[5] = scr_gettext("SCR_TEXT_5314") - global.msg[6] = scr_gettext("SCR_TEXT_5315") - global.msg[7] = scr_gettext("SCR_TEXT_5316") - global.msg[8] = scr_gettext("SCR_TEXT_5317") - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - else - global.flag[46] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5323") - global.msg[1] = scr_gettext("SCR_TEXT_5324") - global.msg[2] = scr_gettext("SCR_TEXT_5325") - global.msg[3] = scr_gettext("SCR_TEXT_5326") - ossafe_ini_open("undertale.ini") - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ossafe_savedata_save() - ossafe_ini_close() - } - break - case 833: - global.msg[0] = scr_gettext("SCR_TEXT_5337") - global.msg[1] = scr_gettext("SCR_TEXT_5338") - global.msg[2] = scr_gettext("SCR_TEXT_5339") - break - case 834: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5345") - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_5353") - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = scr_gettext("SCR_TEXT_5359") - global.msg[1] = scr_gettext("SCR_TEXT_5360") - global.msg[2] = scr_gettext("SCR_TEXT_5361") - global.msg[3] = scr_gettext("SCR_TEXT_5362") - global.msg[4] = scr_gettext("SCR_TEXT_5363") - global.msg[5] = scr_gettext("SCR_TEXT_5364") - global.msg[6] = scr_gettext("SCR_TEXT_5365") - global.msg[7] = scr_gettext("SCR_TEXT_5366") - global.msg[8] = scr_gettext("SCR_TEXT_5367") - global.msg[9] = scr_gettext("SCR_TEXT_5368") - global.msg[10] = scr_gettext("SCR_TEXT_5369") - global.msg[11] = scr_gettext("SCR_TEXT_5370") - global.msg[12] = scr_gettext("SCR_TEXT_5371") - global.msg[13] = scr_gettext("SCR_TEXT_5372") - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5379") - global.msg[2] = scr_gettext("SCR_TEXT_5380") - global.msg[3] = scr_gettext("SCR_TEXT_5381") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = scr_gettext("SCR_TEXT_5390") - global.msg[2] = scr_gettext("SCR_TEXT_5391") - global.msg[3] = scr_gettext("SCR_TEXT_5392") - global.msg[4] = scr_gettext("SCR_TEXT_5393") - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = scr_gettext("SCR_TEXT_5402") - scr_alface(1, 0) - global.msg[2] = scr_gettext("SCR_TEXT_5404") - global.msg[3] = scr_gettext("SCR_TEXT_5405") - global.msg[4] = scr_gettext("SCR_TEXT_5406") - global.msg[5] = scr_gettext("SCR_TEXT_5407") - global.msg[6] = scr_gettext("SCR_TEXT_5408") - global.msg[7] = scr_gettext("SCR_TEXT_5409") - global.msg[8] = scr_gettext("SCR_TEXT_5410") - global.msg[9] = scr_gettext("SCR_TEXT_5411") - global.msg[10] = scr_gettext("SCR_TEXT_5412") - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = scr_gettext("SCR_TEXT_5420") - global.msg[2] = scr_gettext("SCR_TEXT_5421") - global.msg[3] = scr_gettext("SCR_TEXT_5422") - global.msg[4] = scr_gettext("SCR_TEXT_5423") - global.msg[5] = scr_gettext("SCR_TEXT_5424") - global.msg[6] = scr_gettext("SCR_TEXT_5425") - global.msg[7] = scr_gettext("SCR_TEXT_5426") - global.msg[8] = scr_gettext("SCR_TEXT_5427") - global.msg[9] = scr_gettext("SCR_TEXT_5428") - global.msg[10] = scr_gettext("SCR_TEXT_5429") - global.msg[11] = scr_gettext("SCR_TEXT_5430") - global.msg[12] = scr_gettext("SCR_TEXT_5431") - global.msg[13] = scr_gettext("SCR_TEXT_5432") - global.msg[14] = scr_gettext("SCR_TEXT_5433") - global.msg[15] = scr_gettext("SCR_TEXT_5434") - global.msg[16] = scr_gettext("SCR_TEXT_5435") - global.msg[17] = scr_gettext("SCR_TEXT_5436") - global.msg[18] = scr_gettext("SCR_TEXT_5437") - global.msg[19] = scr_gettext("SCR_TEXT_5438") - global.msg[20] = scr_gettext("SCR_TEXT_5439") - global.msg[21] = scr_gettext("SCR_TEXT_5440") - } - if (global.choice == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_5445") - global.msg[2] = scr_gettext("SCR_TEXT_5446") - global.msg[3] = scr_gettext("SCR_TEXT_5447") - global.msg[4] = scr_gettext("SCR_TEXT_5448") - global.msg[5] = scr_gettext("SCR_TEXT_5449") - global.msg[6] = scr_gettext("SCR_TEXT_5450") - } - break - case 839: - global.msg[0] = scr_gettext("SCR_TEXT_5455") - global.msg[1] = scr_gettext("SCR_TEXT_5456") - global.msg[2] = scr_gettext("SCR_TEXT_5457") - global.msg[3] = scr_gettext("SCR_TEXT_5458") - global.msg[4] = scr_gettext("SCR_TEXT_5459") - global.msg[5] = scr_gettext("SCR_TEXT_5460") - global.msg[6] = scr_gettext("SCR_TEXT_5461") - global.msg[7] = scr_gettext("SCR_TEXT_5462") - global.msg[8] = scr_gettext("SCR_TEXT_5463") - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = scr_gettext("SCR_TEXT_5471") - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = scr_gettext("SCR_TEXT_5477") - } - break - case 845: - global.msg[0] = scr_gettext("SCR_TEXT_5485") - global.msg[1] = scr_gettext("SCR_TEXT_5486") - global.msg[2] = scr_gettext("SCR_TEXT_5487") - break - case 846: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5493") - global.msg[1] = scr_gettext("SCR_TEXT_5494") - global.msg[2] = scr_gettext("SCR_TEXT_5495") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5499") - break - case 847: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5506") - else - global.msg[0] = scr_gettext("SCR_TEXT_5510") - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = scr_gettext("SCR_TEXT_5517") - global.msg[1] = scr_gettext("SCR_TEXT_5518") - global.msg[2] = scr_gettext("SCR_TEXT_5519") - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5527") - global.msg[1] = scr_gettext("SCR_TEXT_5528") - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5533") - global.msg[1] = scr_gettext("SCR_TEXT_5534") - } - break - case 853: - global.msg[0] = scr_gettext("SCR_TEXT_5541") - global.msg[1] = scr_gettext("SCR_TEXT_5542") - global.msg[2] = scr_gettext("SCR_TEXT_5543") - break - case 854: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5550") - global.msg[1] = scr_gettext("SCR_TEXT_5551") - global.msg[2] = scr_gettext("SCR_TEXT_5552") - global.msg[3] = scr_gettext("SCR_TEXT_5553") - global.msg[4] = scr_gettext("SCR_TEXT_5554") - global.msg[5] = scr_gettext("SCR_TEXT_5555") - global.msg[6] = scr_gettext("SCR_TEXT_5556") - global.msg[7] = scr_gettext("SCR_TEXT_5557") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5561") - break - case 860: - global.msg[0] = scr_gettext("SCR_TEXT_5566") - if (global.flag[262] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5569") - global.msg[1] = scr_gettext("SCR_TEXT_5570") - global.msg[2] = scr_gettext("SCR_TEXT_5571") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5575") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5581") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5585") - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5598") - global.msg[1] = scr_gettext("SCR_TEXT_5599") - global.msg[2] = scr_gettext("SCR_TEXT_5600") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5604") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5609") - break - case 862: - global.msg[0] = scr_gettext("SCR_TEXT_5614") - if (global.flag[263] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5617") - global.msg[1] = scr_gettext("SCR_TEXT_5618") - global.msg[2] = scr_gettext("SCR_TEXT_5619") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5623") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5628") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5632") - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5646") - global.msg[1] = scr_gettext("SCR_TEXT_5647") - global.msg[2] = scr_gettext("SCR_TEXT_5648") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5652") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5657") - break - case 864: - global.msg[0] = scr_gettext("SCR_TEXT_5662") - global.msg[1] = scr_gettext("SCR_TEXT_5663") - global.msg[2] = scr_gettext("SCR_TEXT_5664") - global.msg[3] = scr_gettext("SCR_TEXT_5665") - if (global.flag[7] == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5669") - break - case 865: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5676") - global.msg[1] = scr_gettext("SCR_TEXT_5677") - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = scr_gettext("SCR_TEXT_5705") - global.msg[1] = scr_gettext("SCR_TEXT_5706") - global.msg[2] = scr_gettext("SCR_TEXT_5707") - global.msg[3] = scr_gettext("SCR_TEXT_5708") - global.msg[4] = scr_gettext("SCR_TEXT_5709") - global.msg[5] = scr_gettext("SCR_TEXT_5710") - global.msg[6] = scr_gettext("SCR_TEXT_5711") - global.msg[7] = scr_gettext("SCR_TEXT_5712") - global.msg[8] = scr_gettext("SCR_TEXT_5713") - global.msg[9] = scr_gettext("SCR_TEXT_5714") - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5720") - global.msg[1] = scr_gettext("SCR_TEXT_5721") - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = scr_gettext("SCR_TEXT_5727") - global.msg[1] = scr_gettext("SCR_TEXT_5728") - global.msg[2] = scr_gettext("SCR_TEXT_5729") - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = scr_gettext("SCR_TEXT_5736") - global.msg[1] = scr_gettext("SCR_TEXT_5737") - global.msg[2] = scr_gettext("SCR_TEXT_5738") - if (noroom == 1) - global.msg[3] = scr_gettext("SCR_TEXT_5743") - else - global.msg[3] = scr_gettext("SCR_TEXT_5747") - } - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_5755") - break - case 866: - global.msg[0] = scr_gettext("SCR_TEXT_5761") - global.msg[1] = scr_gettext("SCR_TEXT_5762") - global.msg[2] = scr_gettext("SCR_TEXT_5763") - global.msg[3] = scr_gettext("SCR_TEXT_5764") - if (global.flag[267] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_5768") - global.msg[1] = scr_gettext("SCR_TEXT_5769") - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = scr_gettext("SCR_TEXT_5774") - global.msg[1] = scr_gettext("SCR_TEXT_5775") - global.msg[2] = scr_gettext("SCR_TEXT_5776") - global.msg[3] = scr_gettext("SCR_TEXT_5777") - global.msg[4] = scr_gettext("SCR_TEXT_5778") - global.msg[5] = scr_gettext("SCR_TEXT_5779") - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = scr_gettext("SCR_TEXT_5791") - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5797") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_5802") - break - case 870: - global.msg[0] = scr_gettext("SCR_TEXT_5807") - global.msg[1] = scr_gettext("SCR_TEXT_5808") - global.msg[2] = scr_gettext("SCR_TEXT_5809") - global.msg[3] = scr_gettext("SCR_TEXT_5810") - global.msg[4] = scr_gettext("SCR_TEXT_5811") - global.msg[5] = scr_gettext("SCR_TEXT_5812") - global.msg[6] = scr_gettext("SCR_TEXT_5813") - break - case 871: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5819") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5823") - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = scr_gettext("SCR_TEXT_5829") - global.msg[1] = scr_gettext("SCR_TEXT_5830") - global.msg[2] = scr_gettext("SCR_TEXT_5831") - global.msg[3] = scr_gettext("SCR_TEXT_5832") - global.msg[4] = scr_gettext("SCR_TEXT_5833") - global.msg[5] = scr_gettext("SCR_TEXT_5834") - global.msg[6] = scr_gettext("SCR_TEXT_5835") - global.msg[7] = scr_gettext("SCR_TEXT_5836") - break - case 889: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5842") - else - global.msg[0] = scr_gettext("SCR_TEXT_5846") - break - case 890: - global.msg[0] = scr_gettext("SCR_TEXT_5851") - global.msg[1] = scr_gettext("SCR_TEXT_5852") - global.msg[2] = scr_gettext("SCR_TEXT_5853") - global.msg[3] = scr_gettext("SCR_TEXT_5854") - global.msg[4] = scr_gettext("SCR_TEXT_5855") - global.msg[5] = scr_gettext("SCR_TEXT_5856") - global.msg[6] = scr_gettext("SCR_TEXT_5857") - break - case 891: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5863") - global.msg[1] = scr_gettext("SCR_TEXT_5864") - global.msg[2] = scr_gettext("SCR_TEXT_5865") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5869") - global.msg[1] = scr_gettext("SCR_TEXT_5870") - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_5877") - global.msg[1] = scr_gettext("SCR_TEXT_5878") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5882") - global.msg[1] = scr_gettext("SCR_TEXT_5883") - } - break - case 900: - global.msg[0] = scr_gettext("SCR_TEXT_5888") - global.msg[1] = scr_gettext("SCR_TEXT_5889") - global.msg[2] = scr_gettext("SCR_TEXT_5890") - global.msg[3] = scr_gettext("SCR_TEXT_5891") - break - case 901: - if (global.choice == 0) - global.msg[0] = scr_gettext("SCR_TEXT_5897") - else - { - global.msg[0] = scr_gettext("SCR_TEXT_5901") - global.msg[1] = scr_gettext("SCR_TEXT_5902") - global.msg[2] = scr_gettext("SCR_TEXT_5903") - } - break - case 950: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5913") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5914") - global.msg[2] = " " - if (global.flag[295] >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - if (global.flag[295] == 2 && global.flag[294] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5924") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5925") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[3] = " " - global.flag[295] = 3 - } - if (global.flag[295] == 3 && global.flag[294] == 5) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5933") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[2] = " " - global.flag[295] = 4 - } - if (global.flag[295] == 4 && global.flag[294] == 10) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5941") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5942") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_5943") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_5944") - global.msg[4] = scr_gettext("SCR_TEXT_dogshrine_5919", string(global.flag[292]), string(global.flag[293])) - global.msg[5] = " " - global.flag[295] = 5 - } - if (global.flag[295] >= 6) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5954") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5955") - if (global.flag[7] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5958") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5959") - } - } - break - case 951: - if (doak == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5970") - if (global.choice == 0) - { - if (global.flag[292] >= global.flag[293]) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5977") - if (global.gold <= 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5982") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5983") - } - if (global.flag[292] < global.flag[293]) - { - if (global.gold >= 1) - { - snd_play(snd_item) - global.gold -= 1 - global.flag[292] += 1 - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5993") - if (global.flag[295] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_5997") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_5998") - } - if (global.flag[292] >= global.flag[293]) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6003") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6004") - global.flag[294] += 1 - trophy_unlock(("donate_" + string(global.flag[294]))) - } - } - } - if (global.flag[295] == 0) - global.flag[295] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6015") - doak = 1 - } - break - case 952: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6024") - global.msg[1] = " " - break - case 953: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6031") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6032") - global.flag[296] = 1 - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6037") - break - case 955: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6045") - global.msg[1] = scr_gettext("SCR_TEXT_dogshrine_6046") - global.msg[2] = scr_gettext("SCR_TEXT_dogshrine_6047") - global.msg[3] = scr_gettext("SCR_TEXT_dogshrine_6048") - global.msg[4] = " " - break - case 956: - p = caster_get_pitch(global.currentsong) - p2 = (p + 0.1) - if (p2 >= 1.5) - p2 = 1.5 - if (global.choice == 0) - { - caster_set_pitch(global.currentsong, p2) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6059") - } - if (global.choice == 1) - { - if (p == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6065") - else - { - caster_set_pitch(global.currentsong, 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6070") - } - } - break - case 960: - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6076", string(global.flag[292])) - global.msg[1] = " " - break - case 961: - if (doak == 0) - { - if (global.choice == 0) - { - if (global.flag[292] < 350) - { - if (global.gold >= 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6095") - global.flag[292] += 1 - if (global.flag[292] >= 2) - trophy_unlock("donate_1") - if (global.flag[292] >= 6) - trophy_unlock("donate_2") - if (global.flag[292] >= 12) - trophy_unlock("donate_3") - if (global.flag[292] >= 20) - trophy_unlock("donate_4") - if (global.flag[292] >= 30) - trophy_unlock("donate_5") - if (global.flag[292] >= 43) - trophy_unlock("donate_6") - if (global.flag[292] >= 59) - trophy_unlock("donate_7") - if (global.flag[292] >= 78) - trophy_unlock("donate_8") - if (global.flag[292] >= 100) - trophy_unlock("donate_9") - if (global.flag[292] >= 125) - trophy_unlock("donate_10") - if (global.flag[292] >= 155) - trophy_unlock("donate_11") - if (global.flag[292] >= 190) - trophy_unlock("donate_12") - if (global.flag[292] >= 230) - trophy_unlock("donate_13") - if (global.flag[292] >= 280) - trophy_unlock("donate_14") - if (global.flag[292] >= 350) - trophy_unlock("donate_15") - global.gold -= 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6101") - } - else - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6106") - } - if (global.choice == 1) - global.msg[0] = scr_gettext("SCR_TEXT_dogshrine_6112") - doak = 1 - } - break - case 965: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_2") - global.msg[1] = scr_gettext("SCR_TEXT_mewmew_3") - global.msg[2] = " " - if (global.tempvalue[14] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_6") - with (obj_mewmew_npc) - con = 1 - } - break - case 966: - if (global.choice == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_4") - with (obj_mewmew_npc) - con = 1 - } - else - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_5") - break - case 1001: - global.msg[0] = scr_gettext("SCR_TEXT_5937") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = scr_gettext("SCR_TEXT_5948") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = scr_gettext("SCR_TEXT_5959") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = scr_gettext("SCR_TEXT_5970") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = scr_gettext("SCR_TEXT_5981") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = scr_gettext("SCR_TEXT_5991") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = scr_gettext("SCR_TEXT_6001") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = scr_gettext("SCR_TEXT_6011") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = scr_gettext("SCR_TEXT_6021") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = scr_gettext("SCR_TEXT_6031") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = scr_gettext("SCR_TEXT_6041") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = scr_gettext("SCR_TEXT_6051") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = scr_gettext("SCR_TEXT_6061") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = scr_gettext("SCR_TEXT_6071") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = scr_gettext("SCR_TEXT_6081") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = scr_gettext("SCR_TEXT_6091") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = scr_gettext("SCR_TEXT_6101") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6114") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6124") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = scr_gettext("SCR_TEXT_6135") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = scr_gettext("SCR_TEXT_6145") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = scr_gettext("SCR_TEXT_6155") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = scr_gettext("SCR_TEXT_6165") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = scr_gettext("SCR_TEXT_6175") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = scr_gettext("SCR_TEXT_6185") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = scr_gettext("SCR_TEXT_6196") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = scr_gettext("SCR_TEXT_6206") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6221") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6234") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_6244") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = scr_gettext("SCR_TEXT_6259") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = scr_gettext("SCR_TEXT_6269") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = scr_gettext("SCR_TEXT_6279") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = scr_gettext("SCR_TEXT_6289") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = scr_gettext("SCR_TEXT_6300") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = scr_gettext("SCR_TEXT_6313") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = scr_gettext("SCR_TEXT_6323") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = scr_gettext("SCR_TEXT_6333") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = scr_gettext("SCR_TEXT_6343") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = scr_gettext("SCR_TEXT_6353") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = scr_gettext("SCR_TEXT_6363") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = scr_gettext("SCR_TEXT_6374", string(global.flag[382])) - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = scr_gettext("SCR_TEXT_6384") - if (global.flag[385] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6387") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = scr_gettext("SCR_TEXT_6398") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = scr_gettext("SCR_TEXT_6408") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = scr_gettext("SCR_TEXT_6418") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = scr_gettext("SCR_TEXT_6428") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = scr_gettext("SCR_TEXT_6438") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = scr_gettext("SCR_TEXT_6449") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = scr_gettext("SCR_TEXT_6460") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = scr_gettext("SCR_TEXT_6470") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = scr_gettext("SCR_TEXT_6480") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = scr_gettext("SCR_TEXT_6490") - if (global.flag[424] > 0) - global.msg[0] = scr_gettext("SCR_TEXT_6493") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = scr_gettext("SCR_TEXT_6504") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = scr_gettext("SCR_TEXT_6514") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = scr_gettext("SCR_TEXT_6524") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = scr_gettext("SCR_TEXT_6534") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = scr_gettext("SCR_TEXT_6544") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = scr_gettext("SCR_TEXT_6554") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6565") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = scr_gettext("SCR_TEXT_6579") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = scr_gettext("SCR_TEXT_6589") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = scr_gettext("SCR_TEXT_6599") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = scr_gettext("SCR_TEXT_6609") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = scr_gettext("SCR_TEXT_6619") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = scr_gettext("SCR_TEXT_6629") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = scr_gettext("SCR_TEXT_6639") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = scr_gettext("SCR_TEXT_6649") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = scr_gettext("SCR_TEXT_6659") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = scr_gettext("SCR_TEXT_6669") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = scr_gettext("SCR_TEXT_6679") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = scr_gettext("SCR_TEXT_6689") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = scr_gettext("SCR_TEXT_6699") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = scr_gettext("SCR_TEXT_6709") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = scr_gettext("SCR_TEXT_6720") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = scr_gettext("SCR_TEXT_6731") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = scr_gettext("SCR_TEXT_6741") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = scr_gettext("SCR_TEXT_6751") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = scr_gettext("SCR_TEXT_6761") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1077: - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_0") - if instance_exists(obj_mewmew_boss) - { - if (obj_mewmew_boss.true_battle >= 1) - global.msg[0] = scr_gettext("SCR_TEXT_mewmew_1") - } - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = scr_gettext("SCR_TEXT_6772") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = scr_gettext("SCR_TEXT_6783") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = scr_gettext("SCR_TEXT_6793") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = scr_gettext("SCR_TEXT_6804") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = scr_gettext("SCR_TEXT_6814") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = scr_gettext("SCR_TEXT_6825") - else - global.msg[0] = scr_gettext("SCR_TEXT_6826") - if (global.flag[506] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6828") - else - global.msg[0] += scr_gettext("SCR_TEXT_6829") - if (global.flag[507] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6831") - else - global.msg[0] += scr_gettext("SCR_TEXT_6832") - if (global.flag[508] == 0) - global.msg[0] += scr_gettext("SCR_TEXT_6834") - else - global.msg[0] += scr_gettext("SCR_TEXT_6835") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = scr_gettext("SCR_TEXT_6848") - if (global.flag[501] == 3) - global.msg[0] = scr_gettext("SCR_TEXT_6849") - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = scr_gettext("SCR_TEXT_6868") - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = scr_gettext("SCR_TEXT_6876") - global.msg[2] = scr_gettext("SCR_TEXT_6877") - global.msg[3] = scr_gettext("SCR_TEXT_6878") - global.msg[4] = scr_gettext("SCR_TEXT_6879") - global.msg[5] = scr_gettext("SCR_TEXT_6880") - global.msg[6] = scr_gettext("SCR_TEXT_6881") - global.msg[7] = scr_gettext("SCR_TEXT_6882") - } - if (global.flag[40] == 2) - { - global.msg[1] = scr_gettext("SCR_TEXT_6886") - global.msg[2] = scr_gettext("SCR_TEXT_6887") - global.msg[3] = scr_gettext("SCR_TEXT_6888") - global.msg[4] = scr_gettext("SCR_TEXT_6889") - global.msg[5] = scr_gettext("SCR_TEXT_6890") - global.msg[6] = scr_gettext("SCR_TEXT_6891") - global.msg[7] = scr_gettext("SCR_TEXT_6892") - } - if (global.flag[40] == 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6896") - global.msg[2] = scr_gettext("SCR_TEXT_6897") - global.msg[3] = scr_gettext("SCR_TEXT_6898") - global.msg[4] = scr_gettext("SCR_TEXT_6899") - global.msg[5] = scr_gettext("SCR_TEXT_6900") - global.msg[6] = scr_gettext("SCR_TEXT_6901") - global.msg[7] = scr_gettext("SCR_TEXT_6902") - global.msg[8] = scr_gettext("SCR_TEXT_6903") - global.msg[9] = scr_gettext("SCR_TEXT_6904") - global.msg[10] = scr_gettext("SCR_TEXT_6905") - } - if (global.flag[40] > 3) - { - global.msg[1] = scr_gettext("SCR_TEXT_6909") - global.msg[2] = scr_gettext("SCR_TEXT_6910") - global.msg[3] = scr_gettext("SCR_TEXT_6911") - global.msg[4] = scr_gettext("SCR_TEXT_6912") - global.msg[5] = scr_gettext("SCR_TEXT_6913") - global.msg[6] = scr_gettext("SCR_TEXT_6914") - global.msg[7] = scr_gettext("SCR_TEXT_6915") - } - break - case 1502: - global.msg[0] = scr_gettext("SCR_TEXT_6920") - global.msg[1] = scr_gettext("SCR_TEXT_6921") - global.msg[2] = scr_gettext("SCR_TEXT_6922") - global.msg[3] = scr_gettext("SCR_TEXT_6923") - global.msg[4] = scr_gettext("SCR_TEXT_6924") - global.msg[5] = scr_gettext("SCR_TEXT_6925") - global.msg[6] = scr_gettext("SCR_TEXT_6926") - global.msg[7] = scr_gettext("SCR_TEXT_6927") - break - case 1503: - global.msg[0] = scr_gettext("SCR_TEXT_6931") - global.msg[1] = scr_gettext("SCR_TEXT_6932") - global.msg[2] = scr_gettext("SCR_TEXT_6933") - global.msg[3] = scr_gettext("SCR_TEXT_6934") - global.msg[4] = scr_gettext("SCR_TEXT_6935") - global.msg[5] = scr_gettext("SCR_TEXT_6936") - global.msg[6] = scr_gettext("SCR_TEXT_6937") - global.msg[7] = scr_gettext("SCR_TEXT_6938") - break - case 1504: - global.flag[42] = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6943") - global.msg[1] = scr_gettext("SCR_TEXT_6944") - global.msg[2] = scr_gettext("SCR_TEXT_6945") - global.msg[3] = scr_gettext("SCR_TEXT_6946") - global.msg[4] = scr_gettext("SCR_TEXT_6947") - global.msg[5] = scr_gettext("SCR_TEXT_6948") - global.msg[6] = scr_gettext("SCR_TEXT_6949") - global.msg[7] = scr_gettext("SCR_TEXT_6950") - global.msg[8] = scr_gettext("SCR_TEXT_6951") - global.msg[9] = scr_gettext("SCR_TEXT_6952") - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_6963") - global.msg[1] = scr_gettext("SCR_TEXT_6964") - global.msg[2] = scr_gettext("SCR_TEXT_6965") - global.msg[3] = scr_gettext("SCR_TEXT_6966") - global.msg[4] = scr_gettext("SCR_TEXT_6967") - global.msg[5] = scr_gettext("SCR_TEXT_6968") - global.msg[6] = scr_gettext("SCR_TEXT_6969") - global.msg[7] = scr_gettext("SCR_TEXT_6970") - } - if (global.flag[41] == 2) - { - global.msg[0] = scr_gettext("SCR_TEXT_6974") - global.msg[1] = scr_gettext("SCR_TEXT_6975") - global.msg[2] = scr_gettext("SCR_TEXT_6976") - global.msg[3] = scr_gettext("SCR_TEXT_6977") - global.msg[4] = scr_gettext("SCR_TEXT_6978") - global.msg[5] = scr_gettext("SCR_TEXT_6979") - if (global.flag[42] == 1) - { - global.msg[3] = scr_gettext("SCR_TEXT_6982") - global.msg[4] = scr_gettext("SCR_TEXT_6983") - global.msg[5] = scr_gettext("SCR_TEXT_6984") - global.msg[6] = scr_gettext("SCR_TEXT_6985") - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = scr_gettext("SCR_TEXT_6994") - global.msg[1] = scr_gettext("SCR_TEXT_6995") - global.msg[2] = scr_gettext("SCR_TEXT_6996") - } - else - { - global.msg[0] = scr_gettext("SCR_TEXT_7000") - global.msg[1] = scr_gettext("SCR_TEXT_7001") - global.msg[2] = scr_gettext("SCR_TEXT_7002") - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = scr_gettext("SCR_TEXT_7007") - global.msg[1] = scr_gettext("SCR_TEXT_7008") - global.msg[2] = scr_gettext("SCR_TEXT_7009") - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = scr_gettext("SCR_TEXT_7016") - global.msg[1] = scr_gettext("SCR_TEXT_7017") - global.msg[2] = scr_gettext("SCR_TEXT_7018") - global.msg[3] = scr_gettext("SCR_TEXT_7019") - global.msg[4] = scr_gettext("SCR_TEXT_7020") - global.msg[5] = scr_gettext("SCR_TEXT_7021") - break - case 1508: - global.msg[0] = scr_gettext("SCR_TEXT_7025") - global.msg[1] = scr_gettext("SCR_TEXT_7026") - global.msg[2] = scr_gettext("SCR_TEXT_7027") - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = scr_gettext("SCR_TEXT_7040") - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = scr_gettext("SCR_TEXT_7052") - break - case 2001: - global.msg[0] = scr_gettext("SCR_TEXT_306") - global.msg[1] = scr_gettext("SCR_TEXT_307") - break - case 2002: - global.faceplate = 1 - global.msg[0] = scr_gettext("SCR_TEXT_6965") - global.msg[1] = scr_gettext("SCR_TEXT_6966") - global.msg[2] = scr_gettext("SCR_TEXT_6967") - global.msg[3] = (scr_gettext("SCR_TEXT_6968") + "%") - break - case 3002: - global.msg[0] = scr_gettext("SCR_TEXT_7079") - global.msg[1] = scr_gettext("SCR_TEXT_7080") - break - case 3003: - global.msg[0] = scr_gettext("SCR_TEXT_7084") - global.msg[1] = scr_gettext("SCR_TEXT_7085") - break - case 3004: - global.msg[0] = scr_gettext("SCR_TEXT_7089") - global.msg[1] = scr_gettext("SCR_TEXT_7090") - break - case 3005: - global.msg[0] = scr_gettext("SCR_TEXT_7094") - global.msg[1] = scr_gettext("SCR_TEXT_7095") - break - case 3006: - global.msg[0] = scr_gettext("SCR_TEXT_7099") - global.msg[1] = scr_gettext("SCR_TEXT_7100") - break - case 3007: - global.msg[0] = scr_gettext("SCR_TEXT_7104") - global.msg[1] = scr_gettext("SCR_TEXT_7105") - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_get_colour_element.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_get_colour_element.gml deleted file mode 100644 index e65c0a569..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_get_colour_element.gml +++ /dev/null @@ -1,55 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __nearestdepth = -15000; -var __farthestdepth = 15999; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __colstring = "Compatibility_Colour"; -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__colstring, __layername) > 0) - { - __layerid = __layerlist[__i]; - - break; - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(-1, false, false, -1, 0, 0, true, true,1,1, true, 0, 0, $0, 1); - __result[0] = __newback[0]; - __result[1] = __newback[1]; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_get_element.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_get_element.gml deleted file mode 100644 index bd067ef6b..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_get_element.gml +++ /dev/null @@ -1,84 +0,0 @@ -var __bind = argument0; - -var __result; -__result[0] = -1; -__result[1] = -1; -__result[2] = -1; - - -// Look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __i; - -var __layerid = -1; -var __isforeground = false; - -// Try and find the appropriate background in the list of layers -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = true; - - break; - } - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - - if (__slot == __bind) - { - __layerid = __layerlist[__i]; - __isforeground = false; - - break; - } - } -} - -if (__layerid != -1) -{ - // We have a winner! - // Get id of background element on this layer - var __els = layer_get_all_elements(__layerid); - var __elslength = array_length_1d(__els); - for(__i = 0; __i < __elslength; __i++) - { - if (layer_get_element_type(__els[__i]) == layerelementtype_background) - { - __result[0] = __els[__i]; - __result[1] = __layerid; - __result[2] = __isforeground; - } - } -} -else -{ - // Need to construct a new layer with a new background - var __newback = __background_set_element(__bind, false, false, -1, 0, 0, true, true, 1, 1, false, 0, 0, $ffffff, 1) - __result[0] = __newback[0]; - __result[1] = __newback[1]; - __result[2] = false; -} - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_set_element.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_set_element.gml deleted file mode 100644 index 469f740c1..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script___background_set_element.gml +++ /dev/null @@ -1,188 +0,0 @@ -// NOTE: this script will only work properly if you're using the standard depth range (-16000 to 16000) -var __bind = argument0; -var __vis = argument1; -var __fore = argument2; -var __back = argument3; -var __x = argument4; -var __y = argument5; -var __htiled = argument6; -var __vtiled = argument7; -var __xscale = argument8; -var __yscale = argument9; -var __stretch = argument10; -var __hspeed = argument11; -var __vspeed = argument12; -var __blend = argument13; -var __alpha = argument14; - -//var __nearestdepth = -15000; -//var __farthestdepth = 15999; -var __nearestdepth = 1000000000; -var __farthestdepth = -1000000000; -var __depthinc = 100; - -var __result; -__result[0] = -1; -__result[1] = -1; - - -// Now look at the existing layers in the room to see if we have any foregrounds or backgrounds -var __fgstring = "Compatibility_Foreground_"; -var __bgstring = "Compatibility_Background_"; -var __colstring = "Compatibility_Colour"; -var __fglen = string_length(__fgstring); -var __bglen = string_length(__bgstring); -var __layerlist = layer_get_all(); -var __layerlistlength = array_length_1d(__layerlist); -var __collayer = -1; -var __slots; -var __isforeground; -var __i; -for(__i = 0; __i < 8; __i++) -{ - __slots[__i] = -1; - __isforeground[__i] = false; -} - - -for(__i = 0; __i < __layerlistlength; __i++) -{ - var __layername = layer_get_name(__layerlist[__i]); - if (string_pos(__fgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __fglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = true; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__bgstring, __layername) > 0) - { - var __slotchr = string_char_at(__layername, __bglen + 1); - if (__slotchr == "") - continue; - - var __slot = real( __slotchr ); - __slots[__slot] = __layerlist[__i]; - - __isforeground[__slot] = false; - - // Could check the contents of this layer to see if it has a single background element on it but that's probably overkill - } - else if (string_pos(__colstring, __layername) > 0) - { - // Make sure colour is as deep as it can be - __collayer = __layerlist[__i]; - layer_depth(__layerlist[__i], __farthestdepth); - } - else - { - var __currdepth = layer_get_depth(__layerlist[__i]); - - if (__currdepth < __nearestdepth) - __nearestdepth = __currdepth; - - if (__currdepth > __farthestdepth) - __farthestdepth = __currdepth; - } -} - -// Reassign depths -__farthestdepth += __depthinc + 1000; // add some margin for the background layers -__nearestdepth -= __depthinc; - -//__farthestdepth = max(__farthestdepth, 15999); -//__nearestdepth = min(__nearestdepth, -15000); -__farthestdepth = max(__farthestdepth, 2147483600); -__nearestdepth = min(__nearestdepth, -2147482000); - -for(__i = 0; __i < 8; __i++) -{ - if (__slots[__i] != -1) - { - var __depth = 0; - if (__isforeground[__i] == true) - { - __depth = __nearestdepth - (__i * __depthinc); - } - else - { - __depth = (__farthestdepth - __depthinc) - (__slot * __depthinc); - } - - layer_depth(__slots[__i], __depth); - } -} - -if (__collayer != -1) -{ - layer_depth(__collayer, __farthestdepth); -} - - -// Construct our layer name and depth -var __layername; -var __layerdepth; -if (__bind == -1) -{ - // This is the background colour layer - __layername = __colstring; - __layerdepth = __farthestdepth; -} -else -{ - if (__fore == true) - { - __layername = __fgstring + string(__bind); - __layerdepth = __nearestdepth - (__bind * __depthinc); - } - else - { - __layername = __bgstring + string(__bind); - __layerdepth = (__farthestdepth - __depthinc) - (__bind * __depthinc); // reserve 16000 for imported colour - } -} - -// If we already have a background in this slot, nuke it -var __layerid; -if (__bind == -1) -{ - __layerid = __collayer; -} -else -{ - __layerid = __slots[__bind]; -} - -if (__layerid != -1) -{ - layer_destroy(__layerid); -} -__layerid = layer_create(__layerdepth, __layername); - -// Set our layer properties -layer_x(__layerid, __x); -layer_y(__layerid, __y); -layer_hspeed(__layerid, __hspeed); -layer_vspeed(__layerid, __vspeed); - -// Construct our new background element -var __backel = layer_background_create(__layerid, __back); -layer_background_visible(__backel, __vis); -layer_background_htiled(__backel, __htiled); -layer_background_vtiled(__backel, __vtiled); -layer_background_xscale(__backel, __xscale); -layer_background_yscale(__backel, __yscale); -layer_background_stretch(__backel, __stretch); -layer_background_blend(__backel, __blend); -layer_background_alpha(__backel, __alpha); - -__result[0] = __backel; -__result[1] = __layerid; - -return __result; \ No newline at end of file diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_joystick_pov.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_joystick_pov.gml deleted file mode 100644 index 6c8efecf4..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_joystick_pov.gml +++ /dev/null @@ -1,7 +0,0 @@ -var jid = __joystick_2_gamepad(argument0) -var mask = 0 -mask |= (gamepad_button_value(jid, gp_padu) > 0 ? 1 : 0) -mask |= (gamepad_button_value(jid, gp_padr) > 0 ? 2 : 0) -mask |= (gamepad_button_value(jid, gp_padd) > 0 ? 4 : 0) -mask |= (gamepad_button_value(jid, gp_padl) > 0 ? 8 : 0) -return global.__jstick_povangle[mask]; diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_ossafe_file_text_open_read.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_ossafe_file_text_open_read.gml deleted file mode 100644 index 5baecfc3f..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_ossafe_file_text_open_read.gml +++ /dev/null @@ -1,43 +0,0 @@ -var lines; -if (global.osflavor <= 2) - return file_text_open_read(argument0); -else -{ - var name = string_lower(argument0) - var file = ds_map_find_value(global.savedata, name) - if is_undefined(file) - return undefined; - var data = file - var num_lines = 0 - while (string_byte_length(data) > 0) - { - var newline_pos = string_pos(chr($0A), data) - if (newline_pos > 0) - { - var nextline_pos = (newline_pos + 1) - if (newline_pos > 1 && string_char_at(data, (newline_pos - 1)) == chr($0D)) - newline_pos-- - if (newline_pos > 1) - var line = substr(data, 1, (newline_pos - 1)) - else - line = "" - if (nextline_pos <= strlen(data)) - data = substr(data, nextline_pos) - else - data = "" - } - else - { - line = data - data = "" - } - lines[num_lines++] = line - } - handle = ds_map_create() - ds_map_set(handle, "is_write", 0) - ds_map_set(handle, "text", lines) - ds_map_set(handle, "num_lines", num_lines) - ds_map_set(handle, "line", 0) - ds_map_set(handle, "line_read", 0) - return handle; -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_draw_name_curs.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_draw_name_curs.gml deleted file mode 100644 index f76acbdc9..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_draw_name_curs.gml +++ /dev/null @@ -1,23 +0,0 @@ -var xx = argument0 -var yy = argument1 -if (global.language == "ja") -{ - var use_font = fnt_ja_curs - yy += 3 -} -else -{ - use_font = fnt_curs - for (var i = 1; i < strlen(global.charname); i++) - { - if (ord(string_char_at(global.charname, i)) >= 12288) - { - use_font = 12 - yy += 3 - break - } - } -} -draw_set_font(use_font) -draw_text(xx, yy, string_hash_to_newline(global.charname)) -return string_width(string_hash_to_newline(global.charname)); diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_draw_screen_border.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_draw_screen_border.gml deleted file mode 100644 index ddd3cc787..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_draw_screen_border.gml +++ /dev/null @@ -1,259 +0,0 @@ -var overlay; -var border_id = argument0 -draw_enable_alphablend(0) -if (border_id == 1) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_line_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_line_544, 0, 0) -} -if (border_id == 2) -{ - var fade_time = 60 - if instance_exists(obj_stalkerflowey) - { - global.screen_border_state += (1 / fade_time) - if (global.screen_border_state > 1) - global.screen_border_state = 1 - } - else - { - global.screen_border_state -= (1 / fade_time) - if (global.screen_border_state < 0) - global.screen_border_state = 0 - } - var idle_min = 300000 - var idle_time = 0 - if (obj_time.idle && current_time >= (obj_time.idle_time + idle_min)) - idle_time = (current_time - (obj_time.idle_time + idle_min)) - var idle_frame = (floor((idle_time / 100)) % 3) - var base = -4 - for (var i = 0; i < 9; i++) - { - overlay[i, 0] = -4 - overlay[i, 1] = spr_undertaletitle - overlay[i, 2] = spr_undertaletitle - } - if (os_type == os_ps4 || os_type == os_switch_beta) - { - base = bg_border_sepia_1080 - overlay[0, 1] = spr_blconbelow - overlay[0, 2] = spr_truechara_laugh - overlay[1, 1] = spr_superbone - overlay[1, 2] = buttonL_nx_zr - overlay[2, 1] = spr_barktry_ja - overlay[2, 2] = spr_finalfroggit - overlay[3, 1] = spr_undertaletitle - overlay[3, 2] = spr_undynex_example - overlay[4, 1] = spr_vegetoid - overlay[4, 2] = spr_blconbelow - overlay[5, 1] = spr_bookshelf - overlay[5, 2] = spr_undertaletitle - overlay[6, 1] = spr_forcefield_right_middle - overlay[6, 2] = spr_alphyshelper_embarrass - overlay[7, 1] = spr_chipdoor_chippart - overlay[7, 2] = spr_gb_npc - overlay[8, 1] = spr_undynea_ut - overlay[8, 2] = spr_uppbutton - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_1080_1a - overlay[1, 0] = bg_border_sepia_1080_2a - overlay[2, 0] = bg_border_sepia_1080_3a - overlay[3, 0] = bg_border_sepia_1080_4a - overlay[4, 0] = bg_border_sepia_1080_5a - overlay[5, 0] = bg_border_sepia_1080_6a - overlay[6, 0] = bg_border_sepia_1080_7a - overlay[7, 0] = bg_border_sepia_1080_8a - overlay[8, 0] = bg_border_sepia_1080_9a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_1080_1b - overlay[1, 0] = bg_border_sepia_1080_2b - overlay[2, 0] = bg_border_sepia_1080_3b - overlay[3, 0] = bg_border_sepia_1080_4b - overlay[4, 0] = bg_border_sepia_1080_5b - overlay[5, 0] = bg_border_sepia_1080_6b - overlay[6, 0] = bg_border_sepia_1080_7b - overlay[7, 0] = bg_border_sepia_1080_8b - overlay[8, 0] = bg_border_sepia_1080_9b - } - if (global.screen_border_state > 0) - overlay1 = 2839 - } - else if (os_type == os_psvita) - { - base = bg_border_sepia_544 - overlay[0, 1] = spr_talkbt - overlay[0, 2] = spr_undyneb_face3 - overlay[1, 1] = spr_heartorange - overlay[1, 2] = spr_wizard_orbhurt - overlay[2, 1] = spr_undertaletitle - overlay[2, 2] = spr_oolbone_ja - overlay[3, 1] = button_ps4_l3 - overlay[3, 2] = spr_undertaletitle - overlay[4, 1] = buttonL_nx_zl - overlay[4, 2] = spr_whimsunhurt - overlay[5, 1] = buttonL_vita_triangle - overlay[5, 2] = spr_vulkinface5 - if (idle_frame == 1) - { - overlay[0, 0] = bg_border_sepia_544_1a - overlay[1, 0] = bg_border_sepia_544_2a - overlay[2, 0] = bg_border_sepia_544_3a - overlay[3, 0] = bg_border_sepia_544_4a - overlay[4, 0] = bg_border_sepia_544_5a - overlay[5, 0] = bg_border_sepia_544_6a - } - else if (idle_frame == 2) - { - overlay[0, 0] = bg_border_sepia_544_1b - overlay[1, 0] = bg_border_sepia_544_2b - overlay[2, 0] = bg_border_sepia_544_3b - overlay[3, 0] = bg_border_sepia_544_4b - overlay[4, 0] = bg_border_sepia_544_5b - overlay[5, 0] = bg_border_sepia_544_6b - } - if (global.screen_border_state > 0) - overlay1 = 2853 - } - if (base != -4) - { - scr_draw_background_ps4(base, 0, 0) - if (overlay[0, 0] != -4) - { - if (global.screen_border_state > 0) - { - draw_enable_alphablend(1) - draw_set_alpha((global.screen_border_state * 0.5)) - } - scr_draw_background_ps4(overlay[0, 0], overlay[0, 1], overlay[0, 2]) - if (global.screen_border_state > 0) - { - draw_set_alpha(1) - draw_enable_alphablend(0) - } - } - for (i = 1; i < 9; i++) - { - if (overlay[i, 0] != -4) - scr_draw_background_ps4(overlay[i, 0], overlay[i, 1], overlay[i, 2]) - } - } -} -if (border_id == 3) -{ - var room_id = global.currentroom - if ((room_id >= 4 && room_id <= 43) || (room >= room_introstory && room <= room_intromenu) || (room >= room_settings && room <= room_controltest)) - border_id = 4 - if ((room_id >= 44 && room_id <= 81) || room_id == 311 || (room_id >= 265 && room_id <= 266)) - border_id = 5 - if ((room_id >= 82 && room_id <= 136) || room_id == 312 || room_id == 315) - border_id = 6 - if ((room_id >= 137 && room_id <= 215) || room_id == 313 || room_id == 314 || (room_id >= 242 && room_id <= 243)) - border_id = 7 - if (room_id >= 216 && room_id <= 240) - border_id = 8 - if (room_id >= 244 && room_id <= 263) - border_id = 9 - if (room_id == 136 || room_id == 213 || room_id == 215 || room_id == 242 || room_id == 243 || room_id == 316 || room_id == 335 || room_id == 336 || room_id == 337) - border_id = 3.5 - if (global.flag[479] == 0 && (room_id == 244 || room_id == 245)) - border_id = 3.5 - if (border_id != global.screen_border_state) - { - if (global.screen_border_state != 0) - { - if (global.screen_border_dynamic_fade_id == border_id) - global.screen_border_dynamic_fade_level = (1 - global.screen_border_dynamic_fade_level) - else - global.screen_border_dynamic_fade_level = 1 - global.screen_border_dynamic_fade_id = global.screen_border_state - } - global.screen_border_state = border_id - } - if (global.screen_border_dynamic_fade_level > 0) - { - fade_time = 30 - global.screen_border_dynamic_fade_level -= (1 / fade_time) - if (global.screen_border_dynamic_fade_level > 0) - { - scr_draw_screen_border(global.screen_border_dynamic_fade_id) - draw_set_alpha((1 - global.screen_border_dynamic_fade_level)) - } - else - { - global.screen_border_dynamic_fade_id = 0 - global.screen_border_dynamic_fade_level = 0 - } - } -} -if (border_id == 3.5) -{ - draw_set_color(c_black) - ossafe_fill_rectangle(0, 0, (window_get_width() - 1), (window_get_height() - 1)) - draw_set_color(c_white) -} -if (border_id == 4) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_ruins_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_ruins_544, 0, 0) -} -if (border_id == 5) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_tundra_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_tundra_544, 0, 0) -} -if (border_id == 6) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_water1_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_water1_544, 0, 0) -} -if (border_id == 7) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_fire_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_fire_544, 0, 0) -} -if (border_id == 8) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_castle_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_castle_544, 0, 0) -} -if (border_id == 9) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_truelab_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_truelab_544, 0, 0) -} -if (border_id == 10) -{ - if (os_type == os_ps4 || os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_rad_1080, 0, 0) - if (os_type == os_psvita) - draw_background(bg_border_rad_544, 0, 0) -} -if (border_id == 11) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_anime_1080, 0, 0) -} -if (border_id == 12) -{ - if (os_type == os_switch_beta) - scr_draw_background_ps4(bg_border_dog_1080, 0, 0) -} -draw_set_alpha(1) -draw_enable_alphablend(1) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemdesc.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemdesc.gml deleted file mode 100644 index 30f82a28b..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemdesc.gml +++ /dev/null @@ -1,8 +0,0 @@ -global.msg[0] = scr_gettext("scr_itemdesc_2") -for (var i = 0; true; i++) -{ - var desc = scr_gettext(((("item_desc_" + string(argument0)) + "_") + string(i))) - if (string_length(desc) == 0) - break - global.msg[i] = desc -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 4c986d2f8..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,39 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -ossafe_ini_open("undertale.ini") -var bc = ini_read_real("General", "BC", 0) -if (bc < 4) -{ - bc++ - ini_write_real("General", "BC", bc) - ossafe_ini_close() - ossafe_savedata_save() -} -else - ossafe_ini_close() -if (bc >= 1) - trophy_unlock("item_1") -if (bc >= 2) - trophy_unlock("item_2") -if (bc >= 3) - trophy_unlock("item_3") -if (bc >= 4) - trophy_unlock("item_4") -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemuseb.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemuseb.gml deleted file mode 100644 index 44fee9151..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_itemuseb.gml +++ /dev/null @@ -1,938 +0,0 @@ -global.msg[0] = scr_gettext(("item_use_" + string(argument1))) -switch argument1 -{ - case 0: - break - case 1: - if (global.seriousbattle == 0) - { - randomtext = round(random(15)) - if (randomtext <= 2) - global.msg[0] += scr_gettext("item_use_1a") - if (randomtext == 15) - global.msg[0] += scr_gettext("item_use_1b") - } - script_execute(scr_recoitem, 10) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 2: - if (global.seriousbattle == 1) - global.msg[0] = scr_gettext("item_use_2_serious") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 3: - if instance_exists(obj_dogeparent) - { - if instance_exists(obj_lesserdoge) - { - if (obj_lesserdoge.mercymod < 60) - obj_lesserdoge.mercymod = 102 - } - else - obj_dogeparent.mercymod = 102 - if (instance_exists(obj_mandog) || instance_exists(obj_womandog)) - { - if (scr_monstersum() == 1) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge1"), 0, 0) - obj_dogeparent.mercymod = -9999 - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3_doge2"), 0, 0) - } - else - { - if instance_exists(obj_greatdog) - obj_dogeparent.mercymod = 250 - script_execute(scr_writetext, 0, scr_gettext("item_use_3_greatdog"), 0, 0) - } - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - } - else if (instance_exists(obj_papyrusboss) || instance_exists(obj_wizard) || instance_exists(obj_mettatonex)) - { - if instance_exists(obj_papyrusboss) - script_execute(scr_writetext, 0, scr_gettext("item_use_3_papyrus"), 0, 0) - if instance_exists(obj_wizard) - { - script_execute(scr_writetext, 0, scr_gettext("item_use_3_madjick"), 0, 0) - obj_wizard.mercymod = 300 - } - if instance_exists(obj_mettatonex) - { - with (obj_ratingsmaster) - { - curtype = 7 - event_user(0) - } - script_execute(scr_writetext, 0, scr_gettext("item_use_3_mettaton"), 0, 0) - } - } - else - script_execute(scr_writetext, 0, scr_gettext("item_use_3"), 0, 0) - break - case 4: - snd_play(snd_power) - if (global.seriousbattle == 0) - global.msg[0] += scr_gettext("item_use_4a") - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 5: - script_execute(scr_recoitem, 1) - instance_create(0, 0, obj_foodsound) - script_execute(scr_itemshift, argument0, 0) - break - case 6: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 8) - script_execute(scr_itemshift, argument0, 0) - break - case 7: - if (global.seriousbattle == 0) - { - if (global.inbattle == 1) - { - randomtext = ceil(random(10)) - if (randomtext > 9) - global.msg[0] = scr_gettext("item_use_7a") - } - } - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 12) - script_execute(scr_itemshift, argument0, 0) - break - case 8: - if (global.seriousbattle == 0) - { - randomtext = round(random(10)) - if (randomtext > 8) - global.msg[0] += scr_gettext("item_use_8a") - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 5) - script_execute(scr_itemshift, argument0, 0) - break - case 9: - foodsounder = instance_create(0, 0, obj_foodsound) - if (global.seriousbattle == 0) - { - with (foodsounder) - soundtype = 2 - } - script_execute(scr_recoitem, 16) - script_execute(scr_itemshift, argument0, 0) - break - case 10: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 24) - script_execute(scr_itemshift, argument0, 0) - if instance_exists(obj_spiderb) - { - with (obj_spiderb) - event_user(6) - } - break - case 11: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < global.maxhp) - global.hp = global.maxhp - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_11") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_11"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 12: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 13: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 14: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 15: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 16: - if (room == room_tundra6A) - global.flag[56] = 4 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 45) - script_execute(scr_itemshift, argument0, 0) - break - case 17: - randomtext = floor(random(8)) - if (randomtext == 0) - global.msg[0] = scr_gettext("item_use_17a") - if (randomtext == 1) - global.msg[0] = scr_gettext("item_use_17b") - if (randomtext == 2) - global.msg[0] = scr_gettext("item_use_17c") - if (randomtext == 3) - global.msg[0] = scr_gettext("item_use_17d") - if (randomtext == 4) - global.msg[0] = scr_gettext("item_use_17e") - if (randomtext == 5) - global.msg[0] = scr_gettext("item_use_17f") - if (randomtext == 6) - global.msg[0] = scr_gettext("item_use_17g") - if (randomtext == 7) - global.msg[0] = scr_gettext("item_use_17h") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - script_execute(scr_itemshift, argument0, 0) - break - case 18: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 28) - script_execute(scr_itemshift, argument0, 0) - break - case 19: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - global.item[argument0] = 20 - break - case 20: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 11) - script_execute(scr_itemshift, argument0, 0) - break - case 21: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 22) - script_execute(scr_itemshift, argument0, 0) - break - case 22: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 2) - script_execute(scr_itemshift, argument0, 0) - break - case 23: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 34) - script_execute(scr_itemshift, argument0, 0) - break - case 24: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 25: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 26: - if (global.inbattle == 0) - { - d = instance_create(x, y, obj_imageview) - d.sprite_index = scr_getsprite(spr_punchcard) - global.interact = 1 - } - else - { - if (global.weapon == 14) - { - snd_play(snd_tearcard) - add = 6 - if (global.at > 18) - add = 5 - if (global.at > 23) - add = 4 - if (global.at > 26) - add = 3 - if (global.at > 28) - add = 2 - global.at += add - global.msg[1] = scr_gettext("item_use_26a", string(add)) - global.flag[78] = 1 - } - else - global.msg[1] = scr_gettext("item_use_26b") - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - } - break - case 27: - script_execute(scr_writetext, 0, "x", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - script_execute(scr_itemshift, argument0, 0) - break - case 28: - healamt = 1 - dogsad = floor(random(4)) - if (dogsad == 0) - { - global.msg[0] += scr_gettext("item_use_28a") - healamt = 30 - } - if (dogsad == 1) - { - global.msg[0] += scr_gettext("item_use_28b") - healamt = 10 - } - if (dogsad == 2) - { - global.msg[0] += scr_gettext("item_use_28c") - healamt = 2 - } - if (dogsad == 3) - { - global.msg[0] += scr_gettext("item_use_28d") - healamt = 999 - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogresidue - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, healamt) - script_execute(scr_itemshift, argument0, 0) - break - case 29: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 30: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 31: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 32: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 33: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 34: - if (global.item[7] == 0) - global.msg[1] = scr_gettext("item_use_29a") - else - global.msg[1] = scr_gettext("item_use_29b") - global.msg[2] = scr_gettext("item_use_29c") - global.msg[3] = scr_gettext("item_use_29d") - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_item - grt.sound2 = snd_dogresidue - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - for (i = 0; i < 8; i += 1) - { - rr = (floor(random(7)) + 28) - if (global.item[i] == 0) - global.item[i] = rr - } - break - case 35: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 36: - if (global.inbattle == 0) - { - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 15) - } - if (global.inbattle == 1) - { - if (global.seriousbattle == 1) - { - global.msg[0] = scr_gettext("item_use_36a") - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 90) - } - else - nood = instance_create(0, 0, obj_instantnoodleitem) - } - script_execute(scr_itemshift, argument0, 0) - break - case 37: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 18) - script_execute(scr_itemshift, argument0, 0) - break - case 38: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_dogsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - script_execute(scr_recoitem, 20) - script_execute(scr_itemshift, argument0, 0) - break - case 39: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - if (global.seriousbattle == 0) - grt.sound2 = snd_catsalad - if (global.seriousbattle == 1) - grt.sound2 = snd_heal_c - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 21) - script_execute(scr_itemshift, argument0, 0) - break - case 40: - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_sparkle1 - grt.alarm[1] = 10 - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_40_mettaton") - with (obj_ratingsmaster) - { - curtype = 10 - event_user(0) - } - } - script_execute(scr_recoitem, 27) - script_execute(scr_itemshift, argument0, 0) - break - case 41: - if (global.inbattle == 1) - { - if (global.sp < 8) - { - global.sp += 1 - if instance_exists(obj_spiderb) - global.msg[0] += scr_gettext("item_use_41_nospeed") - else - global.msg[0] += scr_gettext("item_use_41_speed") - } - } - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_speedup - grt.alarm[1] = 10 - script_execute(scr_recoitem, 10) - script_execute(scr_itemshift, argument0, 0) - break - case 42: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_42_mettaton") - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 14) - script_execute(scr_itemshift, argument0, 0) - break - case 43: - if (global.seriousbattle == 0) - { - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hero - grt.alarm[1] = 10 - } - else - grt = instance_create(0, 0, obj_foodsound) - if (global.inbattle == 1) - { - if (global.at < 150) - global.at += 4 - global.msg[0] += scr_gettext("item_use_43_attack") - } - if instance_exists(obj_ratingsmaster) - { - with (obj_ratingsmaster) - { - curtype = 9 - event_user(0) - } - } - script_execute(scr_recoitem, 40) - script_execute(scr_itemshift, argument0, 0) - break - case 44: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 45: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 46: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 47: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 48: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 49: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 50: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 51: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 52: - scr_weaponeq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 53: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 54: - global.hp -= 1 - grt = instance_create(0, 0, obj_soundcombo) - grt.sound1 = snd_swallow - grt.sound2 = snd_hurt1 - grt.alarm[1] = 10 - if (global.hp <= 2) - { - grt.sound2 = snd_power - global.hp = global.maxhp - global.msg[0] = scr_gettext("item_use_54_heal") - } - script_execute(scr_writetext, 0, "x", 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 55: - if (global.flag[503] == 1) - global.msg[0] = scr_gettext("item_use_55_short") - global.flag[503] = 1 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 56: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 57: - if (!instance_exists(obj_undyne_friendc)) - { - global.msg[0] = scr_gettext("item_use_56") - global.msg[1] = scr_gettext("item_use_56a") - if (room == room_fire_prelab) - global.msg[0] = scr_gettext("item_use_56_prelab") - script_execute(scr_writetext, 0, "x", 0, 0) - } - else - { - global.faceemotion = 1 - global.msg[0] = scr_gettext("item_use_56_undyne") - script_execute(scr_writetext, 0, "x", 5, 37) - } - break - case 58: - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 13) - script_execute(scr_itemshift, argument0, 0) - break - case 59: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_59_mettaton") - with (obj_ratingsmaster) - { - curtype = 8 - event_user(0) - } - } - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 17) - script_execute(scr_itemshift, argument0, 0) - break - case 60: - if (room == room_icecave1) - { - global.msg[0] = scr_gettext("item_use_60_fail1") - global.msg[1] = scr_gettext("item_use_60_fail2") - global.msg[2] = scr_gettext("item_use_60_fail3") - } - if instance_exists(obj_mettatonex) - global.msg[0] = scr_gettext("item_use_60_mettaton") - if instance_exists(obj_blookhouses) - { - global.msg[0] = scr_gettext("item_use_60_open1") - global.msg[1] = scr_gettext("item_use_60_open2") - global.flag[433] = 1 - snd_play(snd_item) - with (obj_blookhouses) - event_user(1) - script_execute(scr_itemshift, argument0, 0) - } - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 61: - if instance_exists(obj_ratingsmaster) - { - global.msg[0] = scr_gettext("item_use_61_mettaton") - with (obj_ratingsmaster) - { - curtype = 13 - event_user(0) - } - } - grt = instance_create(0, 0, obj_foodsound) - grt.alarm[1] = 10 - script_execute(scr_recoitem, 60) - script_execute(scr_itemshift, argument0, 0) - break - case 62: - if (global.seriousbattle == 0) - global.msg[0] = scr_gettext("item_use_62a") - if instance_exists(obj_endogeny) - obj_endogeny.mercymod = 999999 - instance_create(0, 0, obj_foodsound) - script_execute(scr_recoitem, 65) - script_execute(scr_itemshift, argument0, 0) - break - case 63: - instance_create(0, 0, obj_foodsound) - spec_p = 0 - if (global.hp < (global.maxhp - 1)) - global.hp = (global.maxhp - 1) - if instance_exists(obj_asgoreb) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_asgore1") - global.msg[2] = scr_gettext("item_use_11_asgore2") - with (obj_asgoreb) - { - global.monsteratk[myself] -= 1 - global.monsterdef[myself] -= 5 - } - } - if instance_exists(obj_ripoff_toriel) - { - spec_p = 1 - global.msg[1] = scr_gettext("item_use_11_toriel") - with (obj_monsterparent) - totalmercy += 3 - } - if (spec_p == 0) - script_execute(scr_writetext, 0, (scr_gettext("item_use_63") + "%"), 0, 0) - if (spec_p == 1) - script_execute(scr_writetext, 0, scr_gettext("item_use_63"), 0, 0) - script_execute(scr_itemshift, argument0, 0) - break - case 64: - scr_armoreq(argument0, argument1) - snd_play(snd_item) - script_execute(scr_writetext, 0, "x", 0, 0) - break - case 201: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1501, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 202: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1502, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 203: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1503, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 204: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1504, "x", 0, 0) - script_execute(scr_phoneshift, argument0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 205: - if (global.flag[37] == 1) - scr_writetext(1508, "x", 0, 0) - else if (global.plot < 19.9) - { - if (global.plot > 18 && room == room_torhouse2) - { - snd_play(snd_phone) - script_execute(scr_writetext, 1507, "x", 0, 0) - } - else - { - snd_play(snd_phone) - if (global.flag[41] == 1) - script_execute(scr_phoneshift, argument0, 0) - script_execute(scr_writetext, 1505, "x", 0, 0) - } - } - else - { - snd_play(snd_phone) - script_execute(scr_writetext, 1506, "x", 0, 0) - } - break - case 206: - scr_phone_moveup(argument0, argument1) - snd_play(snd_phone) - if (global.flag[7] == 0) - script_execute(scr_writetext, 1506, "x", 0, 0) - if (global.flag[7] == 1) - script_execute(scr_writetext, 1515, "x", 0, 0) - break - case 210: - scr_phone_moveup(argument0, argument1) - script_execute(scr_writetext, 1510, "x", 0, 0) - break - case 220: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 0 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break - case 221: - if (room != room_water_dogroom) - { - snd_play(snd_dimbox) - scr_phone_moveup(argument0, argument1) - ii = instance_create(0, 0, obj_itemswapper) - ii.spec = 1 - ii.boxtype = 1 - } - else - script_execute(scr_writetext, 1520, "x", 0, 0) - break -} - diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_loadcredits.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_loadcredits.gml deleted file mode 100644 index 69fc16d1e..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_loadcredits.gml +++ /dev/null @@ -1,901 +0,0 @@ -var credamt = 0 -if (global.osflavor <= 2) -{ - var credits_path = (working_directory + "credits.txt") - var credfile = file_text_open_read(credits_path) - while (!file_text_eof(credfile)) - { - var thiscred = file_text_read_string(credfile) - if (thiscred == "%%%") - break - creditname[credamt++] = thiscred - file_text_readln(credfile) - } - file_text_close(credfile) -} -else -{ - creditname[credamt++] = "Tom Dickinson" - creditname[credamt++] = "Gigi D.G." - creditname[credamt++] = "pinetone" - creditname[credamt++] = "Rich" - creditname[credamt++] = "Sarah Katz" - creditname[credamt++] = "Heidi Mandelin" - creditname[credamt++] = "Michael Driscoll" - creditname[credamt++] = "Magnolia Porter" - creditname[credamt++] = "Paul Starr" - creditname[credamt++] = "Lindsey Dawn" - creditname[credamt++] = "ipgd" - creditname[credamt++] = "Tim Stowell" - creditname[credamt++] = "Celene Talbain" - creditname[credamt++] = "Homer Turgeon" - creditname[credamt++] = "VickyBit" - creditname[credamt++] = "Trysta" - creditname[credamt++] = "poetfox" - creditname[credamt++] = "Noah Hipster Champoux" - creditname[credamt++] = "Evan" - creditname[credamt++] = "Bethany D" - creditname[credamt++] = "Joss Turner" - creditname[credamt++] = "Cammie" - creditname[credamt++] = "blurds" - creditname[credamt++] = "Joel MacFadyen" - creditname[credamt++] = "ZyvilinShmo" - creditname[credamt++] = "MESeele" - creditname[credamt++] = "Tara Levin" - creditname[credamt++] = "Misty De Meo" - creditname[credamt++] = "Cherie Heiberg" - creditname[credamt++] = "Meles Badger" - creditname[credamt++] = "Stephen Hammack" - creditname[credamt++] = "Dan Rodgers" - creditname[credamt++] = "Jessica Campanella" - creditname[credamt++] = "Holly Boismaison" - creditname[credamt++] = "rasira venrir" - creditname[credamt++] = "Jenkins" - creditname[credamt++] = "Andrew" - creditname[credamt++] = "Sam Kennedy" - creditname[credamt++] = "Anthony Bulldis" - creditname[credamt++] = "HoneyNoahh" - creditname[credamt++] = "Iscariot" - creditname[credamt++] = "Ashley Bernard" - creditname[credamt++] = "Megan MacLennan" - creditname[credamt++] = "Malefact" - creditname[credamt++] = "Allison Wilder" - creditname[credamt++] = "Nicole Devine" - creditname[credamt++] = "Marcus Perrin" - creditname[credamt++] = "Lan-Anh Nguyen" - creditname[credamt++] = "Lewis Johnson" - creditname[credamt++] = "Jon Renish" - creditname[credamt++] = "Jason Withrow" - creditname[credamt++] = "Adam Saulis" - creditname[credamt++] = "Kellen Haney" - creditname[credamt++] = "Stephanie Flynn" - creditname[credamt++] = "ikks" - creditname[credamt++] = "Adam C. Hartling" - creditname[credamt++] = "Abbey Northcutt" - creditname[credamt++] = "Yuan Mori" - creditname[credamt++] = "bitmap" - creditname[credamt++] = "Alex 'Shinkada' Weiss" - creditname[credamt++] = "Aaron Goodier" - creditname[credamt++] = "Josh Meier" - creditname[credamt++] = "Eric Berg" - creditname[credamt++] = "Joni Kittaka" - creditname[credamt++] = "Taylor Gregory" - creditname[credamt++] = "Christina Skyles" - creditname[credamt++] = "Thomas Castiglione" - creditname[credamt++] = "Skulryk" - creditname[credamt++] = "Madolyn Covill" - creditname[credamt++] = "David Kinne" - creditname[credamt++] = "Laurence D." - creditname[credamt++] = "Helen George Mclean" - creditname[credamt++] = "Common_Sense" - creditname[credamt++] = "Jui-Ting Victor Hsu" - creditname[credamt++] = "Caitlyn C." - creditname[credamt++] = "falmith" - creditname[credamt++] = "Peter" - creditname[credamt++] = "Matt Starsoneck" - creditname[credamt++] = "hgemyd" - creditname[credamt++] = "FUJITA" - creditname[credamt++] = "Chris" - creditname[credamt++] = "Sam & Jetz" - creditname[credamt++] = "Beth A Lawhead" - creditname[credamt++] = "David Ewen" - creditname[credamt++] = "Kulu" - creditname[credamt++] = "Snorri S." - creditname[credamt++] = "UnLondon" - creditname[credamt++] = "Mary Marquardt" - creditname[credamt++] = "Anthony Thrun" - creditname[credamt++] = "Brian Lee" - creditname[credamt++] = "Christopher Stringari" - creditname[credamt++] = "Saiai" - creditname[credamt++] = "belbeeno" - creditname[credamt++] = "tinaun" - creditname[credamt++] = "Gisele Jobateh" - creditname[credamt++] = "Max Ponoroff" - creditname[credamt++] = "Abhilash Sarhadi" - creditname[credamt++] = "NamelessPFG" - creditname[credamt++] = "Mark Khai Vinh Tran" - creditname[credamt++] = "lupusdraconis" - creditname[credamt++] = "Joshua Van Der Sluys" - creditname[credamt++] = "Kiuxi" - creditname[credamt++] = "Nich Maragos" - creditname[credamt++] = "Joshua Franklin" - creditname[credamt++] = "Michael Barfuss" - creditname[credamt++] = "Mikker" - creditname[credamt++] = "Michael James Orton" - creditname[credamt++] = "sinisterandroid" - creditname[credamt++] = "clairvoire" - creditname[credamt++] = "Ali Khan" - creditname[credamt++] = "Ashleigh Ellis" - creditname[credamt++] = "Paul Tayloe" - creditname[credamt++] = "[NAME REDACTED]" - creditname[credamt++] = "fuzzytipsy" - creditname[credamt++] = "Jesse Knowles" - creditname[credamt++] = "Jeremy Vigil" - creditname[credamt++] = "conceptofzero" - creditname[credamt++] = "Albruna" - creditname[credamt++] = "Brett P." - creditname[credamt++] = "Cirr" - creditname[credamt++] = "Tailszefox" - creditname[credamt++] = "Jamie Jellybean" - creditname[credamt++] = "litemagic" - creditname[credamt++] = "Shaimaa Kandil" - creditname[credamt++] = "Aatmaja Pandya" - creditname[credamt++] = "TheMajinZenki" - creditname[credamt++] = "John Ogden" - creditname[credamt++] = "Linnet" - creditname[credamt++] = "Matthew Wright" - creditname[credamt++] = "Zack Jenkins" - creditname[credamt++] = "Mizakido" - creditname[credamt++] = "Jacob Bang" - creditname[credamt++] = "Morbi" - creditname[credamt++] = "Ryan Phelan" - creditname[credamt++] = "Benjamin Roush" - creditname[credamt++] = "elementnumber46" - creditname[credamt++] = "Steven Dirks" - creditname[credamt++] = "Bill King" - creditname[credamt++] = "Juan Miguel Exposito" - creditname[credamt++] = "Emily Kilbourn" - creditname[credamt++] = "Luca Frigerio" - creditname[credamt++] = "Chenille" - creditname[credamt++] = "Clare Jones" - creditname[credamt++] = "Daniel Lin" - creditname[credamt++] = "Emily Elliott" - creditname[credamt++] = "Kinko Kitty" - creditname[credamt++] = "Elementoid" - creditname[credamt++] = "blueskybleu" - creditname[credamt++] = "Rebekah Holder" - creditname[credamt++] = "Emily Kidney" - creditname[credamt++] = "Steven Benson" - creditname[credamt++] = "Westin Grube" - creditname[credamt++] = "JNH" - creditname[credamt++] = "Bob Thulfram" - creditname[credamt++] = "Drake Himmel" - creditname[credamt++] = "Jacquerel" - creditname[credamt++] = "Leo Garcia" - creditname[credamt++] = "Eric" - creditname[credamt++] = "Tyler Merta" - creditname[credamt++] = "Nidoking" - creditname[credamt++] = "Thomas Knies" - creditname[credamt++] = "alexander gross" - creditname[credamt++] = "Julian" - creditname[credamt++] = "Tom Casacoli" - creditname[credamt++] = "Daniel Whitcomb" - creditname[credamt++] = "Cameron McClure" - creditname[credamt++] = "D C" - creditname[credamt++] = "Shanti Elliot" - creditname[credamt++] = "Lindsey Dohse" - creditname[credamt++] = "Asharaxx" - creditname[credamt++] = "Ryusui" - creditname[credamt++] = "Iguana Baritone" - creditname[credamt++] = "Shelby Cragg" - creditname[credamt++] = "Greer" - creditname[credamt++] = "Michael Crow" - creditname[credamt++] = "Andrew \"Southrop\" Li" - creditname[credamt++] = "Bec" - creditname[credamt++] = "Sara Massoud" - creditname[credamt++] = "Mark" - creditname[credamt++] = "lucaaa" - creditname[credamt++] = "Justin" - creditname[credamt++] = "Luke Stebbing" - creditname[credamt++] = "Ozymandias J. Llewellyn x3" - creditname[credamt++] = "Andrew Neufeld" - creditname[credamt++] = "aaron corff" - creditname[credamt++] = "Griffin Donohue" - creditname[credamt++] = "Vanessah Howard" - creditname[credamt++] = "Michael Todhunter" - creditname[credamt++] = "Angel Lorenzana" - creditname[credamt++] = "BlueLucine" - creditname[credamt++] = "Brian Jaworski" - creditname[credamt++] = "Edward Davyduck" - creditname[credamt++] = "Adina" - creditname[credamt++] = "Daniel O'Rourke" - creditname[credamt++] = "IdleDice" - creditname[credamt++] = "TallTale" - creditname[credamt++] = "Marc" - creditname[credamt++] = "Leora San Miguel" - creditname[credamt++] = "Sam Mancuso" - creditname[credamt++] = "Joseph Michael Hanna" - creditname[credamt++] = "Nearby Night" - creditname[credamt++] = "Jake Lindsey" - creditname[credamt++] = "John Spiers" - creditname[credamt++] = "The_Mailman" - creditname[credamt++] = "Robert Remmers" - creditname[credamt++] = "Richard Hough" - creditname[credamt++] = "Chris McLernon" - creditname[credamt++] = "Gadgetprop" - creditname[credamt++] = "Craig Fotheringham" - creditname[credamt++] = "W. Tyler" - creditname[credamt++] = "Tyler Kassten" - creditname[credamt++] = "Crettert" - creditname[credamt++] = "saturnineCarrier" - creditname[credamt++] = "Kevin Grasso" - creditname[credamt++] = "Raive" - creditname[credamt++] = "Nathaniel Shannon" - creditname[credamt++] = "GameFreakerZero" - creditname[credamt++] = "William Manning" - creditname[credamt++] = "Bradley Synnett" - creditname[credamt++] = "Matoos" - creditname[credamt++] = "Michael McCann" - creditname[credamt++] = "Daniel" - creditname[credamt++] = "Nezumi" - creditname[credamt++] = "Sol_Racht" - creditname[credamt++] = "Matthew Frieling" - creditname[credamt++] = "Matt Pappadopoli" - creditname[credamt++] = "Sara \"Svenna\" Ventura" - creditname[credamt++] = "Daniel A. Johnson" - creditname[credamt++] = "Rachel Moody" - creditname[credamt++] = "Ken Laird" - creditname[credamt++] = "Sarkazein" - creditname[credamt++] = "Roisin Cowans" - creditname[credamt++] = "Ross Ashley" - creditname[credamt++] = "Michelle Smith" - creditname[credamt++] = "Nikita Dudnik" - creditname[credamt++] = "Brandon Evans" - creditname[credamt++] = "Cubesona" - creditname[credamt++] = "Ross Williams" - creditname[credamt++] = "Steven Wallace" - creditname[credamt++] = "Gwion Hamblin" - creditname[credamt++] = "Ben Evans" - creditname[credamt++] = "Ryunney" - creditname[credamt++] = "Sean S Barber" - creditname[credamt++] = "Samantha Ludwig" - creditname[credamt++] = "Johnathan Fisico" - creditname[credamt++] = "Spartyblb" - creditname[credamt++] = "Scott Johnson" - creditname[credamt++] = "David Gilbert" - creditname[credamt++] = "Sebastian Browne" - creditname[credamt++] = "Crafall" - creditname[credamt++] = "Jonathon Hickey" - creditname[credamt++] = "Ian Clark" - creditname[credamt++] = "Alexis" - creditname[credamt++] = "Zhong Thai" - creditname[credamt++] = "James Klingler" - creditname[credamt++] = "Sean Chiplock" - creditname[credamt++] = "Hannah C" - creditname[credamt++] = "Scott Whipkey" - creditname[credamt++] = "Brian Allred" - creditname[credamt++] = "Tollymain" - creditname[credamt++] = "Michael Amirault" - creditname[credamt++] = "Rik Nicol" - creditname[credamt++] = "Anthony L." - creditname[credamt++] = "YggiDee" - creditname[credamt++] = "Ryunosuke" - creditname[credamt++] = "Aidan Schwarz" - creditname[credamt++] = "Mathew Hunter" - creditname[credamt++] = "Alexander Privee" - creditname[credamt++] = "Adam T Wilk" - creditname[credamt++] = "Steven White" - creditname[credamt++] = "Isaac Haugen" - creditname[credamt++] = "Sean \"Ariamaki\" Riedinger" - creditname[credamt++] = "Michael Mudokon" - creditname[credamt++] = "Rogelio" - creditname[credamt++] = "Yoshoshishu" - creditname[credamt++] = "Caitlin" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Dmitriy Aleksandrovich Sadikov" - creditname[credamt++] = "Steven Heydt" - creditname[credamt++] = "mwchase" - creditname[credamt++] = "Enok Moe" - creditname[credamt++] = "Alex B." - creditname[credamt++] = "SamWibatt" - creditname[credamt++] = "Daniel Kelly" - creditname[credamt++] = "Gino Tote" - creditname[credamt++] = "Chris Zito" - creditname[credamt++] = "Daniel Turner" - creditname[credamt++] = "Katlynn Balderstone" - creditname[credamt++] = "spoonshiro" - creditname[credamt++] = "Andrew Muellerleile" - creditname[credamt++] = "Nir Aviv" - creditname[credamt++] = "starwyvern" - creditname[credamt++] = "Danzig!" - creditname[credamt++] = "Daniel Hinman" - creditname[credamt++] = "Nick Perry" - creditname[credamt++] = "Triggernometry" - creditname[credamt++] = "Mark Jessey" - creditname[credamt++] = "Charles Cole" - creditname[credamt++] = "Zero!" - creditname[credamt++] = "FrankieSmileShow" - creditname[credamt++] = "Sheldon Whalley" - creditname[credamt++] = "Grigoriy Kovalenko" - creditname[credamt++] = "ZuZuBe" - creditname[credamt++] = "Noelemahc" - creditname[credamt++] = "picassowary" - creditname[credamt++] = "Kevin Robertson" - creditname[credamt++] = "Dark Star" - creditname[credamt++] = "kg" - creditname[credamt++] = "knaji" - creditname[credamt++] = "Robert Schultz" - creditname[credamt++] = "chaosprime" - creditname[credamt++] = "Jarod Crockett" - creditname[credamt++] = "Shea True" - creditname[credamt++] = "XainZero (Ian)" - creditname[credamt++] = "Sophia" - creditname[credamt++] = "mary borsellino" - creditname[credamt++] = "NatSquid" - creditname[credamt++] = "Conal Chan" - creditname[credamt++] = "Jake Kaplan" - creditname[credamt++] = "Brian" - creditname[credamt++] = "Zobot257" - creditname[credamt++] = "Christopher Woodside" - creditname[credamt++] = "Stephen DeCubellis" - creditname[credamt++] = "Nigel Nelson" - creditname[credamt++] = "Kelly L. Hoins" - creditname[credamt++] = "Anthony Daniels" - creditname[credamt++] = "Alex Ladzinski" - creditname[credamt++] = "Matthew Myers" - creditname[credamt++] = "RH" - creditname[credamt++] = "Stephen Keating" - creditname[credamt++] = "Lawrence Kern" - creditname[credamt++] = "Budi S" - creditname[credamt++] = "Detour" - creditname[credamt++] = "eLe" - creditname[credamt++] = "Justin S" - creditname[credamt++] = "Eric Kramer" - creditname[credamt++] = "Kassie" - creditname[credamt++] = "MJ Lee" - creditname[credamt++] = "Erica" - creditname[credamt++] = "Joshua Keaton" - creditname[credamt++] = "bugmeetrock" - creditname[credamt++] = "Rigrot" - creditname[credamt++] = "Sam Parwar" - creditname[credamt++] = "Mark Grandstaff" - creditname[credamt++] = "MirMir" - creditname[credamt++] = "Abigail Fox" - creditname[credamt++] = "Phyllis Douglas" - creditname[credamt++] = "Bernard Rebours" - creditname[credamt++] = "PF Anderson" - creditname[credamt++] = "Micah Jones" - creditname[credamt++] = "grace genter" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Ian Matthew Michael Burg" - creditname[credamt++] = "EmbryonJen" - creditname[credamt++] = "N Weismuller" - creditname[credamt++] = "Nick McVroom-Amoakohene" - creditname[credamt++] = "adam debany" - creditname[credamt++] = "Bridget Rog" - creditname[credamt++] = "Darren Sampson" - creditname[credamt++] = "Stephen" - creditname[credamt++] = "Patrick Ellis" - creditname[credamt++] = "Doofus" - creditname[credamt++] = "Demyx" - creditname[credamt++] = "V. Ventura" - creditname[credamt++] = "Stephen Petraeus" - creditname[credamt++] = "Zack Corcoran" - creditname[credamt++] = "Jc Edualino" - creditname[credamt++] = "Bjorn Schenke" - creditname[credamt++] = "Zorak" - creditname[credamt++] = "Professor Icepick" - creditname[credamt++] = "Michael Lekon" - creditname[credamt++] = "Martin Coxall" - creditname[credamt++] = "Abby Lusk" - creditname[credamt++] = "Josh Bailey" - creditname[credamt++] = "Yaiba Saya" - creditname[credamt++] = "Matthew" - creditname[credamt++] = "Benjamin \"BenaSPACE\" McQueen" - creditname[credamt++] = "J. A. Salazar" - creditname[credamt++] = "Omni Desol" - creditname[credamt++] = "Stephen Celis" - creditname[credamt++] = "Zhe Zhou" - creditname[credamt++] = "Jon South" - creditname[credamt++] = "Jessica H." - creditname[credamt++] = "Pedro T." - creditname[credamt++] = "Sarah Jensen" - creditname[credamt++] = "Aaron" - creditname[credamt++] = "Lorenzo Canales" - creditname[credamt++] = "Sekojo" - creditname[credamt++] = "Evan Carter" - creditname[credamt++] = "Kralec" - creditname[credamt++] = "Christian Hopwood" - creditname[credamt++] = "Kenneth Sloane" - creditname[credamt++] = "ascasc" - creditname[credamt++] = "Jonathan Fu" - creditname[credamt++] = "Charles" - creditname[credamt++] = "leif olofsson" - creditname[credamt++] = "Dan Henry Langgaard" - creditname[credamt++] = "Ean L. Roth" - creditname[credamt++] = "Corban Andrew Coffman" - creditname[credamt++] = "James E Richmond" - creditname[credamt++] = "Ketchupface" - creditname[credamt++] = "SA,ren MoskjA|r Lauridsen" - creditname[credamt++] = "Christopher Jose" - creditname[credamt++] = "Russell Deitch" - creditname[credamt++] = "Toby Fox" - creditname[credamt++] = "Chris B." - creditname[credamt++] = "OatmealRaisin" - creditname[credamt++] = "Edlyn \"Xisuu\" Si" - creditname[credamt++] = "Mark" - creditname[credamt++] = "Nikolaj Lyhne" - creditname[credamt++] = "Thorvald Natvig" - creditname[credamt++] = "William McKinley" - creditname[credamt++] = "Chris Marten" - creditname[credamt++] = "Mark Keating" - creditname[credamt++] = "Steve Johnson" - creditname[credamt++] = "Sean Gaddis" - creditname[credamt++] = "Matthew Lane" - creditname[credamt++] = "Jack Sharples" - creditname[credamt++] = "Kinetic Gibbon" - creditname[credamt++] = "Chris Bernardi" - creditname[credamt++] = "Jeff Bartus" - creditname[credamt++] = "Lee Tantral" - creditname[credamt++] = "duibucbuc" - creditname[credamt++] = "Jeremy Swanson" - creditname[credamt++] = "Lily Sears" - creditname[credamt++] = "clintdaley" - creditname[credamt++] = "Dave Burkett" - creditname[credamt++] = "Justin Moor" - creditname[credamt++] = "Cei Reid" - creditname[credamt++] = "M B" - creditname[credamt++] = "JWagner" - creditname[credamt++] = "Jonathan \"ChessboardMan\" Barrett" - creditname[credamt++] = "Paul Emile Gerard" - creditname[credamt++] = "Gunnar Hogberg" - creditname[credamt++] = "Adam Rajski" - creditname[credamt++] = "Bliss Provo" - creditname[credamt++] = "Charles \"Chip Champion\" Rogers III" - creditname[credamt++] = "Vivian W." - creditname[credamt++] = "Gregory Johnson" - creditname[credamt++] = "Zachary \"ZarroTsu\" Baillie" - creditname[credamt++] = "Bongi Chirunga" - creditname[credamt++] = "Marcus" - creditname[credamt++] = "Lauran Parise" - creditname[credamt++] = "Kevin T McAllister" - creditname[credamt++] = "Kevin Ramsay" - creditname[credamt++] = "Cody Guthrie" - creditname[credamt++] = "Erik Johnson" - creditname[credamt++] = "Amelia Li" - creditname[credamt++] = "Togglesworlh" - creditname[credamt++] = "Will \"Radnar\" Kilgore" - creditname[credamt++] = "Wright Johnson" - creditname[credamt++] = "Nicholas Cuccherini" - creditname[credamt++] = "Daniel Mauterer" - creditname[credamt++] = "Richard" - creditname[credamt++] = "Austin Szabo" - creditname[credamt++] = "Stephanie Rainey" - creditname[credamt++] = "Brandon Garlock" - creditname[credamt++] = "Glen Than" - creditname[credamt++] = "Nathaniel Tabit" - creditname[credamt++] = "Elias Thompson" - creditname[credamt++] = "David Wagner" - creditname[credamt++] = "Thomas Cain" - creditname[credamt++] = "Jaymark108" - creditname[credamt++] = "Irregular" - creditname[credamt++] = "Christian Walde" - creditname[credamt++] = "Luca Hibbard-Curto" - creditname[credamt++] = "Alexis Carpenter" - creditname[credamt++] = "Kevin Portland" - creditname[credamt++] = "BIGlittleBot" - creditname[credamt++] = "droqen" - creditname[credamt++] = "Matthew Robert Shanahan" - creditname[credamt++] = "Matthew Dobbins" - creditname[credamt++] = "Christopher J. Barnes" - creditname[credamt++] = "Arlin" - creditname[credamt++] = "Michael Bosmeny" - creditname[credamt++] = "Nick Pereira" - creditname[credamt++] = "Erin Tucker" - creditname[credamt++] = "Eddie Anzore" - creditname[credamt++] = "Christopher Grant" - creditname[credamt++] = "Giordano Caputi" - creditname[credamt++] = "Gerard Remy" - creditname[credamt++] = "Pascal De Lisio" - creditname[credamt++] = "Manny" - creditname[credamt++] = "Brian Mathews" - creditname[credamt++] = "Jonathan Catbus" - creditname[credamt++] = "Per Kristian Brastad" - creditname[credamt++] = "Christopher David Wilson" - creditname[credamt++] = "CrisisSDK" - creditname[credamt++] = "John Michel" - creditname[credamt++] = "Darkk the Dragon" - creditname[credamt++] = "Eduardo Ruiz" - creditname[credamt++] = "Donna Johnson" - creditname[credamt++] = "Gletschen" - creditname[credamt++] = "Tiara Lieber" - creditname[credamt++] = "Kalt" - creditname[credamt++] = "Hannah" - creditname[credamt++] = "Chris Backhuus" - creditname[credamt++] = "Sketcherism" - creditname[credamt++] = "Denzel Jackson Ewing" - creditname[credamt++] = "Xiagu" - creditname[credamt++] = "Stephanie Shofner" - creditname[credamt++] = "mitchbee" - creditname[credamt++] = "Draconaes" - creditname[credamt++] = "Martin \"AT\" Stewart" - creditname[credamt++] = "Tom" - creditname[credamt++] = "John W. Bruce" - creditname[credamt++] = "Andrew Welch" - creditname[credamt++] = "Nephera" - creditname[credamt++] = "Van den Bosch Tim" - creditname[credamt++] = "Ross Mallinson" - creditname[credamt++] = "Naomi Liew" - creditname[credamt++] = "Bugmaster" - creditname[credamt++] = "Joseph Tate" - creditname[credamt++] = "Tim Sweeney" - creditname[credamt++] = "Plaid" - creditname[credamt++] = "Sean Loftus" - creditname[credamt++] = "Liz H" - creditname[credamt++] = "Jean-Luc Portelli" - creditname[credamt++] = "Joel Bourassa" - creditname[credamt++] = "Zabuni" - creditname[credamt++] = "Mike Drobnack" - creditname[credamt++] = "Ree" - creditname[credamt++] = "Fweiss" - creditname[credamt++] = "Fleon Labs" - creditname[credamt++] = "Herr Foxley" - creditname[credamt++] = "Anthony Bailey" - creditname[credamt++] = "Jon" - creditname[credamt++] = "Kazerad" - creditname[credamt++] = "A Strange Yolk" - creditname[credamt++] = "Dylan Lacey" - creditname[credamt++] = "Taylor Haar" - creditname[credamt++] = "Jose Nieves" - creditname[credamt++] = "Edward Damon" - creditname[credamt++] = "Ben P" - creditname[credamt++] = "Pan" - creditname[credamt++] = "Torbjorn" - creditname[credamt++] = "James Carlisle Holder" - creditname[credamt++] = "James Johnson" - creditname[credamt++] = "Lyric Chavez" - creditname[credamt++] = "Matthew Winter" - creditname[credamt++] = "Pat Lapierre" - creditname[credamt++] = "Robert Schiewe" - creditname[credamt++] = "Dave Billington" - creditname[credamt++] = "Jessica Witt" - creditname[credamt++] = "Richard Ginter" - creditname[credamt++] = "Curtis A. Eves \"TehLazyOne\"" - creditname[credamt++] = "Nathan" - creditname[credamt++] = "Andre Lawton" - creditname[credamt++] = "Shay" - creditname[credamt++] = "Lucinda Diaz" - creditname[credamt++] = "Lawrence Leclercq" - creditname[credamt++] = "Geight" - creditname[credamt++] = "Primalmatrix" - creditname[credamt++] = "David Tersegno" - creditname[credamt++] = "Togeyosh" - creditname[credamt++] = "Magnus H." - creditname[credamt++] = "sarf" - creditname[credamt++] = "Michael Gazaway" - creditname[credamt++] = "SeanJBell" - creditname[credamt++] = "Mara Seaborne" - creditname[credamt++] = "chloe" - creditname[credamt++] = "David Funk" - creditname[credamt++] = "Wolfbender" - creditname[credamt++] = "Gabriel de Souza Vieira Batista" - creditname[credamt++] = "Ben Dunmore" - creditname[credamt++] = "Aori Radidjiu" - creditname[credamt++] = "Sascha Kolewa" - creditname[credamt++] = "Zeny Di" - creditname[credamt++] = "Anthony Garcia" - creditname[credamt++] = "JD Larson" - creditname[credamt++] = "Alex Korth" - creditname[credamt++] = "Mijichu" - creditname[credamt++] = "Noel" - creditname[credamt++] = "HC" - creditname[credamt++] = "Ilma Raupp" - creditname[credamt++] = "Daniel Roller" - creditname[credamt++] = "Jesse Whyte" - creditname[credamt++] = "Trevor" - creditname[credamt++] = "Craig Crosier" - creditname[credamt++] = "Klokwurk" - creditname[credamt++] = "Christian" - creditname[credamt++] = "jack" - creditname[credamt++] = "fallintosanity" - creditname[credamt++] = "Shauna" - creditname[credamt++] = "wrincewind" - creditname[credamt++] = "Syl" - creditname[credamt++] = "Anthony Hanson" - creditname[credamt++] = "PolyCement" - creditname[credamt++] = "Snakealiciouz" - creditname[credamt++] = "William So" - creditname[credamt++] = "CubicPhantom" - creditname[credamt++] = "KT Coope" - creditname[credamt++] = "Michael Ong" - creditname[credamt++] = "Mezzo" - creditname[credamt++] = "Skandranon" - creditname[credamt++] = "Sean Ritzo" - creditname[credamt++] = "NJinasena" - creditname[credamt++] = "LakotaWolf" - creditname[credamt++] = "Sofia Winterbourne" - creditname[credamt++] = "Christopher Sin" - creditname[credamt++] = "Half-Assured" - creditname[credamt++] = "Alessandro Arena-DeRosa" - creditname[credamt++] = "Julien" - creditname[credamt++] = "Sleepy Waters" - creditname[credamt++] = "Kasran" - creditname[credamt++] = "Michael D'Andrea" - creditname[credamt++] = "Lauren Smith" - creditname[credamt++] = "Luke \"Association\" Fox" - creditname[credamt++] = "Alex Bergquist" - creditname[credamt++] = "David Wilson" - creditname[credamt++] = "Galit A." - creditname[credamt++] = "Jonathan Whyte" - creditname[credamt++] = "CptSparky" - creditname[credamt++] = "Michael Hellenbrecht" - creditname[credamt++] = "smack" - creditname[credamt++] = "William Boseth Harding" - creditname[credamt++] = "AImler" - creditname[credamt++] = "Mads Johansen" - creditname[credamt++] = "Petter S. Fossum" - creditname[credamt++] = "Robbie Schoeppner" - creditname[credamt++] = "CloudySky" - creditname[credamt++] = "Joseph Golding" - creditname[credamt++] = "Taime Pschirrer" - creditname[credamt++] = "Espen Arntzen" - creditname[credamt++] = "Bryne Oliver" - creditname[credamt++] = "Desmond Molly Jones" - creditname[credamt++] = "Josh Breitbart" - creditname[credamt++] = "Sean O'F" - creditname[credamt++] = "Dakk Passerida" - creditname[credamt++] = "annoyed" - creditname[credamt++] = "W. Kyle Korth" - creditname[credamt++] = "Jesse Murphy" - creditname[credamt++] = "Kenneth Cuyugan" - creditname[credamt++] = "Zaos" - creditname[credamt++] = "Kyle Fox" - creditname[credamt++] = "James Harrod" - creditname[credamt++] = "Michelle" - creditname[credamt++] = "Grandy Peace" - creditname[credamt++] = "Sergio" - creditname[credamt++] = "Richard Van Tassel" - creditname[credamt++] = "shmorky" - creditname[credamt++] = "Richard Whittaker" - creditname[credamt++] = "Zaine Otter" - creditname[credamt++] = "Tman" - creditname[credamt++] = "A Swarm of Bees" - creditname[credamt++] = "Melissa Valen" - creditname[credamt++] = "em" - creditname[credamt++] = "Edna Rouse (DiscoKittie)" - creditname[credamt++] = "Robbie Van de Motter" - creditname[credamt++] = "Kieran Perreau" - creditname[credamt++] = "Alissa Lyon" - creditname[credamt++] = "Jacob Niles" - creditname[credamt++] = "Sillipenda" - creditname[credamt++] = "Takkun" - creditname[credamt++] = "ketwyld" - creditname[credamt++] = "Carl Salbacka" - creditname[credamt++] = "Bryan Novak" - creditname[credamt++] = "Dynamite Man.EXE" - creditname[credamt++] = "Jason Frizzell" - creditname[credamt++] = "Eric P. Kurniawan" - creditname[credamt++] = "Matt Trepal" - creditname[credamt++] = "nexas777" - creditname[credamt++] = "Jason and Kai Wodicka" - creditname[credamt++] = "YP Lim" - creditname[credamt++] = "PureQuestion" - creditname[credamt++] = "Anthony Baussard" - creditname[credamt++] = "Jason Siu" - creditname[credamt++] = "Malcolm Brown" - creditname[credamt++] = "Steven Seyler" - creditname[credamt++] = "David Ellis" - creditname[credamt++] = "Jesse Lambrecht" - creditname[credamt++] = "Donald King" - creditname[credamt++] = "Scott Janicek" - creditname[credamt++] = "Alexandra Falk" - creditname[credamt++] = "Alexandre Cleret de Langavant" - creditname[credamt++] = "Ralphael Krios" - creditname[credamt++] = "Shawn Y. Lee" - creditname[credamt++] = "Annie Freeman" - creditname[credamt++] = "Shane" - creditname[credamt++] = "Kevin" - creditname[credamt++] = "Lauren Weisel" - creditname[credamt++] = "Jonathan Summerton" - creditname[credamt++] = "Samantha Garcia" - creditname[credamt++] = "Jonny Torres" - creditname[credamt++] = "Ephraim Vraspir" - creditname[credamt++] = "Liam Jones" - creditname[credamt++] = "Yves Verbeck" - creditname[credamt++] = "Danny Baggett" - creditname[credamt++] = "Keegan J. Trenerry" - creditname[credamt++] = "Eric Kimball" - creditname[credamt++] = "Ruderabbit" - creditname[credamt++] = "Evan Copeland" - creditname[credamt++] = "Autumn Gaffney" - creditname[credamt++] = "SwordFire" - creditname[credamt++] = "Spencer Arndt" - creditname[credamt++] = "Imani Mercedes Brown" - creditname[credamt++] = "Michael Duralia" - creditname[credamt++] = "Jennifer Maddux" - creditname[credamt++] = "VenomChaos" - creditname[credamt++] = "Melibe" - creditname[credamt++] = "Brandon Barker" - creditname[credamt++] = "Matt" - creditname[credamt++] = "ZepysGirl" - creditname[credamt++] = "Zachary Cooper" - creditname[credamt++] = "J M Bondzeleske" - creditname[credamt++] = "William Bolger" - creditname[credamt++] = "Kimberly Hartman" - creditname[credamt++] = "Joe Cardwell" - creditname[credamt++] = "Justin Kang" - creditname[credamt++] = "Paul Hedges" - creditname[credamt++] = "Jacob Hapner" - creditname[credamt++] = "Jonathan Caridia" - creditname[credamt++] = "Ahna" - creditname[credamt++] = "Julian Quirion" - creditname[credamt++] = "Tay-Tay Dixon" - creditname[credamt++] = "Tatiana Yamamura" - creditname[credamt++] = "Edmund Currie" - creditname[credamt++] = "Kastorr" - creditname[credamt++] = "Linaru" - creditname[credamt++] = "Nicholas Bybee" - creditname[credamt++] = "Henry Branscombe" - creditname[credamt++] = "Will Raus" - creditname[credamt++] = "Bertrand Guerin-Williams" - creditname[credamt++] = "Alexander I Hthiy" - creditname[credamt++] = "K Stephens" - creditname[credamt++] = "Jess" - creditname[credamt++] = "Jacob Koch" - creditname[credamt++] = "Zero DragonLord" - creditname[credamt++] = "David Rey" - creditname[credamt++] = "Dan" - creditname[credamt++] = "Nathan Goldman" - creditname[credamt++] = "Ryan Seney" - creditname[credamt++] = "ky blotky" - creditname[credamt++] = "Tev Kaber" - creditname[credamt++] = "Ran Brown" - creditname[credamt++] = "Ahmed Al-Qassar" - creditname[credamt++] = "Tamara Baum" - creditname[credamt++] = "Yuriy Shchebetin" - creditname[credamt++] = "Joshua Bourgeois" - creditname[credamt++] = "Robert Blaylock" - creditname[credamt++] = "Elaine Bonner" - creditname[credamt++] = "Brianna" - creditname[credamt++] = "Egon L." - creditname[credamt++] = "Callum Atchison" - creditname[credamt++] = "Xan" - creditname[credamt++] = "Harold Abnabit" - creditname[credamt++] = "Jeffrey Blair" - creditname[credamt++] = "John Su" - creditname[credamt++] = "Riff Conner" - creditname[credamt++] = "jenica" - creditname[credamt++] = "Melanie Gaughran" - creditname[credamt++] = "Ryan Patrick Bell" - creditname[credamt++] = "Chris Gile" - creditname[credamt++] = "Kevin Robinson" - creditname[credamt++] = "Spindrift" - creditname[credamt++] = "Andres Velasco y Coll" - creditname[credamt++] = "Rory Fraga" - creditname[credamt++] = "Peter Dean" - creditname[credamt++] = "Jack Raines" - creditname[credamt++] = "Sam Dempster" - creditname[credamt++] = "Konstantin Goreley" - creditname[credamt++] = "Christian Rogers" - creditname[credamt++] = "Greliz" - creditname[credamt++] = "Demond Rogers" - creditname[credamt++] = "divineDerivative" - creditname[credamt++] = "KT Jayne" - creditname[credamt++] = "Derek Rose" - creditname[credamt++] = "Mike McGinn" - creditname[credamt++] = "Ashley Davis" - creditname[credamt++] = "Ken Jackson" - creditname[credamt++] = "Leonardo Millan" - creditname[credamt++] = "Kyle Pinheiro" - creditname[credamt++] = "EXPotemkin" - creditname[credamt++] = "Dorian Stanton" - creditname[credamt++] = "Molly Hayden" - creditname[credamt++] = "Kevin Clark" - creditname[credamt++] = "Christopher Wilson" - creditname[credamt++] = "Ryan Curtis" - creditname[credamt++] = "Sophia Volpi" - creditname[credamt++] = "Ted Anderson" - creditname[credamt++] = "Adam Salek" - creditname[credamt++] = "Joe Cotnoir" - creditname[credamt++] = "Kaeti V." - creditname[credamt++] = "Natasha and Richard" - creditname[credamt++] = "Olivia" - creditname[credamt++] = "PJ Trauger" - creditname[credamt++] = "Mewscaper" - creditname[credamt++] = "nowmai" - creditname[credamt++] = "Alp Aziz Torun" - creditname[credamt++] = "Mark Snyder" - creditname[credamt++] = "Cole W" - creditname[credamt++] = "Kevin Huang" - creditname[credamt++] = "Sharon Isabelle Simmonds" - creditname[credamt++] = "Elyse Waite" - creditname[credamt++] = "Kenneth Stephens" - creditname[credamt++] = "TheDougem" - creditname[credamt++] = "Henry W Schubert" - creditname[credamt++] = "Steven Hopkins" - creditname[credamt++] = "Dustin Williams" - creditname[credamt++] = "Alex Rhodes" - creditname[credamt++] = "a series of birds" - creditname[credamt++] = "Erin H" - creditname[credamt++] = "Kjorteo Kalante" - creditname[credamt++] = "Tom Robinson" - creditname[credamt++] = "Travis Prow" - creditname[credamt++] = "mythago" - creditname[credamt++] = "V.S." - creditname[credamt++] = "Devon Mullane" - creditname[credamt++] = "Sir Jordi" - creditname[credamt++] = "elendia" - creditname[credamt++] = "Adam Chapdelaine" - creditname[credamt++] = "Aaron Bragg" - creditname[credamt++] = "Nicholas Muscles Del Guercio" - creditname[credamt++] = "Jason Schwab" - creditname[credamt++] = "Jordan Gernsbacher" - creditname[credamt++] = "Ville Hahtonen" - creditname[credamt++] = "Gene" - creditname[credamt++] = "Jacques_Cousteau" - creditname[credamt++] = "Nicole LaChance" - creditname[credamt++] = "AbdulAziz Al-Kaboor" - creditname[credamt++] = "Xkeeper" - creditname[credamt++] = "Chantal DeAngelo" - creditname[credamt++] = "Jade Stoughton" - creditname[credamt++] = "Hanni Brosh" - creditname[credamt++] = "Mark Stiegemeier" - creditname[credamt++] = "Stephen Wesley Shannon" - creditname[credamt++] = "Eric Boot" - creditname[credamt++] = "Denise" - creditname[credamt++] = "Maria Annichia Riolo" - creditname[credamt++] = "Joshua Duray" - creditname[credamt++] = "Gibbs Moore" - creditname[credamt++] = "Aaron Kaluszka" - creditname[credamt++] = "Tyler Roser" - creditname[credamt++] = "Cody H. Billie" - creditname[credamt++] = "Jeffrey Harris" - creditname[credamt++] = "Hunter Billie" - creditname[credamt++] = "Havana Lapin" - creditname[credamt++] = "Charly Suess" - creditname[credamt++] = "Travis Arnold" - creditname[credamt++] = "Amy Chang" - creditname[credamt++] = "Jeff Taylor" - creditname[credamt++] = "shaunkendall" - creditname[credamt++] = "Casey" - creditname[credamt++] = "Jesse" - creditname[credamt++] = "Nick Tiner" - creditname[credamt++] = "Stephen Shrum" - creditname[credamt++] = "Nikolas San Lucas" - creditname[credamt++] = "Chad Bruce" - creditname[credamt++] = "Kamil Knapczyk" - creditname[credamt++] = "Elise Ranero" - creditname[credamt++] = "Nargleflex" - creditname[credamt++] = "Valerie" - creditname[credamt++] = "Manuela Saenz" - creditname[credamt++] = "Larein" - creditname[credamt++] = "Alicia Garcia" - creditname[credamt++] = "Rollinstein" - creditname[credamt++] = "Joshua Winick" - creditname[credamt++] = "Jack & Jenna Murphy" - creditname[credamt++] = "Matthew Smith" - creditname[credamt++] = "Alexis Royce" - creditname[credamt++] = "kthxcat" - creditname[credamt++] = "KC Green" - creditname[credamt++] = "Jeremy Ogden Bazzini-Ellis" - creditname[credamt++] = "Shion" - creditname[credamt++] = "Jessie Rai" - creditname[credamt++] = "Briana Ganzhorn" - creditname[credamt++] = "Brent" - creditname[credamt++] = "Luke Parkinson" - creditname[credamt++] = "Kafzeil" - creditname[credamt++] = "Colin J. MacDougall" - creditname[credamt++] = "Claire" - creditname[credamt++] = "Braxton Harris" - creditname[credamt++] = "Summerwine Games" - creditname[credamt++] = "Alexander S." - creditname[credamt++] = "Ahmed Almutawa" - creditname[credamt++] = "Michelle Czajkowski" - creditname[credamt++] = "Mike Reid" - creditname[credamt++] = "Samael the Butterdragon" - creditname[credamt++] = "James Roach" - creditname[credamt++] = "Luna and DC" - creditname[credamt++] = "Chess" -} -creditname[credamt++] = "%%%" -return credamt; diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_namingscreen.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_namingscreen.gml deleted file mode 100644 index 910c48cca..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_namingscreen.gml +++ /dev/null @@ -1,616 +0,0 @@ -var lines; -draw_set_color(c_white) -scr_setfont(fnt_maintext) -if (naming == 4) -{ - global.charname = charname - instance_create(0, 0, obj_whitefader) - caster_free(-3) - alerm = 0 - naming = 5 - cy = caster_load("music/cymbal.ogg") - caster_play(cy, 0.8, 0.95) -} -if (naming == 5) -{ - alerm += 1 - if (q < 120) - q += 1 - var xx = (name_x - (q / 3)) - if (global.language == "ja") - { - var kana_count = 0 - for (var i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - if (alerm > 179) - { - instance_create(0, 0, obj_persistentfader) - if (truereset > 0) - { - ossafe_ini_open("undertale.ini") - sk = ini_read_real("reset", "s_key", 0) - var Won = ini_read_real("General", "Won", 0) - var CP = ini_read_real("General", "CP", 0) - var CH = ini_read_real("General", "CH", 0) - ossafe_ini_close() - if ossafe_file_exists("undertale.ini") - ossafe_file_delete("undertale.ini") - ossafe_ini_open("undertale.ini") - ini_write_real("reset", "reset", 1) - if (sk != 0) - ini_write_real("reset", "s_key", sk) - if (Won != 0) - ini_write_real("General", "BW", Won) - if (CP != 0) - ini_write_real("General", "BP", CP) - if (CH != 0) - ini_write_real("General", "BH", CH) - ossafe_ini_close() - } - caster_free(cy) - global.flag[5] = (floor(random(100)) + 1) - ossafe_ini_open("undertale.ini") - ini_write_real("General", "fun", global.flag[5]) - ossafe_ini_close() - ossafe_savedata_save() - with (obj_time) - time = 0 - if scr_hardmodename(charname) - global.flag[6] = 1 - room_goto_next() - } -} -if (naming == 2) -{ - if (charname == "") - { - spec_m = scr_gettext("name_entry_missing") - allow = 0 - } - else if scr_hardmodename(charname) - { - spec_m = scr_gettext("name_entry_hardmode") - allow = 1 - } - else if (hasname == 1 && truereset == 0 && (!scr_hardmodename(global.charname))) - { - spec_m = scr_gettext("name_entry_already") - allow = 1 - } - else - scr_namingscreen_check(charname) - var confirm = (control_check_pressed(0) && selected2 >= 0) - if confirm - { - if allow - { - if (selected2 == 1 && string_length(charname) > 0) - naming = 4 - } - if (selected2 == 0) - { - if (hasname == 1 && truereset == 0) - naming = 3 - else - naming = 1 - } - return; - } - draw_set_color(c_white) - if (q < 120) - q += 1 - xx = (name_x - (q / 3)) - if (global.language == "ja") - { - kana_count = 0 - for (i = 0; i < strlen(charname); i++) - { - if (ord(string_char_at(charname, i)) >= 12288) - kana_count++ - } - if (kana_count > 1) - xx -= ((kana_count - 1) * (q / 10)) - } - draw_text_transformed((xx + random((r * 2))), (((q / 2) + name_y) + random((r * 2))), string_hash_to_newline(charname), (1 + (q / 50)), (1 + (q / 50)), random_ranger((((-r) * q) / 60), ((r * q) / 60))) - draw_text(90, 30, string_hash_to_newline(spec_m)) - draw_set_color(c_white) - if allow - { - if (selected2 == 0) - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("no")) - draw_set_color(c_white) - if (selected2 == 1) - draw_set_color(c_yellow) - scr_drawtext_centered(240, 200, scr_gettext("yes")) - } - else - { - draw_set_color(c_yellow) - scr_drawtext_centered(80, 200, scr_gettext("name_entry_goback")) - draw_set_color(c_white) - } - if allow - { - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected2 == 1) - selected2 = 0 - else - selected2 = 1 - } - } -} -if (naming == 1) -{ - q = 0 - r = 0.5 - for (var row = 0; row < rows; row++) - { - var yy = ymap[row] - for (var col = 0; col < cols; col++) - { - xx = xmap[col] - if (selected_row == row && selected_col == col) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text((xx + random(r)), (yy + random(r)), string_hash_to_newline(charmap[row, col])) - } - } - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 0) - draw_set_color(c_yellow) - var menu_text0 = scr_gettext("name_entry_quit") - draw_text(menu_x0, menu_y, string_hash_to_newline(menu_text0)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 1) - draw_set_color(c_yellow) - var menu_text1 = scr_gettext("name_entry_backspace") - draw_text(menu_x1, menu_y, string_hash_to_newline(menu_text1)) - draw_set_color(c_white) - if (selected_row == -1 && selected_col == 2) - draw_set_color(c_yellow) - var menu_text2 = scr_gettext("name_entry_done") - draw_text(menu_x2, menu_y, string_hash_to_newline(menu_text2)) - if (global.language == "ja") - { - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 0) - draw_set_color(c_yellow) - var charset_text0 = "ひらがな" - draw_text(charset_x0, charset_y, string_hash_to_newline(charset_text0)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 1) - draw_set_color(c_yellow) - var charset_text1 = "カタカナ" - draw_text(charset_x1, charset_y, string_hash_to_newline(charset_text1)) - draw_set_color(c_white) - if (selected_row == -2 && selected_col == 2) - draw_set_color(c_yellow) - var charset_text2 = "アルファベット" - draw_text(charset_x2, charset_y, string_hash_to_newline(charset_text2)) - } - var old_col = selected_col - do - { - if keyboard_check_pressed(vk_right) - { - selected_col++ - if (selected_row == -1) - { - if (selected_col > 2) - selected_col = 0 - } - else if (selected_col >= cols) - { - if (selected_row == (rows - 1)) - { - selected_col = old_col - break - } - else - { - selected_col = 0 - selected_row++ - } - } - } - if keyboard_check_pressed(vk_left) - { - selected_col-- - if (selected_col < 0) - { - if (selected_row == 0) - selected_col = 0 - else if (selected_row > 0) - { - selected_col = (cols - 1) - selected_row-- - } - else - selected_col = 2 - } - } - if keyboard_check_pressed(vk_down) - { - if (selected_row == -1) - { - selected_row = 0 - xx = menu_x0 - if (selected_col == 1) - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - var best = 0 - var bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - var diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - else - { - selected_row++ - if (selected_row >= rows) - { - if (global.language == "ja") - { - selected_row = -2 - xx = xmap[selected_col] - if (xx >= (charset_x2 - 10)) - selected_col = 2 - else if (xx >= (charset_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - else - { - selected_row = -1 - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - if keyboard_check_pressed(vk_up) - { - if (selected_row == -2) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = charset_x1 - if (selected_col == 2) - xx = charset_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else if (global.language != "ja" && selected_row == -1) - { - selected_row = (rows - 1) - if (selected_col > 0) - { - xx = menu_x1 - if (selected_col == 2) - xx = menu_x2 - best = 0 - bestdiff = abs((xmap[0] - xx)) - for (i = 1; i < cols; i++) - { - diff = abs((xmap[i] - xx)) - if (diff < bestdiff) - { - best = i - bestdiff = diff - } - } - selected_col = best - } - } - else - { - selected_row-- - if (selected_row == -1) - { - xx = xmap[selected_col] - if (xx >= (menu_x2 - 10)) - selected_col = 2 - else if (xx >= (menu_x1 - 10)) - selected_col = 1 - else - selected_col = 0 - } - } - } - } - until (selected_col < 0 || selected_row < 0 || string_length(charmap[selected_row, selected_col]) > 0); - bks_f = 0 - confirm = control_check_pressed(0) - if confirm - { - if (selected_row == -1) - { - if (selected_col == 0) - naming = 3 - if (selected_col == 1) - bks_f = 1 - if (selected_col == 2) - { - if (string_length(charname) > 0) - { - naming = 2 - selected2 = 0 - } - } - control_clear(0) - } - else if (selected_row == -2) - { - selected_charmap = (1 + selected_col) - if (selected_charmap == 1) - { - rows = hiragana_rows - cols = hiragana_cols - xmap = hiragana_x - ymap = hiragana_y - charmap = hiragana_charmap - } - else if (selected_charmap == 2) - { - rows = katakana_rows - cols = katakana_cols - xmap = katakana_x - ymap = katakana_y - charmap = katakana_charmap - } - else - { - rows = ja_ascii_rows - cols = ja_ascii_cols - xmap = ja_ascii_x - ymap = ja_ascii_y - charmap = ja_ascii_charmap - } - } - else - { - if (string_length(charname) == 6) - charname = string_delete(charname, 6, 1) - charname += charmap[selected_row, selected_col] - } - } - if (control_check_pressed(1) || bks_f == 1) - { - s = string_length(charname) - if (s > 0) - charname = string_delete(charname, s, 1) - control_clear(1) - } - draw_set_color(c_white) - draw_text(name_x, name_y, string_hash_to_newline(charname)) - scr_drawtext_centered(160, title_y, scr_gettext("name_entry_title")) -} -if (naming == 3) -{ - iniread = ossafe_ini_open("undertale.ini") - if (ini_section_exists("General") && hasname == 1) - { - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 0 - if (seconds < 10) - seconds = ("0" + string(seconds)) - var roomname = scr_roomname(roome) - var lvtext = scr_gettext("save_menu_lv", string(love)) - var timetext = scr_gettext("save_menu_time", string(minutes), string(seconds)) - var namesize = string_width(string_hash_to_newline(substr(name, 1, 6))) - var lvsize = string_width(string_hash_to_newline(lvtext)) - var timesize = string_width(string_hash_to_newline(timetext)) - var x_center = 160 - var lvpos = round((((x_center + (namesize / 2)) - (timesize / 2)) - (lvsize / 2))) - var namepos = 70 - var timepos = 250 - if (global.language == "ja") - { - namepos -= 6 - timepos += 6 - } - draw_text(namepos, 62, string_hash_to_newline(name)) - draw_text(lvpos, 62, string_hash_to_newline(lvtext)) - draw_text((timepos - timesize), 62, string_hash_to_newline(timetext)) - if (global.language == "ja") - scr_drawtext_centered(x_center, 80, roomname) - else - draw_text(namepos, 80, string_hash_to_newline(roomname)) - if (selected3 == 0) - draw_set_color(c_yellow) - var continue_text = scr_gettext("load_menu_continue") - draw_text(continue_x, 105, string_hash_to_newline(continue_text)) - draw_set_color(c_white) - draw_set_color(c_white) - if (selected3 == 2) - draw_set_color(c_yellow) - scr_drawtext_centered(160, 125, scr_gettext("settings_name")) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - if (truereset == 0) - var reset_text = scr_gettext("load_menu_reset") - else - reset_text = scr_gettext("load_menu_truereset") - draw_text(reset_x, 105, string_hash_to_newline(reset_text)) - if (keyboard_check_pressed(vk_right) || keyboard_check_pressed(vk_left)) - { - if (selected3 == 0) - selected3 = 1 - else if (selected3 == 1) - selected3 = 0 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0 || selected3 == 1) - selected3 = 2 - keyboard_clear(vk_down) - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 2) - selected3 = 0 - keyboard_clear(vk_down) - } - var action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - caster_free(-3) - if (ossafe_file_exists("file0") == 0) - room_goto_next() - else - script_execute(scr_load) - } - if (action == 1) - { - if (hasname == 0 || scr_hardmodename(global.charname) || truereset > 0) - naming = 1 - else - { - charname = global.charname - naming = 2 - alerm = 0 - r = 0.5 - q = 0 - } - control_clear(0) - } - if (action == 2) - { - caster_free(-3) - room_goto(room_settings) - } - } - else - { - draw_set_color(c_silver) - draw_text(85, 20, string_hash_to_newline(scr_gettext("instructions_title"))) - if (global.osflavor >= 4) - { - scr_drawtext_icons(85, 50, "\\*Z") - draw_text(115, 50, string_hash_to_newline(scr_gettext("instructions_confirm_label"))) - scr_drawtext_icons(85, 70, "\\*X") - draw_text(115, 70, string_hash_to_newline(scr_gettext("instructions_cancel_label"))) - scr_drawtext_icons(85, 90, "\\*C") - draw_text(115, 90, string_hash_to_newline(scr_gettext("instructions_menu_label"))) - draw_text(86, 130, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - lines[0] = "confirm" - lines[1] = "cancel" - lines[2] = "menu" - lines[3] = "fullscreen" - lines[4] = "quit" - var num_lines = 5 - if (global.language == "ja") - { - var label_x = 0 - for (i = 0; i < num_lines; i++) - { - var key = scr_gettext((("instructions_" + lines[i]) + "_key")) - draw_text(50, (45 + (i * 18)), string_hash_to_newline(key)) - xx = ((50 + string_width(string_hash_to_newline(key))) + 20) - if (xx > label_x) - label_x = xx - } - for (i = 0; i < num_lines; i++) - { - var label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(label_x, (45 + (i * 18)), string_hash_to_newline(label)) - } - draw_text(50, 145, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - else - { - for (i = 0; i < num_lines; i++) - { - key = scr_gettext((("instructions_" + lines[i]) + "_key")) - label = scr_gettext((("instructions_" + lines[i]) + "_label")) - draw_text(85, (50 + (i * 18)), string_hash_to_newline(((key + " - ") + label))) - } - draw_text(85, 140, string_hash_to_newline(scr_gettext("instructions_hp0"))) - } - } - xx = 85 - if (global.language == "ja") - xx = 84 - yy = 160 - if (global.osflavor <= 2) - yy += 12 - draw_set_color(c_white) - if (selected3 == 0) - draw_set_color(c_yellow) - draw_text(xx, yy, string_hash_to_newline(scr_gettext("instructions_begin"))) - if keyboard_check_pressed(vk_down) - { - if (selected3 == 0) - selected3 = 1 - } - if keyboard_check_pressed(vk_up) - { - if (selected3 == 1) - selected3 = 0 - } - var yy2 = (yy + 20) - draw_set_color(c_white) - if (selected3 == 1) - draw_set_color(c_yellow) - draw_text(xx, yy2, string_hash_to_newline(scr_gettext("settings_name"))) - action = -1 - if control_check_pressed(0) - action = selected3 - if (action == 0) - { - naming = 1 - control_clear(1) - } - if (action == 1) - { - caster_free(-3) - room_goto(room_settings) - } - } -} diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 7b8e98e21..000000000 --- a/UndertaleModTool/Corrections/cf8f7e3858bfbc46478cc155b78fb170/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename, 300) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml deleted file mode 100644 index 7865cee5e..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_OBJ_INSTAWRITER_Draw_0.gml +++ /dev/null @@ -1,103 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - n += 2 - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "P") - script_execute(SCR_TEXTSETUP, 4, 255, x, y, (x + 150), 43, 4, 94, 10) - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - } - if (global.inbattle == 1) - halt = 5 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_OBJ_WRITER_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_OBJ_WRITER_Draw_0.gml deleted file mode 100644 index fdeb5a41d..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_OBJ_WRITER_Draw_0.gml +++ /dev/null @@ -1,255 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "L") - mycolor = $FDC00E - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "z") - { - sym = real(string_char_at(originalstring, (n + 2))) - sym_s = spr_infinitysign - if (sym == 4) - sym_s = spr_infinitysign - if (sym == 4) - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - if (myfont == fnt_comicsans) - { - if (myletter == "w") - myx += 2 - if (myletter == "m") - myx += 2 - if (myletter == "i") - myx -= 2 - if (myletter == "l") - myx -= 2 - if (myletter == "s") - myx -= 1 - if (myletter == "j") - myx -= 1 - } - if (myfont == fnt_papyrus) - { - if (myletter == "D") - myx += 1 - if (myletter == "Q") - myx += 3 - if (myletter == "M") - myx += 1 - if (myletter == "L") - myx -= 1 - if (myletter == "K") - myx -= 1 - if (myletter == "C") - myx += 1 - if (myletter == ".") - myx -= 3 - if (myletter == "!") - myx -= 3 - if (myletter == "O" || myletter == "W") - myx += 2 - if (myletter == "I") - myx -= 6 - if (myletter == "T") - myx -= 1 - if (myletter == "P") - myx -= 2 - if (myletter == "R") - myx -= 2 - if (myletter == "A") - myx += 1 - if (myletter == "H") - myx += 1 - if (myletter == "B") - myx += 1 - if (myletter == "G") - myx += 1 - if (myletter == "F") - myx -= 1 - if (myletter == "?") - myx -= 3 - if (myletter == "'") - myx -= 6 - if (myletter == "J") - myx -= 1 - } - n += nskip -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_flowey_writer_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_flowey_writer_Draw_0.gml deleted file mode 100644 index aa57ccad5..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_flowey_writer_Draw_0.gml +++ /dev/null @@ -1,181 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "f") - global.typer = 9 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else if (global.typer == 70 || global.typer == 71 || global.typer == 74 || global.typer == 75 || global.typer == 76 || global.typer == 77) - draw_text_transformed((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter, 2, 2, 0) - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - n += nskip -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_gyftrot_Step_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_gyftrot_Step_0.gml deleted file mode 100644 index 887cbbc9b..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_gyftrot_Step_0.gml +++ /dev/null @@ -1,298 +0,0 @@ -if (global.mnfight == 3) - attacked = 0 -if (alarm[5] > 0) -{ - if (global.monster[0] == true) - { - if (global.monsterinstance[0].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[0].alarm[5] - } - if (global.monster[1] == true) - { - if (global.monsterinstance[1].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[1].alarm[5] - } - if (global.monster[2] == true) - { - if (global.monsterinstance[2].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[2].alarm[5] - } -} -if (global.mnfight == 1) -{ - if (talked == 0) - { - alarm[5] = 110 - alarm[6] = 1 - talked = 1 - global.heard = 0 - } -} -if keyboard_multicheck_pressed(13) -{ - if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0) - alarm[5] = 2 -} -if (global.hurtanim[myself] == 1) -{ - shudder = 16 - alarm[3] = global.damagetimer - global.hurtanim[myself] = 3 -} -if (global.hurtanim[myself] == 2) -{ - global.monsterhp[myself] -= takedamage - with (dmgwriter) - alarm[2] = 15 - if (global.monsterhp[myself] >= 1) - { - mypart1 = instance_create(x, y, part1) - mypart2 = instance_create(x, y, part2) - global.hurtanim[myself] = 0 - image_index = 0 - global.myfight = 0 - global.mnfight = 1 - } - else - { - global.myfight = 0 - global.mnfight = 1 - killed = 1 - instance_destroy() - } -} -if (global.hurtanim[myself] == 5) -{ - global.damage = 0 - instance_create(((x + (sprite_width / 2)) - 48), (y - 24), obj_dmgwriter) - with (obj_dmgwriter) - alarm[2] = 30 - global.myfight = 0 - global.mnfight = 1 - global.hurtanim[myself] = 0 -} -if (global.mnfight == 2) -{ - if (attacked == 0) - { - pop = scr_monstersum() - if instance_exists(obj_jerry) - { - if (obj_jerry.ditch == 0) - pop -= 1 - } - global.turntimer = 120 - if (mercymod > 90) - global.turntimer = -2 - global.firingrate = 5 - if (global.hardmode == 1) - global.firingrate = 3 - if (pop == 3) - global.firingrate = global.firingrate * 2.4 - if (pop == 2) - global.firingrate = global.firingrate * 1.7 - if (mycommand >= 0 && mycommand <= 60) - { - gen = instance_create(x, y, obj_gyftgen) - gen.bullettype = 1 - } - else - { - gen = instance_create(x, y, obj_giftgen) - gen.bullettype = 0 - } - gen.myself = myself - if (mycommand >= 0) - global.msg[0] = "* Gyftrot laments its lack of& hands." - if (mycommand >= 25) - global.msg[0] = "* Gyftrot eyes you with& suspicion." - if (mycommand >= 40) - global.msg[0] = "* Gyftrot distrusts your& youthful demeanor." - if (mycommand >= 60) - global.msg[0] = "* Ah^1, the scent of fresh& pine needles." - if (mycommand >= 80) - global.msg[0] = "* Gyftrot tries vainly to& remove its decorations." - if (giftgiven == 1) - global.msg[0] = "* Gyftrot pretends to refuse& your gift." - if (giftgiven == 2) - global.msg[0] = "* Gyftrot politely accepts& your gift." - if (googly == 1) - global.msg[0] = "* Gyftrot stumbles blindly." - if (itemgone == 1 || itemgone == 2) - global.msg[0] = "* Gyftrot is slightly less& irritated." - if (itemgone == 3) - global.msg[0] = "* Gyftrot's problems have& been taken away." - if (betray == 1) - global.msg[0] = "* Gyftrot looks disappointed." - if (global.monsterhp[myself] < 30) - global.msg[0] = "* Gyftrot's antlers tremble." - attacked = 1 - } -} -if (global.myfight == 2) -{ - if (whatiheard != -1) - { - if (global.heard == 0) - { - if (whatiheard == 0) - { - global.msc = 0 - global.msg[0] = (((("* GYFTROT " + string(global.monsteratk[myself])) + " ATK ") + string(global.monsterdef[myself])) + ' DEF&* Some teens "decorated" it as& a prank./^') - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - if (whatiheard == 1) - { - global.msc = 0 - if (itemgone < 3) - { - if (gift[itemgone] == 0) - global.msg[0] = "* You remove the striped cane& that says " + chr(34) + "I use this tiny& cane to walk" + chr(34) + " on it./^" - if (gift[itemgone] == 1) - global.msg[0] = "* You remove the box of& non-dog-related raisins./^" - if (gift[itemgone] == 2) - global.msg[0] = "* You remove the lenticular& bookmark of a smug teen& winking./^" - if (gift[itemgone] == 3) - global.msg[0] = "* You remove the barbed wire& made of pipe cleaners./^" - if (gift[itemgone] == 4) - global.msg[0] = "* You remove a childhood& photograph of Snowdrake and& his parent./^" - if (gift[itemgone] == 5) - global.msg[0] = "* You remove a small^1, confused& dog./^" - if (gift[itemgone] == 6) - global.msg[0] = "* You remove a stocking filled& with chicken nuggets./^" - if (gift[itemgone] == 7) - global.msg[0] = "* You remove the shirt that says& 'I'm with stupid' and points& inward./^" - } - if (itemgone == 3) - { - global.msg[0] = "* You try to undecorate...?/^" - mercymod = 180 - } - if (googly == 1) - global.msg[0] = "* You remove the googly eyes./^" - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - if (googly == 1) - { - googly = 0 - ung = 1 - with (mypart5) - instance_destroy() - } - else if (itemgone < 3) - { - if (itemgone == 2) - { - with (mypart8) - instance_destroy() - itemgone = 3 - } - if (itemgone == 1) - { - with (mypart4) - instance_destroy() - itemgone = 2 - } - if (itemgone == 0) - { - with (mypart3) - instance_destroy() - itemgone = 1 - } - } - if (mercymod < 150) - { - if (itemgone > 0 && mercymod < 100) - mercymod = 10 - if (itemgone > 2) - { - mercymod = 160 - global.flag[138] = 1 - } - } - } - if (whatiheard == 3) - { - global.msc = 0 - if (googly == 0) - { - global.msg[0] = "* You add some googly eyes& you found on the ground./^" - googly = 1 - mypart5 = instance_create(x, y, part3) - mypart5.gift = 8 - } - else - global.msg[0] = "* You can't improve on& perfection./^" - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - if (whatiheard == 4) - { - global.msc = 0 - if (giftgiven == 0 && googly == 0 && itemgone > 0 && betray == 0) - { - mypart6 = instance_create(x, y, part3) - mypart6.gift = 9 - if (global.gold == 0) - { - global.msg[0] = "* You give the cheapest gift& of all..^1.&* Friendship./^" - giftgiven = 2 - mercymod = 140 - global.goldreward[myself] += 50 - } - if (global.gold > 0) - { - if (global.gold >= 35) - { - global.msg[0] = "* You give 35 G because& you can't think of an& appropriate gift./^" - global.gold -= 35 - } - else - { - global.gold = 0 - global.msg[0] = "* You give your remaining& money because you can't& think of a better gift./^" - } - giftgiven = 1 - mercymod = 140 - } - } - else - { - if (googly == 1 || betray == 1 || itemgone == 0) - global.msg[0] = "* Gyftrot refuses your gift./^" - if (giftgiven == 1) - global.msg[0] = "* Hey now^1.&* You aren't made of money./^" - if (giftgiven == 2) - global.msg[0] = "* Hey now^1.&* You aren't made of friendship./^" - } - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - } - global.heard = 1 - } -} -if (global.myfight == 4) -{ - if (global.mercyuse == 0) - { - script_execute(scr_mercystandard) - if (mercy < 0) - instance_destroy() - } -} -if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0) -{ - script_execute(scr_mercystandard) - if (mercy < 0) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 9a5ea7df7..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,398 +0,0 @@ -buffer -= 1 -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if keyboard_multicheck_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ini_close() - room_goto(room_intromenu) -} -draw_set_color(c_white) -draw_set_font(fnt_maintext) -if (weather != 3) - draw_text_transformed(100, 10, "JOYSTICK CONFIG", 2, 2, 0) -else - draw_text_transformed(10, 10, "JOYSTICK CONFIG", 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, "EXIT") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = "CONFIRM - [Z + ENTER] ::" - if (i == 2) - itext = "CANCEL - [X + SHIFT] ::" - if (i == 3) - itext = "MENU - [C + CTRL] ::" - draw_text(20, (60 + (i * 15)), itext) - draw_set_color(c_white) -} -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 75, 245, 90, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 75, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 90, 245, 105, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 90, "(PUSH BUTTON)") - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 90, global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 105, 245, 120, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 105, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 105, global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, "ANALOG SENSITIVITY:") -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense -= global.analog_sense_sense - if keyboard_check(vk_left) - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text_transformed(20, 150, "ANALOG SENSITIVITY SENSITIVITY:", 0.6, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense_sense -= 0.01 - if keyboard_check(vk_left) - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, "DIR CHOICE:") -if (global.joy_dir == 0) - draw_text(100, 170, "NORMAL") -if (global.joy_dir == 1) - draw_text(100, 170, "ANALOG ONLY") -if (global.joy_dir == 2) - draw_text(100, 170, "POV ONLY") -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, 185, r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, 185, "RESET TO DEFAULT") -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = "SPAGHETTI..." - else - r_line = "RESETTED..." - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 200, "CONTROL TEST") -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "cold outside#but stay warm#inside of you", 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "spring time#back to school", 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "try to withstand#the sun's life-#giving rays", 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "sweep a leaf#sweep away a#troubles", 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - draw_rectangle((168 - rectile), -10, -1, 250, false) - draw_set_color(c_black) - draw_rectangle((152 + rectile), -10, 330, 250, false) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 7b8438b88..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = "PET?" - if (gg == 1) - global.msg[0] = "PAT?" - if (gg == 2) - global.msg[0] = "POT?" - global.msg[1] = "%%%" - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_overworldcontroller_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_overworldcontroller_Draw_0.gml deleted file mode 100644 index 22357d594..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_overworldcontroller_Draw_0.gml +++ /dev/null @@ -1,507 +0,0 @@ -buffer += 1 -if (global.interact == 5) -{ - currentmenu = global.menuno - if (global.menuno < 6) - currentspot = global.menucoord[global.menuno] - xx = view_xview[view_current] - yy = (view_yview[view_current] + 10) - moveyy = yy - if (obj_mainchara.y > (yy + 120)) - moveyy += 135 - if (global.menuno != 4) - { - draw_set_color(c_white) - draw_rectangle((16 + xx), (16 + moveyy), (86 + xx), (70 + moveyy), false) - draw_rectangle((16 + xx), (74 + yy), (86 + xx), (147 + yy), false) - if (global.menuno == 1 || global.menuno == 5 || global.menuno == 6) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (196 + yy), false) - if (global.menuno == 2) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (224 + yy), false) - if (global.menuno == 3) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (150 + yy), false) - if (global.menuno == 7) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (216 + yy), false) - draw_set_color(c_black) - draw_rectangle((19 + xx), (19 + moveyy), (83 + xx), (67 + moveyy), false) - draw_rectangle((19 + xx), (77 + yy), (83 + xx), (144 + yy), false) - if (global.menuno == 1 || global.menuno == 5 || global.menuno == 6) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (193 + yy), false) - if (global.menuno == 2) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (221 + yy), false) - if (global.menuno == 3) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (147 + yy), false) - if (global.menuno == 7) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (213 + yy), false) - draw_set_color(c_white) - draw_set_font(fnt_small) - draw_text((23 + xx), (49 + moveyy), ((("HP " + string(global.hp)) + "/") + string(global.maxhp))) - draw_text((23 + xx), (40 + moveyy), ("LV " + string(global.lv))) - draw_text((23 + xx), (58 + moveyy), ("G " + string(global.gold))) - draw_set_font(fnt_maintext) - draw_text((23 + xx), (20 + moveyy), global.charname) - if (global.menuchoice[0] == 1) - draw_text((42 + xx), (84 + yy), "ITEM") - if (global.menuchoice[1] == 1) - draw_text((42 + xx), (102 + yy), "STAT") - if (global.menuchoice[2] == 1) - draw_text((42 + xx), (120 + yy), "CELL") - if (global.menuno == 1 || global.menuno == 5) - { - for (i = 0; i < 8; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.itemname[i]) - draw_text((116 + xx), (170 + yy), "USE") - draw_text(((116 + xx) + 48), (170 + yy), "INFO") - draw_text(((116 + xx) + 105), (170 + yy), "DROP") - } - } - if (global.menuno == 3) - { - for (i = 0; i < 7; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.phonename[i]) - } - if (global.menuno == 6) - { - scr_itemname() - for (i = 0; i < 8; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.itemname[i]) - } - if (global.menuno == 7) - { - scr_storagename(300) - for (i = 0; i < 10; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.itemname[i]) - } - if (global.menuno == 2) - { - draw_text((108 + xx), (32 + yy), (('"' + global.charname) + '"')) - draw_text((108 + xx), (62 + yy), ("LV " + string(global.lv))) - draw_text((108 + xx), (78 + yy), ((("HP " + string(global.hp)) + " / ") + string(global.maxhp))) - draw_text((108 + xx), (110 + yy), (((("AT " + string((global.at - 10))) + " (") + string(global.wstrength)) + ")")) - draw_text((108 + xx), (126 + yy), (((("DF " + string((global.df - 10))) + " (") + string(global.adef)) + ")")) - weaponname = " " - armorname = " " - if (global.weapon == 3) - weaponname = "Stick" - if (global.weapon == 13) - weaponname = "Toy Knife" - if (global.weapon == 14) - weaponname = "Tough Glove" - if (global.weapon == 25) - weaponname = "Ballet Shoes" - if (global.weapon == 45) - weaponname = "Torn Notebook" - if (global.weapon == 47) - weaponname = "Burnt Pan" - if (global.weapon == 49) - weaponname = "Empty Gun" - if (global.weapon == 51) - weaponname = "Worn Dagger" - if (global.weapon == 52) - weaponname = "Real Knife" - if (global.armor == 4) - armorname = "Bandage" - if (global.armor == 12) - armorname = "Faded Ribbon" - if (global.armor == 15) - armorname = "Manly Bandanna" - if (global.armor == 24) - armorname = "Old Tutu" - if (global.armor == 44) - armorname = "Clouded Glasses" - if (global.armor == 46) - armorname = "Stained Apron" - if (global.armor == 48) - armorname = "Cowboy Hat" - if (global.armor == 50) - armorname = "Heart Locket" - if (global.armor == 53) - armorname = "The Locket" - if (global.armor == 64) - armorname = "Temmie Armor" - draw_text((108 + xx), (156 + yy), ("WEAPON: " + weaponname)) - draw_text((108 + xx), (172 + yy), ("ARMOR: " + armorname)) - draw_text((108 + xx), (192 + yy), ("GOLD: " + string(global.gold))) - if (global.kills > 20) - draw_text((192 + xx), (192 + yy), ("KILLS: " + string(global.kills))) - if (string_length(global.charname) >= 7) - draw_text((192 + xx), (32 + yy), "Easy to#change,#huh?") - draw_text((192 + xx), (110 + yy), ("EXP: " + string(global.xp))) - if (global.lv == 1) - nextlevel = (10 - global.xp) - if (global.lv == 2) - nextlevel = (30 - global.xp) - if (global.lv == 3) - nextlevel = (70 - global.xp) - if (global.lv == 4) - nextlevel = (120 - global.xp) - if (global.lv == 5) - nextlevel = (200 - global.xp) - if (global.lv == 6) - nextlevel = (300 - global.xp) - if (global.lv == 7) - nextlevel = (500 - global.xp) - if (global.lv == 8) - nextlevel = (800 - global.xp) - if (global.lv == 9) - nextlevel = (1200 - global.xp) - if (global.lv == 10) - nextlevel = (1700 - global.xp) - if (global.lv == 11) - nextlevel = (2500 - global.xp) - if (global.lv == 12) - nextlevel = (3500 - global.xp) - if (global.lv == 13) - nextlevel = (5000 - global.xp) - if (global.lv == 14) - nextlevel = (7000 - global.xp) - if (global.lv == 15) - nextlevel = (10000 - global.xp) - if (global.lv == 16) - nextlevel = (15000 - global.xp) - if (global.lv == 17) - nextlevel = (25000 - global.xp) - if (global.lv == 18) - nextlevel = (50000 - global.xp) - if (global.lv == 19) - nextlevel = (99999 - global.xp) - if (global.lv >= 20) - nextlevel = 0 - draw_text((192 + xx), (126 + yy), ("NEXT: " + string(nextlevel))) - } - if (global.menuno == 4) - { - iniread = ini_open("undertale.ini") - name = ini_read_string("General", "Name", "EMPTY") - love = ini_read_real("General", "Love", 0) - time = ini_read_real("General", "Time", 1) - kills = ini_read_real("General", "Kills", 0) - roome = ini_read_real("General", "Room", 0) - ini_close() - draw_set_font(fnt_maintext) - draw_set_color(c_white) - draw_rectangle((54 + xx), (49 + yy), (265 + xx), (135 + yy), false) - draw_set_color(c_black) - draw_rectangle((57 + xx), (52 + yy), (262 + xx), (132 + yy), false) - draw_set_color(c_white) - if (global.menucoord[4] == 2) - draw_set_color(c_yellow) - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 59 - if (seconds < 10) - seconds = ("0" + string(seconds)) - script_execute(scr_roomname, roome) - draw_text((70 + xx), (60 + yy), name) - draw_text((140 + xx), (60 + yy), ("LV " + string(love))) - draw_text((210 + xx), (60 + yy), ((string(minutes) + ":") + string(seconds))) - draw_text((70 + xx), (80 + yy), roomname) - if (global.menucoord[4] == 0) - draw_sprite(spr_heartsmall, 0, (xx + 71), (yy + 113)) - if (global.menucoord[4] == 1) - draw_sprite(spr_heartsmall, 0, (xx + 161), (yy + 113)) - if (global.menucoord[4] < 2) - { - draw_text((xx + 85), (yy + 110), "Save") - draw_text((xx + 175), (yy + 110), "Return") - } - else - { - draw_text((xx + 85), (yy + 110), "File saved.") - if keyboard_multicheck_pressed(13) - { - global.menuno = -1 - global.interact = 0 - global.menucoord[4] = 0 - keyboard_clear(vk_return) - } - } - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.menucoord[4] < 2) - { - if (global.menucoord[4] == 1) - global.menucoord[4] = 0 - else - global.menucoord[4] = 1 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - } - if (keyboard_multicheck_pressed(13) && global.menucoord[4] == 0) - { - snd_play(snd_save) - script_execute(scr_save) - global.menucoord[4] = 2 - keyboard_clear(vk_return) - } - if (keyboard_multicheck_pressed(13) && global.menucoord[4] == 1) - { - global.menuno = -1 - global.interact = 0 - global.menucoord[4] = 0 - keyboard_clear(vk_return) - } - if keyboard_multicheck_pressed(16) - { - global.menuno = -1 - global.interact = 0 - global.menucoord[4] = 0 - keyboard_clear(vk_shift) - } - } - if (global.menuno == 0) - draw_sprite(spr_heartsmall, 0, (28 + xx), ((88 + yy) + (18 * global.menucoord[0]))) - if (global.menuno == 1) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[1]))) - if (global.menuno == 3) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[3]))) - if (global.menuno == 6) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[6]))) - if (global.menuno == 7) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[7]))) - if (global.menuno == 5) - { - if (global.menucoord[5] == 0) - draw_sprite(spr_heartsmall, 0, ((104 + xx) + (45 * global.menucoord[5])), (174 + yy)) - if (global.menucoord[5] == 1) - draw_sprite(spr_heartsmall, 0, ((104 + xx) + ((45 * global.menucoord[5]) + 3)), (174 + yy)) - if (global.menucoord[5] == 2) - draw_sprite(spr_heartsmall, 0, ((104 + xx) + ((45 * global.menucoord[5]) + 15)), (174 + yy)) - } - if keyboard_multicheck_pressed(13) - { - if (global.menuno == 5) - { - if (global.menucoord[5] == 0) - { - global.menuno = 9 - script_execute(scr_itemuseb, global.menucoord[1], global.item[global.menucoord[1]]) - } - if (global.menucoord[5] == 1) - { - global.menuno = 9 - script_execute(scr_itemdesc, global.item[global.menucoord[1]]) - script_execute(scr_writetext, 0, "x", 0, 0) - } - if (global.menucoord[5] == 2) - { - global.menuno = 9 - dontthrow = 0 - if (global.item[global.menucoord[1]] != 23 && global.item[global.menucoord[1]] != 27 && global.item[global.menucoord[1]] != 54 && global.item[global.menucoord[1]] != 56 && global.item[global.menucoord[1]] != 57) - script_execute(scr_writetext, 12, "x", 0, 0) - else - { - if (global.item[global.menucoord[1]] == 23) - script_execute(scr_writetext, 23, "x", 0, 0) - if (global.item[global.menucoord[1]] == 27) - { - script_execute(scr_writetext, 0, "* (You put the dog on the& ground.)/%%", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - } - if (global.item[global.menucoord[1]] == 54) - { - script_execute(scr_writetext, 0, "* (You threw the Bad Memory& away.^1)&* (But it came back.)/%%", 0, 0) - dontthrow = 1 - } - if (global.item[global.menucoord[1]] == 56) - { - if (!instance_exists(obj_undyne_friendc)) - { - script_execute(scr_writetext, 0, "* (Despite what seems like& common sense^1, you threw& away the letter.)/%%", 0, 0) - global.flag[494] = 1 - } - else - { - global.faceemotion = 1 - script_execute(scr_writetext, 0, "* Hey^1! Don't throw that& away^1! Just deliver it!/%%", 5, 37) - dontthrow = 1 - } - } - if (global.item[global.menucoord[1]] == 57) - { - script_execute(scr_writetext, 0, "* (The letter is too powerful to& throw away.^1)&* (It gets the better of you.)/%%", 0, 0) - dontthrow = 1 - } - } - if (dontthrow == 0) - script_execute(scr_itemshift, global.menucoord[1], 0) - } - } - if (global.menuno == 3) - { - global.menuno = 9 - script_execute(scr_itemuseb, global.menucoord[3], global.phone[global.menucoord[3]]) - } - if (global.menuno == 6) - { - global.menuno = 9 - script_execute(scr_storageget, global.item[global.menucoord[6]], 300) - if (noroom == 0) - { - script_execute(scr_writetext, 16, "x", 0, 0) - script_execute(scr_itemshift, global.menucoord[6], 0) - } - else - script_execute(scr_writetext, 19, "x", 0, 0) - } - if (global.menuno == 7) - { - global.menuno = 9 - script_execute(scr_itemget, global.flag[(global.menucoord[7] + 300)]) - if (noroom == 0) - { - script_execute(scr_writetext, 17, "x", 0, 0) - script_execute(scr_storageshift, global.menucoord[7], 0, 300) - } - else - script_execute(scr_writetext, 18, "x", 0, 0) - } - if (global.menuno == 1) - { - global.menuno = 5 - global.menucoord[5] = 0 - } - if (global.menuno == 0) - global.menuno += (global.menucoord[0] + 1) - if (global.menuno == 3) - { - script_execute(scr_phonename) - global.menucoord[3] = 0 - } - if (global.menuno == 1) - { - if (global.item[0] != 0) - { - global.menucoord[1] = 0 - script_execute(scr_itemname) - } - else - global.menuno = 0 - } - } - if keyboard_check_pressed(vk_up) - { - if (global.menuno == 0) - { - if (global.menucoord[0] != 0) - global.menucoord[0] -= 1 - } - if (global.menuno == 1) - { - if (global.menucoord[1] != 0) - global.menucoord[1] -= 1 - } - if (global.menuno == 3) - { - if (global.menucoord[3] != 0) - global.menucoord[3] -= 1 - } - if (global.menuno == 6) - { - if (global.menucoord[6] != 0) - global.menucoord[6] -= 1 - } - if (global.menuno == 7) - { - if (global.menucoord[7] != 0) - global.menucoord[7] -= 1 - } - } - if keyboard_check_pressed(vk_down) - { - if (global.menuno == 0) - { - if (global.menucoord[0] != 2) - { - if (global.menuchoice[(global.menucoord[0] + 1)] != 0) - global.menucoord[0] += 1 - } - } - if (global.menuno == 1) - { - if (global.menucoord[1] != 7) - { - if (global.item[(global.menucoord[1] + 1)] != 0) - global.menucoord[1] += 1 - } - } - if (global.menuno == 3) - { - if (global.menucoord[3] != 7) - { - if (global.phone[(global.menucoord[3] + 1)] != 0) - global.menucoord[3] += 1 - } - } - if (global.menuno == 6) - { - if (global.menucoord[6] != 7) - { - if (global.item[(global.menucoord[6] + 1)] != 0) - global.menucoord[6] += 1 - } - } - if (global.menuno == 7) - { - if (global.menucoord[7] != 9) - { - if (global.flag[(global.menucoord[7] + 301)] != 0) - global.menucoord[7] += 1 - } - } - } - if (keyboard_multicheck_pressed(16) && buffer >= 0) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - } - else if (global.menuno <= 3) - global.menuno = 0 - if (global.menuno == 5) - global.menuno = 1 - } - if keyboard_check_pressed(vk_right) - { - if (global.menuno == 5) - { - if (global.menucoord[5] != 2) - global.menucoord[5] += 1 - } - } - if keyboard_check_pressed(vk_left) - { - if (global.menuno == 5) - { - if (global.menucoord[5] != 0) - global.menucoord[5] -= 1 - } - } - if keyboard_multicheck_pressed(17) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - } - } - if (currentmenu < global.menuno && global.menuno != 9) - snd_play(snd_select) - else if (global.menuno >= 0 && global.menuno < 6) - { - if (currentspot != global.menucoord[global.menuno]) - snd_play(snd_squeak) - } -} -if (global.menuno == 9 && instance_exists(obj_dialoguer) == 0) -{ - global.menuno = -1 - global.interact = 0 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_papyrusboss_Step_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_papyrusboss_Step_0.gml deleted file mode 100644 index 7681fda13..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_papyrusboss_Step_0.gml +++ /dev/null @@ -1,1150 +0,0 @@ -if (global.mnfight == 3) - attacked = 0 -if (alarm[5] > 0) -{ - if (global.monster[0] == true) - { - if (global.monsterinstance[0].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[0].alarm[5] - } - if (global.monster[1] == true) - { - if (global.monsterinstance[1].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[1].alarm[5] - } - if (global.monster[2] == true) - { - if (global.monsterinstance[2].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[2].alarm[5] - } -} -if (global.mnfight == 1) -{ - if (talked == 0) - { - alarm[5] = 320 - alarm[6] = 2 - talked = 1 - global.heard = 0 - } -} -if (keyboard_multicheck_pressed(13) && talkify == 0) -{ - if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0) - alarm[5] = 2 -} -if (talkify == 1 && instance_exists(OBJ_WRITER) == 0) -{ - alarm[5] = -2 - with (blconwd) - instance_destroy() - with (blcon) - instance_destroy() - talkify = 0 - talked = 0 - whatiheard = -1 - global.mnfight = 2 -} -if (global.hurtanim[myself] == 1) -{ - shudder = 16 - alarm[3] = global.damagetimer - global.hurtanim[myself] = 3 -} -if (global.hurtanim[myself] == 2) -{ - global.monsterhp[myself] -= takedamage - with (dmgwriter) - alarm[2] = 15 - if (global.monsterhp[myself] >= 1) - { - mypart1 = instance_create(x, y, part1) - global.hurtanim[myself] = 0 - image_index = 0 - global.myfight = 0 - global.mnfight = 1 - } - else - { - global.myfight = 0 - global.mnfight = 99 - killed = 1 - event_user(3) - } -} -if (global.hurtanim[myself] == 5) -{ - global.damage = 0 - instance_create(((x + (sprite_width / 2)) - 48), (y - 24), obj_dmgwriter) - with (obj_dmgwriter) - alarm[2] = 30 - global.myfight = 0 - global.mnfight = 1 - global.hurtanim[myself] = 0 -} -if (global.mnfight == 2) -{ - if (attacked == 0) - { - global.turntimer = 4 - global.firingrate = 15 - if (truefight == 0 && mycommand >= 0) - { - global.turntimer = 140 - if (murder == 1) - global.turntimer = 2 - global.border = 5 - bz = round(random(20)) - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - (20 + bz)), blt_sizebone) - with (gen) - hspeed = -3 - bz = round(random(20)) - gen = instance_create((global.idealborder[1] + 90), (global.idealborder[3] - (20 + bz)), blt_sizebone) - with (gen) - hspeed = -3 - bz = round(random(20)) - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - (20 + bz)), blt_sizebone) - with (gen) - hspeed = -3 - } - if (truefight == 1) - obj_heart.sprite_index = spr_heartblue - if (truefight == 1 && fighto == 15) - { - dontcancel = 4 - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - global.turntimer = 1300 - global.border = 5 - k = (global.idealborder[1] + 1900) - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 160), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 210), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 360), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 540), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 540), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[0] - 640), (global.idealborder[3] - 50), blt_topbone) - gen.hspeed = 4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 50), blt_topbone) - gen.hspeed = -4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 740), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 740), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 890), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 890), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 1090), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1120), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1150), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[0] - 1340), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[0] - 1370), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[0] - 1400), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 2000), (global.idealborder[3] - 40), blt_scootdog) - gen.hspeed = -5 - gen = instance_create((global.idealborder[1] + 2240), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_cbone - gen = instance_create((global.idealborder[1] + 2280), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_oolbone - gen = instance_create((global.idealborder[1] + 2500), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_dbone - gen = instance_create((global.idealborder[1] + 2540), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_udebone - gen = instance_create((global.idealborder[1] + 2220), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -4 - gen.sprite_index = spr_skatebone - gen = instance_create((k + 10), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 70), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 130), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 190), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 250), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 310), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 370), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 430), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 490), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 550), (global.idealborder[3] - 240), blt_superbone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 970), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -1 - fighto = 16 - } - if (truefight == 1 && fighto == 14 && xfight > 3) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - fighto = 15 - xfight = 0 - dontcancel = 1 - global.border = 50 - instance_create(global.idealborder[1], (global.idealborder[3] - 40), blt_tobydogbone) - alarm[7] = 80 - } - if (truefight == 1 && fighto == 14) - { - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - xfight += 1 - if (mycommand < 20) - { - global.turntimer = 210 - global.border = 5 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 90), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 120), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 150), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 180), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 210), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 240), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 680), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 720), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 800), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 840), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 880), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 920), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - } - if (mycommand >= 20 && mycommand < 40) - { - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 90), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 250), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 330), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 410), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 490), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 570), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 1150), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -8 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 1230), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -8 - gen.blue = 0 - } - if (mycommand >= 40) - fighto = (floor(random(11)) + 2) - } - if (truefight == 1 && fighto == 13) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 220 - global.border = 5 - gen = instance_create((global.idealborder[1] + 20), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 100), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 240), (global.idealborder[3] - 10), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 270), (global.idealborder[3] - 10), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 300), (global.idealborder[3] - 10), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 580), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 580), (global.idealborder[3] - 60), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 40 - } - if (truefight == 1 && fighto == 12) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 87), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 114), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 141), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 168), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 195), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 222), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 600), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 680), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 720), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 800), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 840), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - } - if (truefight == 1 && fighto == 11) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 250 - global.border = 5 - gen = instance_create((global.idealborder[1] + 60), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 140), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 220), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 300), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 380), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 540), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 620), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 1250), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -7 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 1330), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -7 - gen.blue = 0 - } - if (truefight == 1 && fighto == 10) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 230 - global.border = 5 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 80), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 80), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 100), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 100), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 280), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 280), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 295), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 295), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 600), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 620), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - blt_topbone.speed = 4.2 - blt_sizebone.speed = 4.2 - } - if (truefight == 1 && fighto == 9) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 355 - global.border = 5 - gen = instance_create((global.idealborder[1] + 60), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 220), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 220), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 500), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 500), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 70), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 780), (global.idealborder[3] - 10), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 780), (global.idealborder[3] - 50), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 990), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 990), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1130), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -20 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1130), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -20 - gen.oscmax = 30 - blt_topbone.speed = 4.2 - blt_sizebone.speed = 4.2 - } - if (truefight == 1 && fighto == 8) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 230 - global.border = 5 - gen = instance_create((global.idealborder[1] + 40), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - 70), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 310), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 310), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 610), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 610), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = -4 - blt_topbone.speed = 4.4 - blt_sizebone.speed = 4.4 - } - if (truefight == 1 && fighto == 7) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 150 - global.border = 5 - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 110), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 210), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 110), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 210), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 310), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - if (xfight > 0) - blt_sizebone.speed = 4.4 - else - { - blt_sizebone.speed = 4 - global.turntimer = 150 - } - } - if (truefight == 1 && fighto == 6) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 110), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 210), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 110), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 210), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = -2 - } - if (truefight == 1 && fighto == 5) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 330 - global.border = 5 - gen = instance_create((global.idealborder[1] + 40), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 70), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 100), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 130), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 160), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 190), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 300), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 330), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 390), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 700), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 730), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 790), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 820), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 850), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 970), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 1000), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 1030), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 1060), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - } - if (truefight == 1 && fighto == 4) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 240 - global.border = 5 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 170), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 170), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 190), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 190), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 320), (global.idealborder[3] - 90), blt_sizebone) - gen.hspeed = 4 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 480), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 700), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 700), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 700), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 700), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - } - if (truefight == 1 && fighto == 3) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 150 - global.border = 5 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 140), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 260), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 280), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 300), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 320), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 340), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 360), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 380), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 400), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - if (xfight > 0) - { - with (blt_sizebone) - speed = 4.5 - } - } - if (truefight == 1 && fighto == 2) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 240 - global.border = 5 - gen = instance_create((global.idealborder[0] - 30), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3.5 - gen = instance_create((global.idealborder[0] - 160), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3.5 - gen = instance_create((global.idealborder[0] - 290), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3.5 - gen = instance_create((global.idealborder[0] - 390), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = 3.5 - gen.blue = 1 - if (xfight > 0) - blt_sizebone.speed = 4 - gen = instance_create((global.idealborder[1] + 1120), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6 - } - if (truefight == 1 && fighto == 1) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 220 - global.border = 5 - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3 - gen = instance_create((global.idealborder[0] - 80), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = 3 - gen = instance_create((global.idealborder[0] - 230), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 390), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 490), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 580), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = 4 - if (xfight > 0) - blt_sizebone.speed = 4.5 - } - if (truefight == 1 && fighto == 0) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 300 - global.border = 5 - gen = instance_create((global.idealborder[1] + 20), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 150), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 280), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 410), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 390), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 510), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 630), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - } - if (truefight == 1 && fighto == -1) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - obj_heart.sprite_index = spr_heartblue - } - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[1] + 30), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 200), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 370), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -3 - } - if (mycommand == -1) - { - global.border = 5 - global.turntimer = 300 - gen = instance_create(x, y, obj_blueattackgen) - } - if instance_exists(gen) - gen.myself = myself - hearthp = global.hp - if (mycommand >= 0) - global.msg[0] = "* Papyrus is preparing a bone& attack." - if (mycommand > 15) - global.msg[0] = "* Papyrus prepares a non-bone& attack then spends a minute& fixing his mistake." - if (mycommand >= 20) - global.msg[0] = "* Papyrus is cackling." - if (mycommand >= 30) - global.msg[0] = "* Papyrus whispers " + chr(34) + "Nyeh heh& heh!" + chr(34) + "" - if (mycommand >= 40) - global.msg[0] = "* Papyrus is rattling his bones." - if (mycommand >= 60) - global.msg[0] = "* Papyrus is trying hard to play& it cool." - if (mycommand >= 80) - global.msg[0] = "* Papyrus is considering his& options." - if (mycommand >= 90) - global.msg[0] = "* Smells like bones." - if (mycommand >= 97) - global.msg[0] = "* Papyrus remembered a bad joke& Sans told and is frowning." - if (global.flag[66] == 1) - flirt2 += 1 - if (flirt2 > 0 && flirt2 < 11) - { - if (flirt2 == 1) - global.msg[0] = "* Papyrus is thinking about& what to wear for his date." - if (flirt2 == 2) - global.msg[0] = "* Papyrus is thinking about& what to cook for his date." - if (flirt2 == 3) - global.msg[0] = "* Papyrus dabs some Bone& Cologne behind his ear." - if (flirt2 == 4) - global.msg[0] = "* Papyrus dabs marinara sauce& behind his ear." - if (flirt2 == 5) - global.msg[0] = "* Papyrus dabs MTT-Brand Bishie& Cream behind his ear." - if (flirt2 == 6) - global.msg[0] = "* Papyrus dabs MTT-Brand Anime& Powder behind his ear." - if (flirt2 == 7) - global.msg[0] = "* Papyrus dabs MTT-Brand Cute& Juice behind his ear." - if (flirt2 == 8) - global.msg[0] = "* Papyrus dabs MTT-Brand& Attraction Slime behind his& ear." - if (flirt2 == 9) - global.msg[0] = "* Papyrus dabs MTT-Brand& Beauty Yogurt behind his& ear." - if (flirt2 == 10) - global.msg[0] = "* Papyrus realizes he doesn't& have ears." - if (flirt2 == 11) - global.msg[0] = "* Papyrus has lumps of weird-& smelling ointment on his& head." - } - if (global.monsterhp[myself] < 100) - global.msg[0] = "* Papyrus is at the edge of& defeat." - if (mercymod >= 8000) - global.msg[0] = "* Papyrus is sparing you." - if (murder == 1) - global.msg[0] = "* Papyrus is sparing you." - attacked = 1 - if (xfight > 0) - fighto = 14 - } - if (global.turntimer < 3 && dontcancel == 0) - { - hearthp2 = global.hp - obj_heart.vspeed = 0 - obj_heart.jumpstage = 0 - global.turntimer = -1 - global.mnfight = 3 - obj_heart.movement = 0 - } - if (global.turntimer < 3 && dontcancel == 4) - { - alarm[8] = 2 - dontcancel = 5 - } -} -if (global.myfight == 2) -{ - if (whatiheard != -1) - { - if (global.heard == 0) - { - if (whatiheard == 0) - { - global.msc = 0 - global.msg[0] = (((("* PAPYRUS " + string(global.monsteratk[myself])) + " ATK ") + string(global.monsterdef[myself])) + ' DEF&* He likes to say:& "Nyeh heh heh!"/^') - if (murder == 1) - global.msg[0] = "* PAPYRUS 5 ATK 5 DEF&* Forgettable./^" - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - if (whatiheard == 1) - { - global.msc = 0 - with (OBJ_WRITER) - instance_destroy() - if (insult <= 2 && truefight == 0) - { - global.msg[0] = " HOW SELFLESS.../" - global.msg[1] = " YOU WANT ME TO& FEEL BETTER& ABOUT FIGHTING& YOU.../%%" - if (insult == 1) - global.msg[0] = " THERE'S NO NEED& TO LIE TO& YOURSELF!!!/%%" - if (insult > 1) - global.msg[0] = " DON'T...!/%%" - if (insult <= 2) - { - insult += 1 - flirto = 2 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - } - else - { - global.msc = 0 - global.msg[0] = "* You INSULT^1, but to no avail^1.&* Seems ACTing won't escalate& this battle.../^" - if (truefight > 0) - global.msg[0] = "* Papyrus is too busy FIGHTing& to accept your insult./^" - with (OBJ_WRITER) - halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - } - if (whatiheard == 3) - { - hotcha += 1 - with (OBJ_WRITER) - halt = 3 - if (hotcha <= 2 && truefight == 0) - { - global.msg[0] = " WHAT!^1?& FL-FLIRTING!?/" - global.msg[1] = "\X SO YOU FINALLY& REVEAL YOUR\R & ULTIMATE FEELINGS\X!/" - global.msg[2] = " W-WELL^1!& I'M A SKELETON& WITH VERY HIGH& STANDARDS!!!/%%" - flirto = 1 - if (hotcha == 2) - { - global.msg[0] = " OH NO!!!/%%" - flirto = 2 - } - if (hotcha > 2) - { - flirto = 0 - whatiheard = 3 - global.myfight = 0 - global.mnfight = 1 - } - else - { - global.flag[66] = 1 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - } - else - { - global.msc = 0 - global.msg[0] = "* You FLIRT^1, but to no avail^1.&* Seems ACTing won't escalate& this battle.../^" - if (truefight > 0) - global.msg[0] = "* Papyrus is too busy FIGHTing& to flirt back./^" - with (OBJ_WRITER) - halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - } - if (whatiheard == 6) - { - with (OBJ_WRITER) - instance_destroy() - global.msg[0] = " OH NO!!^1! YOU'RE& MEETING ALL MY& STANDARDS!!!/" - global.msg[1] = " I GUESS THIS MEANS& I HAVE TO GO ON A& DATE WITH YOU...?/%%" - flirto = 2 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - global.heard = 1 - if (whatiheard == 7) - { - with (OBJ_WRITER) - instance_destroy() - global.msg[0] = " OH NO!!^1!& THAT HUMILITY..^1.& IT REMINDS ME OF,/" - global.msg[1] = " MYSELF!!!/" - global.msg[2] = " YOU'RE MEETING ALL& MY STANDARDS!!!/%%" - flirto = 2 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - } - } -} -if (global.myfight == 4) -{ - if (global.mercyuse == 0) - { - script_execute(scr_mercystandard) - if (mercy < 0) - event_user(2) - } -} -if (flirto > 0) -{ - if (instance_exists(OBJ_WRITER) == 0) - { - if (flirto == 1) - { - global.msc = 0 - global.typer = 1 - global.myfight = 3 - global.bmenuno = 6 - global.msg[0] = " I can I have zero& make redeeming& spaghetti qualities\C" - with (OBJ_WRITER) - halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_INSTAWRITER) - with (iii) - halt = 0 - with (sblcon) - instance_destroy() - } - if (flirto == 2) - { - global.myfight = 0 - global.mnfight = 1 - stalk = 1 - } - flirto = 0 - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_readable_room1_Alarm_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_readable_room1_Alarm_0.gml deleted file mode 100644 index 6726a977b..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_readable_room1_Alarm_0.gml +++ /dev/null @@ -1,472 +0,0 @@ -myinteract = 3 -global.msc = 0 -global.typer = 5 -global.facechoice = 0 -global.faceemotion = 0 -global.msg[0] = "%%" -if (room == room_ruins2) - global.msg[0] = "* Only the fearless may proceed.&* Brave ones, foolish ones.&* Both walk not the middle road./%%" -if (room == room_ruins3) - global.msg[0] = "* Stay on the path./%%" -if (room == room_ruins5) - global.msg[0] = "* The western room is the& eastern room's blueprint./%%" -if (room == room_ruins9) - global.msg[0] = "* Three out of four grey rocks& recommend you push them./%%" -if (room == room_ruins13) - global.msg[0] = "* (There's an ant-sized frog in& a crack in the wall...^1)&* (It waves at you.)/%%" -if (room == room_ruins14) - global.msg[0] = "* There is just one switch./%%" -if (room == room_ruins15A) - global.msg[0] = "* The far door is not an exit^1.&* It simply marks a rotation& in perspective./%%" -if (room == room_ruins15B) - global.msg[0] = "* If you can read this^1,& press the blue switch./%%" -if (room == room_ruins15C) - global.msg[0] = "* If you can read this^1,& press the red switch./%%" -if (room == room_ruins15D) - global.msg[0] = "* If you can read this^1,& press the green switch./%%" -if (room == room_torhouse1) - global.msg[0] = "* These books are worn...&* They must have been read& many times./%%" -if (room == room_asghouse1) -{ - global.msg[0] = "* (There's an old calendar from& the end of 201X.^1)&* (A date is circled on it.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (The date I came here.)/%%" -} -if (room == room_torhouse2) - global.msg[0] = "* The ends of the tools have& been filed down to& make them safer./%%" -if (room == room_asghouse2) - global.msg[0] = "* Seems like gardening tools./%%" -if (room == room_asrielroom) - global.msg[0] = "* Look at these cool toys^2!&* They don't interest you& at all./%%" -if (room == room_asrielroom_final) - global.msg[0] = "* (Dusty toys.)/%%" -if (room == room_castle_finalshoehorn) - global.msg[0] = "* Throne Room/%%" -if (room == room_castle_coffins2) -{ - global.msg[0] = "* (It's a coffin.^1)&* (There's a name engraved on& it.)/" - global.msg[1] = (('* ("' + global.charname) + '.")/') - global.msg[2] = "* (It's empty.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (The coffin is empty...?)/" - global.msg[1] = "* (You didn't notice before^1,& but there's something like...)/" - global.msg[2] = "* (... mummy wrappings at the& bottom of it.)/%%" - } - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (It's as comfortable as it& looks.)/%%" -} -if (room == room_torielroom) -{ - global.msc = 524 - if (x > 192) - { - global.msc = 0 - global.msg[0] = "* You peek inside..^2.&* Scandalous!/" - global.msg[1] = "* It's TORIEL's sock& collection./%%" - if (read > 0) - global.msg[0] = "* You can't stop looking& at the socks./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (You came all the way& back here to look at& Toriel's socks.)/" - global.msg[1] = "* (You have great priorities& in life.)/%%" - } - } -} -if (room == room_asgoreroom) -{ - global.msg[0] = "* It's a clothes drawer^1.&* There are robes^1, button-up& shirts.../" - global.msg[1] = "* ... and a pink^1, hand-knit& sweater that says& " + chr(34) + "Mr. Dad Guy." + chr(34) + "/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* Still has that sweater./%%" - if (y > 120) - global.msg[0] = "* (It's just a chair.)/%%" -} -if (room == room_castle_throneroom) - global.msg[0] = "* (It's a throne.)/%%" -if (room == room_torhouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_asghouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_kitchen) - global.msg[0] = "* For some reason^1, there& is a brand-name chocolate& bar in the fridge./%%" -if (room == room_kitchen_final) -{ - global.msg[0] = "* (The fridge is full of& unopened containers of& snails.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* No chocolate./%%" -} -if (room == room_tundra1) - global.msg[0] = "* ...!^1?&* There's a camera hidden& in the bushes./%%" -if (room == room_tundra8A) - global.msg[0] = "* (His.)/%%" -if (room == room_tundra_snowpuzz) -{ - if (global.plot <= 48) - global.msg[0] = "* There's a switch hidden& in the snow^1.&* Click!/%%" - if (global.plot > 48) - global.msg[0] = "* The switch is stuck now./%%" - if (global.flag[64] == 0) - global.flag[64] = 1 - if (global.plot <= 48) - global.plot = 49 - if (scr_murderlv() >= 3) - global.msg[0] = "* There's a switch here^1.&* It's been depressed with& vines./%%" -} -if (room == room_tundra_lesserdog) - global.msg[0] = "* On the floor inside is& a box of pomeraisins./%%" -if (room == 9999999) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are super crap./" - global.msg[2] = "* When monsters die^1, their& bodies turn into dust./" - global.msg[3] = "* One time this kid at my school& went missing for a week and& everyone thought he was dead.../" - global.msg[4] = "* But then he came back!!!/" - global.msg[5] = "* Turns out he was visiting his& girlfriend in Hotland and& and didn't tell anyone!/" - global.msg[6] = "* To be scientific^1, it sucks& that no one ever knows& if anyone's dead or alive./" - global.msg[7] = "* So yeah^1, what do we do at& funerals^1, anyway?/" - global.msg[8] = "* Professionally speaking:/" - global.msg[9] = "* DUH!!!/" - global.msg[10] = "* We pour the dust on whatever& that person liked./" - global.msg[11] = "* Then they will live on..^1.& ... in that object...& ... symbolically.../" - global.msg[12] = "* Uhhh^1, did I reach the page& minimum yet^1?&* I'm kinda sick of writing./%%" -} -if (room == room_tundra_library) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are cool as heck./" - global.msg[2] = "* When monsters get old and& kick the bucket^1, they turn& into dust./" - global.msg[3] = "* At funerals^1, we take that& dust and spread it on that& person's favorite thing./" - global.msg[4] = "* Then their essence will live& on in that thing.../" - global.msg[5] = "* Uhhh^1, am I at the page& minimum yet^1?&* I'm kinda sick of writing this./%%" -} -if (room == room_tundra_inn) -{ - global.msg[0] = "\W* Mom says that sleeping& can recover your health& \Yabove your maximum HP\W./" - global.msg[1] = "* ... what's maximum HP?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* Mom says that we can& go to the surface world& now!/" - global.msg[1] = "* ... what's so great about& that^1, anyway^1?&* I don't wanna move./%%" - } - if (scr_murderlv() >= 7) - global.msg[0] = "* (It's merely a decoy.)/%%" -} -if (room == room_water12) -{ - global.msg[0] = "* " + chr(34) + "The power to take their& SOULs." + chr(34) + "/" - global.msg[1] = "* " + chr(34) + "This is the power that& the humans feared." + chr(34) + "/%%" -} -if (room == room_water7) -{ - global.msg[0] = "* (Ancient writing covers the& walls..^1. you can just make& out the words.)/" - global.msg[1] = "* " + chr(34) + "The War of Humans and& Monsters." + chr(34) + "/%%" -} -if (room == room_water14) - global.msg[0] = "* The northern room hides a& great treasure./%%" -if (room == room_water15) -{ - global.msg[0] = "* Hurt, beaten, and fearful for& our lives, we surrendered& to the humans./" - global.msg[1] = "* Seven of their greatest& magicians sealed us underground& with a magic spell./" - global.msg[2] = "* Anything can enter through the& seal, but only beings with a& powerful SOUL can leave./%%" -} -if (room == room_water19) -{ - global.msg[0] = "* However...&* There is a prophecy./" - global.msg[1] = "* The Angel...&* The One Who Has Seen The& Surface.../" - global.msg[2] = "* They will return.&* And the underground will go& empty./%%" -} -if (room == room_water_nicecream) - global.msg[0] = "* The ancient glyphs have been& painted over with a list of& 21 different flavors./%%" -if (room == room_water_prebird) - global.msg[0] = "* Achoo^1!&* Tried to catch a bug^1, but& I just caught a cold.../%%" -if (room == room_water_preundyne) -{ - global.msg[0] = "* The humans, afraid of our& power^1, declared war on us./" - global.msg[1] = "* They attacked suddenly, and& without mercy./%%" -} -if (room == room_water17) - global.msg[0] = "* Without candles or magic to& guide them Home^1, the monsters& used crystals to navigate./%%" -if (room == room_water20) -{ - if instance_exists(obj_monsterkidtrigger7) - obj_monsterkidtrigger7.con = 80 - cantalk = 0 -} -if (room == room_fire_lab1) -{ - global.msg[0] = "* (It's beat-up figurine& of a female human with& cat ears.)/%%" - if (global.plot < 126 && scr_murderlv() < 12) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" -} -if (room == room_fire_lab2) - global.msg[0] = "* (Scientific books.^1)&* (They seem very dusty.)/%%" -if (room == room_fire_cookingshow) -{ - global.msg[0] = "* (It's a fridge.^1)&* (It's strangely warm.)/%%" - if (global.plot < 134) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" - if instance_exists(obj_mettaton_npc) - { - global.typer = 27 - global.msg[0] = "* MILK^1? EGGS^1? IN THE FRIDGE?/" - global.msg[1] = "* NO WAY^1, DARLING^1!&* THEY'D GET COLD!!!/%%" - } - if (global.plot == 134) - { - snd_play(snd_phone) - global.typer = 5 - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* Um^1, is it really& a good idea to be& getting a snack?/" - global.msg[3] = "\E8* Well^1, I guess I& really shouldn't& judge you.../" - global.msg[4] = "\E0* After all^1, I'm the& one eating potato& chips in my PJs!/" - global.msg[5] = "\E5* Uhhh^1, I mean..^1.&* H-hey^1, go over to& the right!/%%" - if (specialread > 0) - { - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* H-hey^1!&* Head over to the& right!/%%" - } - specialread += 1 - } -} -if (room == room_water_undynehouse) -{ - global.typer = 37 - global.facechoice = 5 - global.faceemotion = 4 - global.msc = 0 - if (x > 180) - { - global.msg[0] = "* I hate cold food./" - global.msg[1] = "\E0* So Alphys fixed up& my fridge so it& heats up food instead!/" - global.msg[2] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - if (read > 0) - global.msg[0] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - } - else - { - global.faceemotion = 0 - global.msg[0] = "* This oven is some& top-of-the-line& MTT thing./" - global.msg[1] = "\E4* But^1, y'know^1, as much& as technology& advances.../" - global.msg[2] = "\E0* Nothing beats food& home-cooked with& fire magic./%%" - } -} -if (room == room_fire_spidershop) -{ - global.msg[0] = "* (It looks like some sort of& powerful bracelet...)/" - global.msg[1] = "* (Wait.^1)&* (It's just a croissant...)/%%" -} -if (room == room_fire_hotelfront_2) - global.msg[0] = "* (It's just a regular wall.)/%%" -if (room == room_fire_core_branch) - global.msg[0] = "* (East...)&* (The End.)/%%" -if (room == room_fire_core_left) - global.msg[0] = "* (Solve this puzzle,& and The End will open.)/%%" -if (room == room_fire_core_top) - global.msg[0] = "* (Traverse the northern& room^1, and The End will& open.)/%%" -if (room == room_fire_core_right) -{ - global.msg[0] = "* (I cannot fight.)&* (I cannot think.)/" - global.msg[1] = "* (But^1, with patience^1,& I will make my way& through.)/%%" -} -if (room == room_fire_core_center) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_treasureleft) - global.msg[0] = "* (Why not relax and have& a nice snack?)/%%" -if (room == room_fire_core_treasureright) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_metttest) -{ - global.msg[0] = "* (It's completely trashed.^1)&* (There's no way it could& ever be repaired.)/%%" - if (global.flag[425] == 0) - global.msg[0] = "* (It's out of batteries.)/%%" -} -if (room == room_truelab_hall1) -{ - global.msg[0] = "* ENTRY NUMBER 1/" - global.msg[1] = "* This is it..^1.&* Time to do what the King& has asked me to do./" - global.msg[2] = "* I will create the power to& free us all./" - global.msg[3] = "* I will unleash the power of& the SOUL./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hub) -{ - global.msg[0] = "* POWER ROOM/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall2) -{ - global.msg[0] = "* ENTRY NUMBER 6/" - global.msg[1] = "* ASGORE asked everyone& outside the city for monsters& that had " + chr(34) + "fallen down." + chr(34) + "/" - global.msg[2] = "* Their bodies came in today./" - global.msg[3] = "* They're still comatose..^1.&* And soon^1, they'll all& turn into dust./" - global.msg[4] = "* But what happens if I& inject " + chr(34) + "determination" + chr(34) + " into& them?/" - global.msg[5] = "* If their SOULS persist& after they perish^1, then.../" - global.msg[6] = "* Freedom might be closer& than we all thought./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_operatingroom) -{ - global.msg[0] = "* ENTRY NUMBER 9/" - global.msg[1] = "* things aren't going well./" - global.msg[2] = "* none of the bodies have& turned into dust^1, so I& can't get the SOULs./" - global.msg[3] = "* i told the families that& i would give them the& dust back for the funerals./" - global.msg[4] = "* people are starting to& ask me what's happening./" - global.msg[5] = "* what do i do?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_prebed) -{ - global.msg[0] = "* ENTRY NUMBER 12/" - global.msg[1] = "* nothing is happening^1.&* i don't know what to do./" - global.msg[2] = "* i'll just keep injecting& everything with& " + chr(34) + "determination." + chr(34) + "/" - global.msg[3] = "* i want this to work./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_bedroom) -{ - global.msg[0] = "* ENTRY NUMBER 14/" - global.msg[1] = "* Everyone that had fallen& down.../" - global.msg[2] = "* ... has woken up./" - global.msg[3] = "* They're all walking around& and talking like nothing& is wrong./" - global.msg[4] = "* I thought they were& goners...?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_mirror) -{ - global.msg[0] = "* ENTRY NUMBER 7/" - global.msg[1] = "* We'll need a vessel to& wield the monster SOULs& when the time comes./" - global.msg[2] = "* After all^1, a monster& cannot absorb the SOULs& of other monsters./" - global.msg[3] = "* Just as a human cannot& absorb a human SOUL.../" - global.msg[4] = "* So then.../" - global.msg[5] = "* What about something that's& neither human nor monster?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall3) -{ - global.msg[0] = "* ENTRY NUMBER 15/" - global.msg[1] = "* Seems like this research& was a dead end.../" - global.msg[2] = "* But at least we got a& happy ending out of it...?/" - global.msg[3] = "* I sent the SOULS and the& vessel back to ASGORE./" - global.msg[4] = "* And I called all of the& families and told them& everyone's alive./" - global.msg[5] = "* I'll send everyone back& tomorrow. :) /%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* ENTRY NUMBER 17/" - global.msg[1] = "* monsters' physical forms& can't handle " + chr(34) + "determination" + chr(34) + "& like humans' can./" - global.msg[2] = "* with too much determination^1,& our bodies begin to break& down./" - global.msg[3] = "* everyone's melted together.../%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* DT EXTRACTION MACHINE&* STATUS: INACTIVE/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_tv) -{ - global.msg[0] = "* ENTRY NUMBER 4/" - global.msg[1] = "* I've been researching humans& to see if I can find any& info about their SOULS./" - global.msg[2] = "* I ended up snooping around& the castle...&* And found these weird tapes./" - global.msg[3] = "* I don't feel like ASGORE's& watched them.../" - global.msg[4] = "* I don't think he should./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_fan) - global.msc = 780 -if (room == room_truelab_cooler) -{ - global.msg[0] = "* ENTRY NUMBER 19/" - global.msg[1] = "* the families keep calling& me to ask when everyone& is coming home./" - global.msg[2] = "* what am i supposed to say?/" - global.msg[3] = "* i don't even answer the& phone anymore./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" - if (global.flag[490] == 0) - global.msg[0] = "* (It's too dark to see near& the walls.)/%%" -} -if (room == room_truelab_prepower) -{ - global.msg[0] = "* (Seems to be turned off.)/%%" - if (global.flag[485] == 1) - { - global.msg[0] = "* ENTRY NUMBER 8/" - global.msg[1] = "* I've chosen a candidate./" - global.msg[2] = "* I haven't told ASGORE yet^1,& because I want to surprise& him with it.../" - global.msg[3] = "* In the center of his& garden^1, there's something& special./" - global.msg[4] = "* The first golden flower^1,& that grew before all the& others./" - global.msg[5] = "* The flower from the outside& world./" - global.msg[6] = "* It appeared just before& the queen left./" - global.msg[7] = "* I wonder.../" - global.msg[8] = "* What happens when something& without a SOUL gains& the will to live?/%%" - } -} -if (room == room_truelab_elevatorinside) - global.msg[0] = "* (None of the buttons work.^1)&* (It seems to have lost power.)/%%" -if (room == room_castle_elevatorout) - global.msg[0] = "* (The door is jammed shut& with vines.)/%%" -if (room == room_truelab_castle_elevator) - global.msg[0] = "* (Seems like another elevator& has lost its power.)/%%" -if (room == room_tundra_grillby) - global.msg[0] = "* (The jukebox is broken.)/%%" -if (room == room_water_blookyard) - global.msg[0] = "* (It's locked.)/%%" -if (room == room_tundra_sansroom) - global.msg[0] = "* (It's a worn mattress.^1)&* (The sheets are bunched up in a& weird^1, creasy ball.)/%%" -if (room == room_tundra_sansbasement) -{ - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (He looks happy.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (... and^1, one photo of you& standing with Sans and all& your friends.)/" - global.msg[3] = "* (He looks happy.)/%%" - } -} -if (room == room_fire_pacing) -{ - global.msg[0] = "* (It's a poster for Mettaton's& latest stage performance.)/" - global.msg[1] = "* (A tragic tale of two star-& crossed lovers^1, kept apart& by the tides of fate...)/" - global.msg[2] = "* (Looks like it's almost time& for the performance.)/%%" -} -if (room == room_fire_hoteldoors) - global.msg[0] = "* (It's locked from the inside.)/%%" -if (room == room_fire_hotellobby) -{ - global.msg[0] = "* (There's an inscription on& this fountain.)/" - global.msg[1] = "* Royal Memorial Fountain&* Built 201X&* (Mettaton Added Last Week)/%%" -} -if (room == room_fire_restaurant) -{ - global.msg[0] = "* (It's a Wall of Fame full of& quotes and photos from visiting& celebrities.)/" - global.msg[1] = "* " + chr(34) + "The food is to die for!^1" + chr(34) + "&* " + chr(34) + "Gorgeous style and fragrance!^1" + chr(34) + "&* " + chr(34) + "My face tastes beautiful!" + chr(34) + "/" - global.msg[2] = "* (... these are all Mettaton.)/%%" -} -if (room == room_fire_hotelbed) -{ - global.msg[0] = "* (It's a lamp.^1)&* (There's no lightswitch.)/" - global.msg[1] = "* (It says that stars make& their own light...)/%%" -} -if (room == room_water_temvillage) - global.msg[0] = "* (Rich history of Tem.)/%%" -read += 1 -if (cantalk == 1) - mydialoguer = instance_create(0, 0, obj_dialoguer) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index d03c73c02..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - draw_set_font(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, "Exit") - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if keyboard_check_pressed(vk_return) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - draw_set_font(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (keyboard_check_pressed(vk_return) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_truechara_Step_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_truechara_Step_0.gml deleted file mode 100644 index 0b3663c04..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_truechara_Step_0.gml +++ /dev/null @@ -1,192 +0,0 @@ -if (con == 1) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Greetings./" - global.msg[1] = (("I^2 am " + global.charname) + "./%%") - instance_create(220, 320, OBJ_WRITER) - con = 2 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - caster_loop(ch_sfx1, 1, 1) - con = 3 - alarm[4] = 60 -} -if (con == 4) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Thank you./" - global.msg[1] = "Your power awakened&me from death./" - global.msg[2] = 'My "human soul."/' - global.msg[3] = 'My "determination."/' - global.msg[4] = "They were not mine^1,&but YOURS./" - global.msg[5] = "At first^1, I&was so confused./" - global.msg[6] = "Our plan had failed^1,&hadn't it?/" - global.msg[7] = "Why was I brought&back to life?/" - global.msg[8] = ".../" - global.msg[9] = "You./" - global.msg[10] = "With your guidance./" - global.msg[11] = "I realized the purpose&of my reincarnation./" - global.msg[12] = "Power./" - global.msg[13] = "Together^1, we eradicated&the enemy and became&strong./" - global.msg[14] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[15] = "Every time a number&increases^1, that&feeling.../" - global.msg[16] = "That's me./" - global.msg[17] = (('"' + global.charname) + '."/') - global.msg[18] = "Now./" - global.msg[19] = "Now, we have reached&the absolute./" - global.msg[20] = "There is nothing&left for us here./" - global.msg[21] = "Let us erase this&pointless world^1, and&move on to the next./%%" - if file_exists("system_information_963") - { - global.msg[0] = (('"' + global.charname) + '."/') - global.msg[1] = "The demon that comes&when people call&its name./" - global.msg[2] = "It doesn't matter when./" - global.msg[3] = "It doesn't matter where./" - global.msg[4] = "Time after time,&I will appear./" - global.msg[5] = "And, with your help./" - global.msg[6] = "We will eradicate the&enemy and become&strong./" - global.msg[7] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[8] = "Every time a number&increases^1, that&feeling.../" - global.msg[9] = "That's me./" - global.msg[10] = (('"' + global.charname) + '."/') - global.msg[11] = ".../" - global.msg[12] = "But./" - global.msg[13] = "You and I are not&the same^1, are we?/" - global.msg[14] = "This SOUL resonates&with a strange&feeling./" - global.msg[15] = "There is a reason&you continue to&recreate this world./" - global.msg[16] = "There is a reason&you continue to&destroy it./" - global.msg[17] = "You./" - global.msg[18] = "You are wracked with&a perverted&sentimentality./" - global.msg[19] = "Hmm./" - global.msg[20] = "I cannot understand&these feelings&any more./" - global.msg[21] = "Despite this./" - global.msg[22] = "I feel obligated to&suggest./" - global.msg[23] = "Should you choose to&create this world&once more./" - global.msg[24] = "Another path would&be better suited./" - global.msg[25] = "Now, partner./" - global.msg[26] = "Let us send this&world back into the&abyss./%%" - } - instance_create(150, 320, OBJ_WRITER) - con = 5 -} -if (con == 5 && instance_exists(OBJ_WRITER) == 0) -{ - con = 6 - alarm[4] = 30 -} -if (con == 7) -{ - con = 8 - choicer = 1 -} -if (con == 20) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Right^1. You are a&great partner./" - global.msg[1] = "We'll be together&forever^1, won't we?/%%" - con = 22 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 22 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - sprite_index = spr_truechara_weird -} -if (con == 22 && instance_exists(OBJ_WRITER) == 0) - con = 60 -if (con == 30) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "No...?/" - global.msg[1] = "Hmm.../" - global.msg[2] = "How curious./" - global.msg[3] = "You must have&misunderstood./" - global.msg[4] = "SINCE WHEN WERE YOU&THE ONE IN CONTROL?/%%" - if file_exists("system_information_963") - { - global.msg[0] = "No...?/" - global.msg[1] = "Hmm...&This feeling you have./" - global.msg[2] = "This is what I&spoke of./" - global.msg[3] = "Unfortunately,®arding this.../" - global.msg[4] = "YOU MADE YOUR CHOICE&LONG AGO./%%" - } - con = 31 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 31 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 4) - sprite_index = spr_truechara_weird -} -if (con == 31 && instance_exists(OBJ_WRITER) == 0) - con = 40 -if (con == 40) -{ - caster_stop(-3) - caster_play(ch_sfx2, 1, 0.95) - sprite_index = spr_truechara_laugh - image_speed = 0.5 - con = 41 - flashred = 1 - alarm[4] = 120 - wx = 0 - wy = 0 - if (global.osflavor == 1) - { - window_set_fullscreen(false) - window_set_caption(" ") - window_center() - wx = window_get_x() - wy = window_get_y() - } -} -if (con == 41) -{ - x = (((room_width / 2) + random(4)) - random(4)) - y = (((room_height / 2) + random(4)) - random(4)) - image_xscale += 0.08 - image_yscale += 0.08 - if (global.osflavor == 1) - window_set_position(((wx + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4))), ((wy + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4)))) -} -if (con == 42) -{ - con = 60 - if (global.osflavor == 1) - window_center() - flashred = 0 -} -if (con == 60) -{ - caster_free(-3) - snd_play(snd_laz) - image_speed = 0 - image_index = 0 - sprite_index = spr_strike - image_xscale = 5 - image_yscale = 5 - y = ((room_height / 2) - (sprite_height / 2)) - x = ((room_width / 2) - (sprite_width / 2)) - image_speed = 0.1 - con = 61 -} -if (con == 61) -{ - if (image_index >= 5.5) - { - visible = false - con = 62 - alarm[4] = 40 - } -} -if (con == 63) -{ - snd_play(snd_damage) - instance_create(0, 0, obj_gameshake) - con = 64 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index f424d711c..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = string("0") - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 061b9f3b9..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6407 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = " " - adder = "\W " - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y " - if (global.flag[22] == 2) - adder = "\p " - } - global.msg[0] = adder - global.msg[0] += (" * " + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += " A" - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += " B" - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += " C" - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = " " - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y " - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p " - } - } - global.msg[0] += " * Spare" - if (global.mercy == 0) - global.msg[0] += "& \W * Flee" - break - case 9: - global.msg[0] = ((" * " + global.itemnameb[0]) + " ") - if (global.item[1] != 0) - global.msg[0] += ("* " + global.itemnameb[1]) - global.msg[0] += " &" - if (global.item[2] != 0) - global.msg[0] += ((" * " + global.itemnameb[2]) + " ") - if (global.item[3] != 0) - global.msg[0] += ("* " + global.itemnameb[3]) - global.msg[0] += " & PAGE 1" - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = ((" * " + global.itemnameb[4]) + " ") - if (global.item[5] != 0) - global.msg[0] += ("* " + global.itemnameb[5]) - global.msg[0] += " &" - if (global.item[6] != 0) - global.msg[0] += ((" * " + global.itemnameb[6]) + " ") - if (global.item[7] != 0) - global.msg[0] += ("* " + global.itemnameb[7]) - global.msg[0] += " & PAGE 2" - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += (("* You recovered " + string(global.item[8])) + " HP!/%") - else - global.msg[0] += "* Your HP was maxed out./%" - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = (("* You bid a quiet farewell& to the " + global.itemname[global.menucoord[1]]) + ".") - if (i == 1) - global.msg[0] = (("* You put the " + global.itemname[global.menucoord[1]]) + "& on the ground and gave it a& little pat.") - if (i == 2) - global.msg[0] = (("* You threw the " + global.itemname[global.menucoord[1]]) + "& on the ground like the piece& of trash it is.") - if (i == 3) - global.msg[0] = (("* You abandoned the & " + global.itemname[global.menucoord[1]]) + ".") - if (i > 3) - global.msg[0] = (("* The " + global.itemname[global.menucoord[1]]) + " was& thrown away.") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = " * I'm outta here." - if (i == 2) - global.msg[0] = " * I've got better to do." - if (i > 3) - global.msg[0] = " * Escaped..." - if (i == 3) - global.msg[0] = " * Don't slow me down." - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = ((((" * Ran away with " + string(global.xpreward[3])) + " EXP& and ") + string(global.goldreward[3])) + " GOLD.") - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = "* (The shadow of the ruins& looms above^1, filling you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins7) - { - global.msg[0] = "* (Playfully crinkling through& the leaves fills you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins12A) - { - global.msg[0] = "* (Knowing the mouse might one& day leave its hole and& get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_ruins19) - global.msg[0] = "* (Seeing such a cute^1, tidy& house in the RUINS gives& you determination.)/%%" - if (global.flag[202] >= 20) - global.msg[0] = "* Determination./%%" - if (room == room_tundra1) - global.msg[0] = "* (The cold atmosphere of a& new land... it fills you& with determination.)/%%" - if (room == room_tundra3) - global.msg[0] = "* (The convenience of that& lamp still fills you& with determination.)/%%" - if (room == room_tundra_spaghetti) - { - global.msg[0] = "* (Knowing the mouse might one& day find a way to heat& up the spaghetti...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = "* (Knowing that dog will& never give up trying to& make the perfect snowdog...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - if (global.flag[55] == 1) - { - global.msg[0] = "* (Snow can always be broken& down and rebuilt into& something more useful.)/" - global.msg[1] = "* (This simple fact fills& you with determination.)/%%" - } - } - if (room == room_tundra_town) - global.msg[0] = "* (The sight of such a friendly& town fills you with& determination.)/%%" - if (room == room_water2) - global.msg[0] = "* (The sound of rushing water& fills you with& determination.)/%%" - if (room == room_water4) - global.msg[0] = "* (A feeling of dread hangs& over you...^1)&* (But you stay determined.)/%%" - if (room == room_water_savepoint1) - { - global.msg[0] = "* (Knowing the mouse might one& day extract the cheese from& the mystical crystal...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_preundyne) - { - global.msg[0] = "* (The sound of muffled rain& on the cavetop...)/" - if (global.flag[86] == 1) - global.msg[0] = "* (The serene sound of a& distant music box...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_trashzone2) - global.msg[0] = "* (The feeling of your socks& squishing as you step& gives you determination.)/%%" - if (room == room_water_trashsavepoint) - { - global.msg[0] = "* (The waterfall here seems& to flow from the& ceiling of the cavern...)/" - global.msg[1] = "* (Occasionally^1, a piece of& trash will flow& through...)/" - global.msg[2] = "* (... and fall into the& bottomless abyss below.)/" - global.msg[3] = "* (Viewing this endless& cycle of worthless& garbage...)/" - global.msg[4] = "* (It fills you with& determination.)/%%" - if (global.flag[91] == 1) - global.msg[0] = "* (Partaking in worthless& garbage fills you& with determination.)/%%" - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = "* (You feel a calming& tranquility^1. You're filled& with determination...)/%%" - if (room == room_water_temvillage) - global.msg[0] = "* (You feel..^1. something.)&* (You're filled with& detemmienation.)/%%" - if (room == room_water_undynefinal) - { - global.msg[0] = "* (The wind is howling^1.&* You're filled with& determination...)/%%" - if (global.flag[99] > 0) - global.msg[0] = "* (The howling wind is& now a breeze^1. This gives& you determination...)/%%" - if (global.flag[350] == 1) - global.msg[0] = "* (The wind has stopped^1.&* You're filled with& determination...)/%%" - } - if (room == room_fire_prelab) - { - global.msg[0] = "* (Seeing such a strange& laboratory in a place like& this...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire6) - global.msg[0] = "* (The wooshing sound of steam& and cogs..^1. it fills you& with determination.)/%%" - if (room == room_fire_savepoint1) - { - global.msg[0] = "* (An ominous structure looms& in the distance...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_mewmew2) - { - global.msg[0] = "* (Knowing the mouse might one& day hack the computerized& safe and get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_fire_hotelfront_1) - global.msg[0] = "* (A huge structure lies north.^1)&* (You're filled with& determination.)/%%" - if (room == room_fire_hotellobby) - global.msg[0] = "* (The relaxing atmosphere& of this hotel..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_branch) - global.msg[0] = "* (The air is filled with& the smell of ozone..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_premett) - { - global.msg[0] = "* (Behind this door must be& the elevator to the King's& castle.)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_savepoint2) - { - global.msg[0] = "* (The smell of cobwebs fills& the air...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& put away.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& tossed inside recklessly.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& placed thoughtfully inside.") - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& grabbed impatiently.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out and held like a& small puppy.") - global.msg[0] += "/%" - break - case 18: - global.msg[0] = "* You can't carry any more./%%" - break - case 19: - global.msg[0] = "* The box is full./%%" - break - case 23: - global.msg[0] = "* You leave the Quiche on the& ground and tell it you'll& be right back./%%" - break - case 30: - global.msg[0] = "* Use the box?& & Yes No \C " - global.msg[1] = " " - global.msg[2] = " " - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = " %%" - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = "* You have no items^1.&* You put a little time into& the box./%%" - if (gx == 1) - global.msg[0] = "* You have no items^1.&* You put a little effort& into the box./%%" - if (gx == 2) - global.msg[0] = "* You have no items^1.&* You put a little feeling& into the box./%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 200: - global.msg[0] = "\W* Howdy^2!&* I'm\Y FLOWEY\W.^2 &* \YFLOWEY\W the \YFLOWER\W!/" - global.msg[1] = "* Hmmm.../" - global.msg[2] = "* You're new to the& UNDERGROUND^2, aren'tcha?/" - global.msg[3] = "* Golly^1, you must be& so confused./" - global.msg[4] = "* Someone ought to teach& you how things work& around here!/" - global.msg[5] = "* I guess little old me& will have to do./" - global.msg[6] = "* Ready^2?&* Here we go!/%%" - break - case 201: - global.msg[0] = "\E2* This way./%%" - global.msg[1] = "%%%" - break - case 202: - global.msg[0] = "\E2* Welcome to your new& home^1, innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of the& RUINS./%%" - break - case 203: - global.msg[0] = "\E2* The RUINS are full of& puzzles./" - global.msg[1] = "* Ancient fusions between & diversions and doorkeys./" - global.msg[2] = "* One must solve them& to move from room to& room./" - global.msg[3] = "* Please adjust yourself to the sight of them./%" - break - case 204: - global.msg[0] = "\E2* To make progress here,^1 & you will need to trigger& several switches./" - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./%" - if (global.flag[6] == 1) - { - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./" - global.msg[2] = "* ... eh^1?&* It seems that the& labelling has worn away./" - global.msg[3] = "* Oh dear./" - global.msg[4] = "* This might be far more& challenging than I& anticipated.../%%" - } - break - case 205: - global.msg[0] = "\E2* The first switch is over& on the wall./%" - break - case 206: - global.msg[0] = "\E1* Do you need some help..^1?&* Press the switch on the wall./" - global.msg[1] = "\E0* Come on^1, you can do it!/%" - break - case 207: - global.msg[0] = "\E2* Go on^1, press the switch& on the left./%" - if (global.flag[6] == 1) - global.msg[0] = "\E2* I believe it was& the switch on the& left./%" - break - case 208: - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/" - global.msg[1] = "\E0* Press the switch that I& labelled for you./%" - if (global.flag[6] == 1) - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/%%" - break - case 209: - global.msg[0] = "\E1* You are very curious,^1 & are you not?/" - global.msg[1] = "\E1* Please understand.^2 & \E0I only want the best& for you./%" - break - case 210: - global.msg[0] = "\E0* Splendid!^2 &* I am proud of you,^1 & little one./" - global.msg[1] = "* Let us move to the& next room./%" - break - case 211: - global.msg[0] = "\E1* As a human living in& the UNDERGROUND,^1 & monsters may attack you./" - global.msg[1] = "\E2* You will need to be& prepared for this& situation./" - global.msg[2] = "\E0* However, worry not!^2 &* The process is simple./" - global.msg[3] = "\E2* When you encounter a & monster,^1 you will enter& a FIGHT./" - global.msg[4] = "* While you are in a& FIGHT^1, strike up a& friendly conversation./" - global.msg[5] = "\E2* Stall for time.& I will come to resolve& the conflict./" - global.msg[6] = "\E2* Practice talking to& the dummy./%" - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = "\E1* Ahh,^1 the dummies are& not for fighting!^2 &* They are for talking!/" - global.msg[1] = "* We do not want to hurt& anybody, do we...?^2 \E0 &* Come now./%" - } - if (global.flag[10] == 1) - global.msg[0] = "\E0* Ah,^1 very good!^2 &* You are very good./%" - if (global.flag[11] == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E1* ... you ran away.../" - global.msg[2] = "\E0* Truthfully^1, that was& not a poor choice./" - global.msg[3] = "\E0* It is better to& avoid conflict& whenever possible./" - global.msg[4] = "\E1* That..^1. however^1, is& only a dummy^2.&* It cannot harm you./" - global.msg[5] = "\E1* It is made of cotton^1.&* It has no desire& for revenge.../" - global.msg[6] = "\E0* Nevermind^2.&* Stay close to me and& I will keep you safe./%" - } - if (global.flag[13] == 1) - { - global.msg[0] = "\E3* ^1.^1.^1./" - global.msg[1] = "\E4* ^1.^1.^1./" - global.msg[2] = "\E0* The next room awaits./%" - } - break - case 213: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E2 &* I do not think the dummy& will be bothered./%" - break - case 214: - global.msg[0] = "\E0* Do you need some& ideas for conversation& topics?/" - global.msg[1] = "* Well^1, I often start with& a simple 'how do you& do...'/" - global.msg[2] = "* You could ask them about& their favorite books.../" - global.msg[3] = "* Jokes can be useful for& 'breaking the ice.'/" - global.msg[4] = "* Listen to this one.../" - global.msg[5] = "* What did the skeleton& tile his roof with?/" - global.msg[6] = "* ... SHIN-gles!/" - global.msg[7] = "\E1* .../" - global.msg[8] = "\E0* Well^1, I thought it& was amusing./%" - break - case 215: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E0 &* The dummy will not& be bothered./%" - break - case 216: - global.msg[0] = "\E1* There is another puzzle& in this room.../" - global.msg[1] = "\E0* I wonder if you can& solve it?/%" - break - case 217: - global.msg[0] = "\E1* This is the puzzle^1,& but.../" - global.msg[1] = "\E0* Here^1, take my hand& for a moment./%" - break - case 218: - global.msg[0] = "\E1* Puzzles seem a little& too dangerous for& now./%" - break - case 219: - global.msg[0] = ".../%" - break - case 220: - global.msg[0] = "\E2* Greetings,^1 my child^2.&* Do not worry^1, I did& not leave you./" - global.msg[1] = "\E0* I was merely behind this& pillar the whole time./" - global.msg[2] = "* Thank you for trusting& me./" - global.msg[3] = "\E2* However^1, there was an& important reason for& this exercise./" - global.msg[4] = "* ... to test your& independence./" - global.msg[5] = "\E1* I must attend to some& business^1, and you must& stay alone for a while./" - global.msg[6] = "\E0* Please remain here^2.&*\E1 It's dangerous to& explore by yourself./" - global.msg[7] = "\E0* I have an idea^2.&* I will give you a& CELL PHONE./" - global.msg[8] = "* If you have a need for& anything^1, just call./" - global.msg[9] = "\E1* Be good^1, alright?/%" - break - case 221: - global.msg[0] = "\E0* You have done& excellently thus& far^1, my child./" - global.msg[1] = "\E2* However... I have a& difficult request to ask& of you./" - global.msg[2] = "* .../" - global.msg[3] = "* I would like you to walk& to the end of the room& by yourself./" - global.msg[4] = "\E1* Forgive me for this./%" - break - case 222: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?& Cinnamon Bscotch \C" - global.msg[5] = " " - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ini_close() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - global.msg[0] = "* Oh^1, I see.&* Thank you very much!/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* Click.../%%" - global.msg[5] = "* /" - break - case 224: - global.msg[0] = "* It's a fishing rod affixed& to the ground.../" - global.msg[1] = "* Reel it in?& & Yes No \C " - global.msg[2] = " " - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = "* All that's attached to& the end is a photo of a& weird-looking monster.../" - global.msg[1] = "* (Call Me!& Here's my number!)/" - global.msg[2] = "* You decide not to call./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* All that's attached to& the end is a note./" - global.msg[1] = "* (Nevermind^1, guys!)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* You leave it alone./%%" - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = "* I shouldn't have given myself& away so easily.../%%" - if (global.flag[56] == 4) - { - global.msg[0] = "* Did you just...&* Consume the part of me& I had given you?/" - global.msg[1] = "* In front of my very eyes!?/" - global.msg[2] = "* I have no words for you..^1.&* Begone!/%%" - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = "* Thank you for taking care& of me.../%%" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = "* Huh^1? Again...?/" - global.msg[1] = "* I'm sorry..^1. if I give you& any more^1, there will be& nothing left of me./" - global.msg[2] = "* I suppose it is true^1.&* Travelling beyond our limits& is but a fantasy./" - global.msg[3] = "* It's no different for& anyone else./" - global.msg[4] = "* All of monsterkind& are doomed to stay& underground^1, forever.../%%" - } - } - if (global.flag[56] == 1) - { - global.msg[0] = "* How am I doing^1?&* By " + chr(34) + "I" + chr(34) + " I mean the piece& of me I gave you.../" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = "* Huh^1? You lost it...^1?&* ... I suppose I can give& you another piece.../" - scr_itemget(16) - if (noroom == 1) - global.msg[2] = "* You don't have any room^1?&* OK..^1. I understand I am not& a priority for you^1, then./%%" - else - { - global.msg[2] = "* Please be careful this& time./" - global.msg[3] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = "* Hello^1.&* I am a snowman./" - global.msg[1] = "* I want to see the world..^1.&* But I cannot move./" - global.msg[2] = "* If you would be so kind^1,& traveller^1, please.../" - global.msg[3] = "* Take a piece of me and& bring it very far away.& Yes No \C " - global.msg[4] = " " - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = "* It seems you do not& have enough room for me./%%" - else - { - global.msg[0] = "* Thank you... good luck!/" - global.msg[1] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* I see^1.&* Good journey^1, then./%%" - break - case 228: - global.msg[0] = "SANS!!^1!&THAT DIDN'T DO&ANYTHING!/" - if (global.flag[254] == 0) - global.msg[0] = "SANS!!^1!&THEY DIDN'T EVEN&LOOK AT IT!/" - scr_sansface(1, 0) - global.msg[2] = "* whoops./" - global.msg[3] = "* i knew i should have& used today's crossword& instead./" - scr_papface(4, 1) - global.msg[5] = "WHAT!^1?&CROSSWORD!?/" - global.msg[6] = "I CAN'T BELIEVE&YOU SAID THAT!!/" - global.msg[7] = "IN MY OPINION.../" - global.msg[8] = "\E3JUNIOR JUMBLE&IS EASILY THE&HARDEST./" - scr_sansface(9, 0) - global.msg[10] = "* what^1? really^1, dude^1?&* that easy-peasy word& scramble?/" - global.msg[11] = "\E1* that's for baby bones./" - scr_papface(12, 3) - global.msg[13] = "UN^1. BELIEVABLE./" - global.msg[14] = "\E0HUMAN!!^1!&SOLVE THIS DISPUTE!/" - global.msg[15] = "\TS \F0 \E0 \T0 %" - global.msg[16] = "* (Which is harder?)& & Jumble Crossword \C " - global.msg[17] = " " - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = "HA^1! HA^1! YES!/" - global.msg[2] = "HUMANS MUST BE&VERY INTELLIGENT!/" - global.msg[3] = "IF THEY ALSO FIND&JUNIOR JUMBLE&SO DIFFICULT!/" - global.msg[4] = "NYEH^1! HEH^1! HEH HEH!/%%" - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = "YOU TWO ARE WEIRD!/" - global.msg[2] = "\E3CROSSWORDS ARE SO&EASY./" - global.msg[3] = "IT'S THE SAME&SOLUTION EVERY&TIME./" - global.msg[4] = "\E0I JUST FILL ALL&THE BOXES IN WITH&THE LETTER " + chr(34) + "Z" + chr(34) + ".../" - global.msg[5] = "BECAUSE EVERY TIME&I LOOK AT A&CROSSWORD.../" - global.msg[6] = "ALL I CAN DO IS&SNORE!!!/" - global.msg[7] = "NYEH HEH HEH!!!/%%" - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here you go^1!&* Have a super-duper day^1!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1?&* You don't have enough& money.../" - global.msg[1] = "* I wish I could make& Nice Cream for free.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Out in the middle of& the woods.../%%" - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hey^1, you have an umbrella^1,& just like my cart.../" - global.msg[1] = "* Such solidarity^1!&* I have no choice but to& give you a deal!/" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Umbrella solidarity!^1?&* I guess I have to give& you a deal.../" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - } - if (itemcount > 2) - { - global.msg[0] = "* Hey^1!&* You have 3 Punch Cards!/" - global.msg[1] = "* How about redeeming them& for some Nice Cream!?/" - global.msg[2] = "* It's free!& & Yes No \C" - global.msg[3] = " " - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Super^1! Here you go^1!&* Your Card's in the box!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1? No money^1?&* Sorry^1, I can't give it to& you for free./%%" - if (global.flag[85] == 1) - global.msg[0] = "* Huh^1? You can't afford it& even with the discount^1?&* I.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = "* Here^1! A free Nice Cream^1!&* (You lost 3 cards and got& a Nice Cream.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Hidden in the depths of a& watery cavern.../%%" - } - break - case 235: - global.msg[0] = "* i've been thinking& about selling treats& too./" - global.msg[1] = "* want some fried snow^1?&* it's just 5G.& Buy No\C" - global.msg[2] = " " - break - case 236: - if (global.choice == 0) - { - global.msg[0] = "* did i say 5G^1?&* i meant 50G^1.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* i should charge way& more than than that./%%" - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = "* really^1?&* how about 5000G?& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* that's still too low./%%" - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = "* 50000G^1.&* that's my final offer.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* i have to pay for& the raw materials& somehow./%%" - break - case 239: - if (global.choice == 0) - { - global.msg[0] = "* what^1?&* you don't have the& money?/" - global.msg[1] = "* hey^1, that's okay./" - global.msg[2] = "\E1* i don't have any snow./%%" - if (global.gold >= 50000) - { - global.msg[0] = "* wow^1, that's a lot& of cash./" - global.msg[1] = "\E3* that's why i'm sorry& to say.../" - global.msg[2] = "\E3* i can't sell you& this fried snow./" - global.msg[3] = "\E2* it's got too much& sentimental value./%%" - } - } - if (global.choice == 1) - global.msg[0] = "* don't you know a& good deal when you& hear one?/%%" - break - case 240: - global.msg[0] = "WHAT!^1?&HOW DID YOU&AVOID MY TRAP?/" - global.msg[1] = "\E3AND^1, MORE&IMPORTANTLY.../" - global.msg[2] = "\E0IS THERE ANY&LEFT FOR ME???/" - global.msg[3] = "\TS \F0 \E0 \T0 %" - global.msg[4] = "* (What do you tell Papyrus& about his spaghetti?)& Ate it Left it \C " - global.msg[5] = " " - break - case 241: - scr_papface(0, 0) - global.msg[1] = "REALLY!?/" - if (global.choice == 0) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "NO ONE'S EVER&ENJOYED MY&COOKING BEFORE.../" - global.msg[4] = "\E0WELL THEN!!/" - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "YOU RESISTED THE&FLAVOR OF MY&HOMECOOKED PASTA.../" - global.msg[4] = "JUST SO YOU&COULD SHARE&IT WITH ME???/" - global.flag[62] = 2 - } - global.msg[5] = "\E0FRET NOT HUMAN^1!&I^1, MASTER CHEF&PAPYRUS.../" - global.msg[6] = "WILL MAKE YOU ALL&THE PASTA YOU&COULD EVER WANT!/" - global.msg[7] = "HEH HEH HEH HEH&HEH HEH NYEH!/%%" - break - case 243: - global.msg[0] = "HEY!/" - global.msg[1] = "IT'S THE HUMAN!/" - global.msg[2] = "\E0YOU'RE GONNA&LOVE THIS&PUZZLE!/" - global.msg[3] = "IT WAS MADE&BY THE GREAT&DR. ALPHYS!/" - global.msg[4] = "YOU SEE&THESE TILES&!?/" - global.msg[5] = "ONCE I THROW&THIS SWITCH.../" - global.msg[6] = "THEY WILL&BEGIN TO&CHANGE COLOR!/" - global.msg[7] = "EACH COLOR HAS&A DIFFERENT&FUNCTION!/" - global.msg[8] = "RED TILES ARE&IMPASSABLE!/" - global.msg[9] = "YOU CANNOT&WALK ON THEM!/" - global.msg[10] = "YELLOW TILES&ARE ELECTRIC!/" - global.msg[11] = "THEY WILL&ELECTROCUTE&YOU!/" - global.msg[12] = "GREEN TILES&ARE ALARM&TILES!/" - global.msg[13] = "IF YOU STEP&ON THEM.../" - global.msg[14] = "YOU WILL HAVE&TO FIGHT A&MONSTER!!/" - global.msg[15] = "ORANGE TILES&ARE ORANGE-&SCENTED./" - global.msg[16] = "THEY WILL MAKE&YOU SMELL&DELICIOUS!/" - global.msg[17] = "BLUE TILES ARE&WATER TILES./" - global.msg[18] = "SWIM THROUGH&IF YOU LIKE^1,&BUT.../" - global.msg[19] = "IF YOU SMELL&LIKE ORANGES!/" - global.msg[20] = "THE PIRAHNAS&WILL BITE&YOU./" - global.msg[21] = "ALSO^1, IF A&BLUE TILE IS&NEXT TO A,/" - global.msg[22] = "YELLOW TILE^1,&THE WATER WILL&ALSO ZAP YOU!/" - global.msg[23] = "PURPLE TILES&ARE SLIPPERY!/" - global.msg[24] = "YOU WILL SLIDE&TO THE NEXT&TILE!/" - global.msg[25] = "HOWEVER^1, THE&SLIPPERY&SOAP.../" - global.msg[26] = "SMELLS LIKE&LEMONS!!/" - global.msg[27] = "WHICH PIRAHNAS&DO NOT LIKE!/" - global.msg[28] = "PURPLE AND&BLUE ARE OK!/" - global.msg[29] = "FINALLY^1,&PINK TILES./" - global.msg[30] = "THEY DON'T DO&ANYTHING./" - global.msg[31] = "STEP ON THEM&ALL YOU LIKE./" - global.msg[32] = "HOW WAS THAT!^1?&UNDERSTAND???/" - global.msg[33] = "\TS \F0 \E0 \T0 %" - global.msg[34] = "* (Understand the explanation?)& & Of course No \C " - global.msg[35] = " " - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "OKAY..^1.&I GUESS I'LL&REPEAT MYSELF.../" - global.msg[2] = "\E0RED TILES ARE&IMPASSABLE./" - global.msg[3] = "YELLOW TILES ARE&ELECTRIC AND&DANGEROUS./" - global.msg[4] = "BLUE TILES MAKE&YOU FIGHT A&MONSTER./" - global.msg[5] = "GREEN TILES ARE&WATER TILES./" - global.msg[6] = "ORANGE TILES ARE&ORANGE SCENTED./" - global.msg[7] = "IF YOU STEP ON&ORANGE^1, DON'T STEP&ON GREEN./" - global.msg[8] = "\E3BROWN TILES ARE.../" - global.msg[9] = "\E1WAIT!!^1!&THERE ARE NO&BROWN TILES.../" - global.msg[10] = "\E0PURPLE TILES&SMELL LIKE&LEMONS.../" - global.msg[11] = "\E3WHY DON'T THE&YELLOW ONES&SMELL LEMONY?/" - global.msg[12] = "\E3UMM.../" - global.msg[13] = "\E1WAIT!^1!&DID I MIX UP&GREEN AND BLUE!?/" - global.msg[14] = "THE BLUE ONES&ARE WATER ONES!/" - global.msg[15] = "\E3PINK TILES.../" - global.msg[16] = "I DON'T..^1.&REMEMBER???/" - global.msg[17] = "\E1WAIT!!!/" - global.msg[18] = "\E3THOSE ONES DON'T&DO ANYTHING./" - global.msg[19] = "\E0OKAY^1!&DO YOU UNDERSTAND&BETTER NOW!?/" - global.msg[20] = "\TS \F0 \E0 \T0 %" - global.msg[21] = "* (Understand the explanation?)& & Yes Even less \C " - global.msg[22] = " " - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "........../" - global.msg[2] = "OK^1, YOU KNOW&WHAT???/" - global.msg[3] = "HOW ABOUT..^1.&YOU JUST.../" - global.msg[4] = "DO THIS PUZZLE..^1.&ON YOUR OWN.../" - global.msg[5] = "I'LL LEAVE THE&INSTRUCTIONS.../" - global.msg[6] = "JUST READ THEM./" - global.msg[7] = "THEN WHEN YOU&UNDERSTAND IT.../" - global.msg[8] = "YOU CAN THROW&THE SWITCH./" - global.msg[9] = "AND DO IT AT&YOUR OWN PACE./" - global.msg[10] = "GOOD LUCK./" - global.msg[11] = "NYEH..^1.&HEH..^1.&HEH!/%%" - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = "* (There's a lone quiche& sitting underneath& this bench.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* It's just a bench./%%" - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Abandoned& Quiche.)/%%" - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = "* (You're carrying too much.)/" - global.msg[1] = "* (You aren't ready for the& responsibility.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* (The quiche was left all& alone...)/%%" - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = "* (There's a tutu lying on& the ground here.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Old Tutu.)/%%" - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = (("* (The box contains " + card) + " cards.)/") - if (global.flag[80] > 2) - global.msg[0] = (("* (Two bugs in the box are& playing a " + card) + "-card game.)/") - if (global.flag[80] > 4) - global.msg[0] = (("* (There's a smiley face made& of " + card) + " cards in the box.)/") - if (global.flag[80] > 6) - global.msg[0] = (("* (A house made of " + card) + " cards& sits in the box.)/") - if (global.flag[80] > 12) - global.msg[0] = "* (The box is overstuffed with& cards.)/" - global.msg[1] = "* (Take a card?)& & Take Leave \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's a box for storing Punch& Cards^1.)&* (It's empty right now.)/%%" - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = "* (You got a Punch Card.)/%%" - if (global.flag[80] > 2) - global.msg[0] = "* (All games must end one day.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 4) - global.msg[0] = "* (Happiness is fleeting.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 6) - global.msg[0] = "* (The house collapses.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 12) - global.msg[0] = "* (You got a Punch Card.)/%%" - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = "* (It's a pair of ballet shoes.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Ballet Shoes.)/%%" - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 254: - global.msg[0] = "* (This little bird wants to& carry you across.)/" - global.msg[1] = "* (Accept the bird's offer?)& & Get ride No \C " - global.msg[2] = " " - if (global.flag[85] == 1) - global.msg[0] = "* (Umbrellas and birds...^1)&* (A bad combination.)/%%" - break - case 255: - global.msg[0] = " %%" - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = "* (It's a legendary artifact.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The artifact is gone.)/%%" - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = "* (This will never happen.)/%%" - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - if (noroom == 2) - global.msg[0] = "* (You're carrying too many& dogs.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/" - global.msg[1] = "* (Take a package of noodles?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/%%" - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Instant Noodles.)/%%" - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* (You decide to stay healthy.)/%%" - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = "* (There's a frypan lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Burnt Pan.)/%%" - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = "* (There's an apron lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Stained Apron.)/%%" - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = "* (There's a Glamburger inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Glamburger.)/%%" - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = "* (There's 100G inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = "* (You got 100G.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = "* (There's a worn dagger& inside the box.)/" - else - global.msg[0] = "* (Knife inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Worn Dagger.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got the Real Knife.)/%%" - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = "* (There's a heart-shaped& locket inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Heart-shaped& Locket.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got The Locket.)/%%" - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 272: - global.msg[0] = "* (The box is empty.)/%%" - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = "* Hello...&* Would you like some& Nice Cream...?/" - global.msg[1] = "* It's the frozen treat...&* That warms your heart./" - global.msg[2] = "* Now only 12G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[250] >= 1) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1.&* It's the frozen treat^1.&* That warms your heart./" - global.msg[2] = "* Now just 12G.& & Yes No \C" - global.msg[3] = " " - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here^1.&* (You got the Nice Cream.)/%%" - if (afford == 0) - global.msg[0] = "* You don't have enough& money.../%%" - } - if (noroom == 1) - global.msg[0] = "* Drop something./%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* Life..^1. is suffering./%%" - } - break - case 500: - global.msg[0] = "* (Golden flowers.^1)&* (They must have& broken your fall.)/%%" - global.msg[1] = "%%%" - break - case 501: - global.msg[0] = "* " + chr(34) + "Press [Z] to read signs!" + chr(34) + "/%%" - break - case 502: - global.msg[0] = "* Just a regular old pillar./%%" - break - case 503: - global.msg[0] = "* Please don't step on the& leaves./%%" - break - case 504: - global.msg[0] = "* Didn't you read the sign& downstairs?/%%" - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* WHOA there^1, pardner^2!&* Who said you could push& me around?/" - global.msg[1] = "* HMM^2?&* So you're ASKIN' me to& move over?/" - global.msg[2] = "* Okay^1, just for you^1,& pumpkin./%%" - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You want me to move some& more?/" - global.msg[1] = "* Alrighty^1, how's this?/%%" - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* That was the wrong direction?/" - global.msg[1] = "* Okay^1, think I got it./%%" - } - if (conversation == 9) - global.msg[0] = "* Was that helpful?/%%" - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You wanted me to STAY there?/" - global.msg[1] = "* You're giving me a real& workout./%%" - } - } - else - { - global.msg[0] = "* Aren't things easier when& you just ask?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* The exit's open^1?&* Guess I better roll out.../" - global.msg[1] = "* Hey^1, y'mind giving me a& push^1, pumpkin?/%%" - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = "*'Take one.'&* Take a candy?& Yes No \C" - if (global.flag[34] == 0) - global.msg[0] = "* It says 'take one.'&* Take a piece of candy?& Yes No \C" - } - else - global.msg[0] = "* Look at what you've done./%%" - global.msg[1] = " " - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = "* You took a piece of candy.&* (Press [C] to open the menu.)/%%" - if (global.flag[34] == 2) - global.msg[0] = "* You took more candy^1.&* How disgusting../%%" - if (global.flag[34] == 3) - global.msg[0] = "* You take another piece.&* You feel like the& scum of the earth.../%%" - if (global.flag[34] == 4) - global.msg[0] = "* You took too much too fast.&* The candy spills onto& the floor./%%" - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = "* In this hellish world^1, you& can only take 3 pieces& of candy.../%%" - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - } - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 510: - global.msg[0] = "* zzzzzzzzzzzzzzz..^1.&* zzzzzzzzzzzzzz.../" - global.msg[1] = "* zzzzzzzzzz..^1.&* (are they gone yet^1)&* zzzzzzzzzzzzzzz.../" - global.msg[2] = "* (This ghost keeps saying 'z'& out loud repeatedly^1,& pretending to sleep.)/" - global.msg[3] = "* Move it with force?& & Yes No \C" - global.msg[4] = " " - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = "* It says 'Take them all.'&* Take a candy?& Yes No \C" - global.msg[1] = " " - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = "* You took a piece.&* Boy^1, that's heavy./%%" - if (haveit == 1) - global.msg[0] = "* You can't carry more.&* It's just too heavy./%%" - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 7G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 18G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = "* You found a Faded Ribbon./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = "* Nothing happened./%%" - if (global.choice == 1) - global.msg[0] = "%%" - if (global.flag[43] > 25) - global.msg[0] = "* You're making the switches& uncomfortable with all& this attention./%%" - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = "* You hear a clicking sound./%%" - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = "* You found the Toy Knife./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = "* It's TORIEL's diary.&* Read the circled passage?& Yes No \C" - global.msg[1] = " " - break - case 525: - if (global.choice == 0) - { - global.msg[0] = "* You read the passage.../" - global.msg[1] = "* " + chr(34) + "Why did the skeleton want& a friend?" + chr(34) + "/" - global.msg[2] = "" + chr(34) + "* Because she was feeling& BONELY..." + chr(34) + "/" - global.msg[3] = "* The rest of the page is& filled with jokes of& a similar caliber./%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& butterscotch-cinnamon& pie./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& snail pie.../%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - break - case 527: - global.msg[0] = "* Hello there^1,& little one!/" - global.msg[1] = "* The pie has not& cooled down yet./" - global.msg[2] = "* Perhaps you should& take a nap.& Yes No \C " - global.msg[3] = " " - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = "* Sweet dreams./%%" - else - { - global.msg[0] = "\E1* You'd rather stay& up and chat with& me^1, then?/" - if (global.flag[103] > 0) - global.msg[0] = "* Up already^1, I see?/" - global.msg[1] = "\E0* Um^1, I want you to know& how glad I am to& have someone here./" - global.msg[2] = "* There are so many& old books I want& to share./" - global.msg[3] = "* I want to show you& my favorite bug-& hunting spot./" - global.msg[4] = "* I've also prepared& a curriculum for& your education./" - global.msg[5] = "* This may come as& a surprise to you.../" - global.msg[6] = "* But I have always& wanted to be a& teacher./" - global.msg[7] = "\E1* ... actually^1, perhaps& that isn't very& surprising./" - global.msg[8] = "\E5* STILL./" - global.msg[9] = "\E0* I am glad to have& you living here./" - global.msg[10] = "\E1* Oh^1, did you& want something?/" - global.msg[11] = "* What is it?& When can& Nothing I go home?\C " - global.msg[12] = " " - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = "* Well^1, talk to me& again if you& need anything./%%" - else - { - global.msg[0] = "\E1* What^1?&* This..^1. this IS your& home now./" - global.msg[1] = "* Um..^1. would you like& to hear about this& book I am reading?/" - if (global.choice == -1) - { - global.msg[0] = "\E0* Oh^1, hello!/" - global.msg[1] = "* Did you want to& hear about the& book I am reading?/" - } - global.msg[2] = "\E0* It is called& " + chr(34) + "72 Uses for Snails." + chr(34) + "/" - global.msg[3] = "* How about it?& How to exit& Sure the RUINS\C " - global.msg[4] = " " - } - break - case 530: - global.plot = 19.3 - global.msg[0] = "* Here is an exciting& snail fact./" - if (global.choice == 1) - global.msg[0] = "\E1* Um^1.^1.^1.&*\E0 How about an exciting& snail fact?/" - global.msg[1] = "\E2* Did you know& that snails.../" - r = round(random(3)) - if (r == 0) - global.msg[2] = "\E0* Have a chainsaw-like& tongue called a& radula?/" - if (r == 1) - global.msg[2] = "\E0* Sometimes flip their& digestive systems& as they mature?/" - if (r == 2) - global.msg[2] = "\E0* Make terrible& shoelaces?/" - if (r == 3) - global.msg[2] = "\E0* Talk^2. Really^2. Slowly^2?&* Just kidding^1, snails& don't talk./" - global.msg[3] = "\E0* Interesting.& How to exit& Yeah the RUINS\C " - global.msg[4] = " " - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = "* Well^1, bother me& if you need anything& else./%%" - else - { - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something^1.&* Stay here./%%" - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = "\E0* What is it?& How to exit& Nothing the RUINS\C " - } - global.msg[1] = " " - break - case 532: - if (global.choice == 0) - global.msg[0] = "* If you need anything^1,& just ask./%%" - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something.&* Stay here./%%." - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = " " - break - case 540: - global.msg[0] = "\E2NYOO HOO HOO.../" - global.msg[1] = "I CAN'T EVEN&STOP SOMEONE AS&WEAK AS YOU.../" - global.msg[2] = "UNDYNE'S GOING TO&BE DISAPPOINTED&IN ME./" - global.msg[3] = "I'LL NEVER JOIN THE&ROYAL GUARD..^1.&AND.../" - global.msg[4] = "MY FRIEND QUANTITY&WILL REMAIN&STAGNANT!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (What should you say?)& Let's be What a& friends loser\C" - global.msg[7] = " " - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = "\E0WOWIE!^1!&YOU DID IT!!!/" - global.msg[1] = "YOU DIDN'T DO A&VIOLENCE!!!/" - global.msg[2] = "\E5TO BE HONEST^1,&I WAS A LITTLE&AFRAID.../" - global.msg[3] = "\E0BUT YOU'RE ALREADY&BECOMING A GREAT&PERSON!/" - global.msg[4] = "\E7I'M SO PROUD I&COULD CRY!!!/" - global.msg[5] = "\E3... WAIT^1, WASN'T I&SUPPOSED TO&CAPTURE YOU...?/" - global.msg[6] = "\E0WELL^1, FORGET IT!/" - global.msg[7] = "I JUST WANT YOU&TO BE THE BEST&PERSON YOU CAN BE./" - global.msg[8] = "SO LET'S LET&BYBONES BE&BYBONES./" - global.msg[9] = "I'LL EVEN TELL YOU&HOW TO LEAVE THE&UNDERGROUND!/" - global.msg[10] = "JUST KEEP GOING&EAST!/" - global.msg[11] = "EVENTUALLY YOU'LL&REACH THE KING'S&CASTLE./" - global.msg[12] = "THEN YOU CAN&LEAVE!/%%" - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "REALLY!^1?&YOU WANT TO BE&FRIENDS^1, WITH ME???/" - global.msg[2] = "WELL THEN.../" - global.msg[3] = "\E0I GUESS..^1./" - global.msg[4] = "I GUESS&I CAN MAKE AN&ALLOWANCE FOR YOU!/" - global.msg[5] = " %" - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "HUH^1?&WHY WOULD YOU.../" - global.msg[2] = "BERATE YOURSELF&SO LOUDLY???/" - global.msg[3] = "IS IT BECAUSE.../" - global.msg[4] = "\E3YOU DON'T THINK&YOU'RE GOOD ENOUGH&TO BE MY FRIEND?/" - global.msg[5] = "\E0NO!!^1!&YOU'RE GREAT!!^1!&I'LL BE YOUR FRIEND!/" - } - if (global.flag[66] == 1) - { - global.msg[6] = "WOWIE!^1!&WE HAVEN'T EVEN HAD&OUR FIRST DATE.../" - global.msg[7] = "AND I'VE ALREADY&MANAGED TO HIT&THE FRIEND ZONE!!!/" - global.msg[8] = "WHO KNEW THAT&ALL I NEEDED TO&MAKE PALS.../" - } - else - { - global.msg[6] = "WOW!!!/" - global.msg[7] = "I HAVE FRIENDS!!!/" - global.msg[8] = "AND WHO KNEW THAT&ALL I NEEDED TO&MAKE THEM.../" - } - global.msg[9] = "WAS TO GIVE PEOPLE&AWFUL PUZZLES AND&THEN FIGHT THEM??/" - global.msg[10] = "YOU TAUGHT ME A&LOT^1, HUMAN./" - global.msg[11] = "I HEREBY GRANT&YOU PERMISSION&TO PASS THROUGH!/" - global.msg[12] = "AND I'LL GIVE&YOU DIRECTIONS&TO THE SURFACE./" - global.msg[13] = "CONTINUE FORWARD&UNTIL YOU REACH THE&END OF THE CAVERN./" - global.msg[14] = "\WTHEN..^1. WHEN YOU&REACH THE CAPITAL^1,&CROSS \YTHE BARRIER\W./" - global.msg[15] = "THAT'S THE MAGICAL&SEAL TRAPPING US&ALL UNDERGROUND./" - global.msg[16] = "ANYTHING CAN ENTER&THROUGH IT^1, BUT&NOTHING CAN EXIT.../" - global.msg[17] = "... EXCEPT SOMEONE&WITH A POWERFUL&SOUL./" - global.msg[18] = "... LIKE YOU!!!/" - global.msg[19] = "THAT'S WHY THE&KING WANTS TO&ACQUIRE A HUMAN./" - global.msg[20] = "HE WANTS TO OPEN&THE BARRIER WITH&SOUL POWER./" - global.msg[21] = "THEN US MONSTERS&CAN RETURN TO&THE SURFACE!/%%" - break - case 544: - global.msg[0] = "YOU'RE BACK AGAIN?!?!/" - global.msg[1] = "I FINALLY REALIZE&THE TRUE REASON WHY./" - global.msg[2] = "YOU.../" - global.msg[3] = "JUST MISS SEEING MY&FACE SO MUCH.../" - global.msg[4] = "I'M NOT SURE I&CAN FIGHT SOMEONE&WHO FEELS THIS WAY./" - global.msg[5] = "BUT MOSTLY..^1. I'M GETTING&REALLY TIRED OF&CAPTURING YOU!/" - global.msg[6] = "SO..^1.&WHAT DO YOU SAY?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* (Fight Papyrus?)& & Yes No\C" - global.msg[8] = " " - break - case 545: - global.msg[0] = "\TP %" - if (global.choice == 0) - { - global.msg[1] = "OKAY.../" - global.msg[2] = "I GUESS./" - global.msg[3] = "IF YOU WANT ME TO&CAPTURE YOU./" - global.msg[4] = "I'LL TRY AGAIN!!!/%%" - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = "... OKAY.../" - global.msg[2] = "I GUESS I'LL ACCEPT&MY FAILURE.../%%" - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = "* Welcome to Snowed Inn^1!&* Snowdin's premier hotel!/" - global.msg[1] = "* One night is 80G.& & Stay Leave\C" - if (global.flag[72] == 2) - { - global.msg[0] = "* Back again^1?&* Well^1, stay as long as you& like./" - global.msg[1] = "* How about it?& & Stay Leave\C" - } - global.msg[2] = " " - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = "* What^1?&* No^1, you can't get a& second key!" - if (global.flag[7] == 1) - { - global.msg[0] = "* Hello^1!&* Sorry^1, no time for a& nap.../" - global.msg[1] = "* Snowed Inn is shutting& down so we can all go& to the surface./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Oh^1, there you are^1.&* I was worrying about& you!/" - global.msg[1] = "* Things are going to be OK^1,& you hear?/" - global.msg[2] = "* We're all going to the& surface world soon.../" - global.msg[3] = "* There's bound to be a& place you can stay there!/%%" - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = "Error./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = "* ... You don't even have 80G?/" - global.msg[1] = "* Oh^1! You poor thing^1.&* I can only imagine what& you've been through./" - global.msg[2] = "* One of the rooms upstairs& is empty^1./" - global.msg[3] = "* You can sleep there for& free^1, okay?/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = "* You aren't carrying enough& money./%%" - } - else - global.msg[0] = "* Well^1, feel free to come& back any time./%%" - break - case 549: - global.msg[0] = "* (Look through the telescope?)& & Yes No\C" - global.msg[1] = " " - break - case 550: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = "* i'm thinking about& getting into the& telescope business./" - global.msg[1] = "* it's normally 50000G& to use this premium& telescope.../" - global.msg[2] = "* but..^1.&*\E1 since i know you^1,& you can use it for free./" - global.msg[3] = "\E2* howzabout it?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Use the telescope?)& & Yes No\C" - } - else - { - global.msg[0] = "* huh^1?&* you aren't satisfied?/" - global.msg[1] = "\E1* don't worry./" - global.msg[2] = "\E2* i'll give you a& full refund./%%" - } - global.msg[6] = " " - break - case 552: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = "* well^1, come back& whenever you want./%%" - } - break - case 553: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - global.flag[75] = global.armor - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "\E3HOW DID I GET THIS&NUMBER...?/" - global.msg[4] = "\E0IT WAS EASY!!!/" - global.msg[5] = "\E0I JUST DIALED EVERYNUMBER SEQUENTIALLYUNTIL I GOT YOURS!!!/" - global.msg[6] = "NYEH HEH HEH HEH!!/" - global.msg[7] = "\E2SO..^1.&WHAT ARE YOU&WEARING...?/" - global.msg[8] = "\E3I'M..^1.&ASKING FOR A&FRIEND./" - global.msg[9] = (("\E0SHE THOUGHT SHE&SAW YOU WEARING A&" + armor) + "./") - global.msg[10] = (("\E3IS THAT TRUE^1?&ARE YOU WEARING A&" + armor) + "?/") - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* (What will you say?)& & Yes No\C" - global.msg[13] = " " - break - case 554: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = (("SO YOU ARE WEARING&A " + armor) + ".../") - global.msg[2] = "GOT IT!!^1!&WINK WINK!!!/" - global.msg[3] = "HAVE A NICE DAY!/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - } - else - { - global.flag[76] = 1 - global.msg[1] = (("SO YOU AREN'T&WEARING A&" + armor) + ".../") - global.msg[2] = "GOT IT!/" - global.msg[3] = "YOU'RE MY FRIEND^1,&SO I TRUST YOU&100-PERCENT./" - global.msg[4] = "HAVE A NICE DAY!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - break - case 556: - global.msg[0] = "* (There's an empty pie tin& inside the stove.)/%%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "\E0MY BROTHER ALWAYS&GOES OUT TO EAT^1.&BUT.../" - global.msg[2] = "\E3RECENTLY^1, HE TRIED&'BAKING' SOMETHING./" - global.msg[3] = "IT WAS LIKE..^1.&A QUICHE./" - global.msg[4] = "BUT FILLED WITH A&SUGARY^1, NON-EGG&SUBSTANCE./" - global.msg[5] = "\E0HOW ABSURD!/%%" - } - break - case 557: - global.msg[0] = "* (It's a joke book.)/" - global.msg[1] = "* (Take a look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 558: - if (global.choice == 0) - { - global.msg[0] = "* (Inside the joke book was& a quantum physics book.)/" - global.msg[1] = "* (You look inside...)/" - global.msg[2] = "* (Inside the quantum physics& book was another joke& book.)/" - global.msg[3] = "* (You look inside...)/" - global.msg[4] = "* (There's another quantum& physics book...)/" - global.msg[5] = "* (You decide to stop.)/%%" - } - else - global.msg[0] = " %%" - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THAT'S MY ROOM^1!/" - global.msg[2] = "IF YOU'VE&FINISHED LOOKING&AROUND.../" - global.msg[3] = "WE COULD GO IN&AND.../" - global.msg[4] = "" + chr(34) + "HANG-OUT" + chr(34) + " LIKE&A PAIR OF VERY&COOL FRIENDS?/" - if (global.flag[66] == 1) - global.msg[4] = "\E3DO WHATEVER&PEOPLE DO WHEN&THEY DATE???/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Go inside?)& & Yes No\C" - global.msg[7] = " %" - } - else - { - global.msg[0] = "* (It's the door to& Papyrus's room.)/" - global.msg[1] = "* (It's covered in many& labels...)/" - global.msg[2] = "\TP %" - global.msg[3] = "* (NO GIRLS ALLOWED!)/" - global.msg[4] = "* (NO BOYS ALLOWED!)/" - global.msg[5] = "* (PAPYRUS ALLOWED.)/%%" - } - break - case 560: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THERE ARE NO&SKELETONS INSIDE&MY CLOSET!!!/" - global.msg[2] = "\E3EXCEPT ME&SOMETIMES./" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Look in the closet?)& & Yes No\C" - global.msg[5] = " " - } - else - { - global.msg[0] = "* (Look in the closet?)& & Yes No\C" - global.msg[1] = " " - } - break - case 562: - if (global.choice == 0) - global.msg[0] = "* (Clothes are hung up& neatly inside.)/%%" - else - { - global.msg[0] = " %%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "IT'S OK TO BE&INTIMIDATED BY&MY FASHION SENSE./%%" - } - } - break - case 563: - global.msg[0] = "\E3SO^1, UM.../" - global.msg[1] = "\E3IF YOU'VE SEEN&EVERYTHING.../" - global.msg[2] = "\E2DO YOU WANT TO&START HANGING OUT?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the hangouts?)& & Yes No\C" - global.msg[5] = " " - if (global.flag[66] == 1) - { - global.msg[2] = "\E2DO YOU WANT TO&START THE DATE?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the date?)& & Yes No\C" - global.msg[5] = " " - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = "\E0OKAY!!^1!&DATING START!!!/%%" - if (global.flag[66] == 0) - global.msg[1] = "\E0OKAY!!^1!&LET'S HANG TEN!!/%%" - } - else - { - scr_papface(0, 2) - global.msg[1] = "\E2TAKE YOUR TIME..^1.&I'LL WAIT FOR&YOU./%%" - } - break - case 565: - global.msg[0] = "* (This mailbox is labelled& " + chr(34) + "PAPYRUS" + chr(34) + ".)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 566: - if (global.choice == 0) - global.msg[0] = "* (It's empty.)/%%" - else - global.msg[0] = "* (You realize that would& probably be illegal.)/%%" - break - case 567: - global.msg[0] = "* what^1?&* haven't you seen a guy& with two jobs before?/" - global.msg[1] = "\E1* fortunately^1, two jobs& means twice as many& legally-required breaks./" - global.msg[2] = "\E0* i'm going to grillby's.&* wanna come?& Yeah I'm busy \C" - global.msg[3] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - if (scr_murderlv() >= 7) - { - global.msg[0] = "\E2* hey^1, looks like you're& really turning yourself& around./" - global.msg[1] = "\E0* how about i treat you& to lunch at grillby's?/" - global.msg[2] = "\E1* ... when everyone you& scared away comes& back^1, i mean./%%" - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = "* well^1, if you insist..^1.&* i'll pry myself away& from my work.../%%" - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* OK^1. have fun./%%" - break - case 570: - global.msg[0] = "\E1* whoops^1, watch where& you sit down./" - global.msg[1] = "* sometimes weirdos put& whoopee cushions on& the seats./" - global.msg[2] = "\E0* anyway^1, let's order./" - global.msg[3] = "* whaddya want...?& & Fries Burger\C" - global.msg[4] = " " - break - case 571: - global.msg[0] = "* ok^1, coming right up./%%" - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& fries./%%" - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& burg./%%" - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = "* so^1, what do you& think.../" - global.msg[1] = "* of my brother?& & Cool Uncool\C" - global.msg[2] = " " - break - case 573: - if (global.choice == 0) - { - global.msg[0] = "* of course he's cool./" - global.msg[1] = "\E1* you'd be cool too& if you wore that& outfit every day./" - global.msg[2] = "\E0* he'd only take that& thing off if he& absolutely had to./" - global.msg[3] = "* oh well^1.&* at least he washes& it./" - global.msg[4] = "\E1* and by that i mean& he wears it in& the shower./%%" - } - else - { - global.msg[0] = "* hey^1, pal./" - global.msg[1] = "\E1* sarcasm isn't funny^1,& okay?/" - global.msg[2] = "\E0* my brother's a real& star./" - global.msg[3] = "* he's the person who& pushed me to get& this sentry job./" - global.msg[4] = "* maybe it's a little& strange^1, but& sometimes.../" - global.msg[5] = "* ... it's nice to have& someone call you out& on being lazy./" - global.msg[6] = "\E1* even though nothing& could be further& from the truth./%%" - } - break - case 574: - global.msg[0] = "* here comes the grub./" - global.msg[1] = "* want some ketchup^1?& & Yes No \C" - global.msg[2] = " " - break - case 575: - if (global.choice == 0) - global.msg[0] = "\E2* bone appetit./%%" - else - { - global.msg[0] = "\E2* more for me./%%" - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = "\W* have you ever heard& of a \Ytalking flower\W?& Yes No \C" - global.msg[1] = " " - break - case 577: - if (global.choice == 0) - global.msg[0] = "\E1* so you know all& about it./" - if (global.choice == 1) - global.msg[0] = "\E1* i'll tell you^1, then./" - global.msg[1] = "\W*\E0 the \Becho flower\W./" - global.msg[2] = "* they're all over the& marsh./" - global.msg[3] = "* say something to them^1,& and they'll repeat it& over and over.../" - global.msg[4] = "* what about it?/" - global.msg[5] = "* well^1, papyrus told& me something interesting& the other day./" - global.msg[6] = "* sometimes^1, when no& one else is around.../" - global.msg[7] = "* a flower appears and& whispers things to& him./" - global.msg[8] = "* flattery..^1.&* advice..^1.&* encouragement.../" - global.msg[9] = "* ... predictions./" - global.msg[10] = "* weird^1, huh?/" - global.msg[11] = "* someone must be using& an echo flower to& play a trick on him./" - global.msg[12] = "* keep an eye out^1, ok?/" - global.msg[13] = "* thanks./%%" - break - case 578: - global.msg[0] = "\E1* oh^1, by the way.../" - global.msg[1] = "\E0* i'm flat broke^1.&* can you foot the& bill?/" - global.msg[2] = "* it's just 10000G.& & Yes No \C" - global.msg[3] = " " - break - case 579: - global.msg[0] = " %%" - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = "* My mind is running wild^1!&* I haven't felt like this& in a long time.../%%" - if (global.flag[84] == 5) - global.msg[0] = "* Please leave./%%" - if (global.flag[84] < 2) - { - global.msg[0] = "* You..^1.&* You came from outside^1,& didn't you?/" - global.msg[1] = "* People like you are so& rare.../" - global.msg[2] = "* Please^1!* Stranger!/" - global.msg[3] = "* Tell me about outside...?& & Yes No\C" - global.msg[4] = " " - } - if (global.flag[84] == 2) - global.msg[0] = "* Well^1, what are you& waiting for?/%%" - if (global.flag[84] == 3) - { - global.msg[0] = "* Oh^1!&* You're back!/" - global.msg[1] = "* How's the room?& & Different Same\C" - global.msg[2] = " " - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = "* Huh^1?&* " + chr(34) + "SURFACE" + chr(34) + "^1?&* What do you mean?/" - global.msg[1] = "* I just meant outside this& room./" - global.msg[2] = "* If you haven't noticed^1, my& mycelium have bound me& to the ground./" - global.msg[3] = "* Please^1!&* Stranger!/" - global.msg[4] = "* I'll make this simple./" - global.msg[5] = "* I've spent my whole life& in the same spot^1,& in the same room./" - global.msg[6] = "* But I've long wondered& what lies inside the& room to the right./" - global.msg[7] = "* Long I've fantasized& about entering^1, and& changing my scenery.../" - global.msg[8] = "* No..^1.&* Changing my LIFE!/" - global.msg[9] = "* Please^1.&* Go and tell me what's& inside./%%" - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* Is everyone out there& like you^1?&* How terrible./%%" - } - else - { - if (global.choice == 0) - { - global.msg[0] = "* Oh^1, that's a relief^1!/" - global.msg[1] = "* That's all I need to& continue my fantasies^1.&* Thank you^1, stranger./%%" - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = "* So it's the same./" - global.msg[1] = "* The same.../" - global.msg[2] = "* Same.../" - global.msg[3] = "* .../" - global.msg[4] = "* OK./%%" - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = "* (Take an umbrella?)& & Take one Do not\C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (Return the umbrella?)& & Put back Do not\C" - global.msg[1] = " " - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You took an umbrella.)/%%" - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = " %%" - } - else if (global.choice == 0) - { - global.msg[0] = "* (You returned the umbrella.)/%%" - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 585: - global.msg[0] = "* (It's a statue^1.)&* (The structures at its& feet seem dry.)/%%" - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = "* (Put the umbrella on the& statue?)& Yes Do not\C" - global.msg[1] = " " - } - if (global.flag[86] == 1) - global.msg[0] = "* (The music continues^1, and& doesn't stop.)/%%" - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You place the umbrella& atop the statue.)/" - global.msg[1] = "* (Inside the statue^1, a music& box begins to play...)/%%" - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 587: - global.msg[0] = "* (It's a rusty old& fridge.)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 588: - if (global.choice == 0) - { - global.msg[0] = "* (You open the fridge.^1)&* (The air fills with a& rotten stench.)/" - global.msg[1] = "* (All the food inside here& spoiled long ago.)/%%" - } - else - global.msg[0] = " %%" - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = "* error/%%" - if (global.flag[108] > 2) - global.msg[0] = "* (The cooler is empty.)/%%" - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = "* (Take a space food bar& from the cooler?)& Yes No \C" - global.msg[1] = " " - } - if (global.flag[108] == 0) - { - global.msg[0] = "* (It's a cooler^1.&* It has no brand^1, and& shows no signs of wear...)/" - global.msg[1] = "* (Inside are a couple& of freeze-dried space& food bars.)/" - global.msg[2] = "* (Take one?)& & Yes No \C" - global.msg[3] = " " - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = "* (You got the Astronaut Food.)/%%" - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* %%" - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = "* (Seems like a regular& training dummy.)/" - global.msg[1] = "* (Do you want to beat it& up?)& Yes No \C" - global.msg[2] = " " - } - else - global.msg[0] = "* (You've had enough of& the dummy.)/%%" - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = "* (You tap the dummy with& your fist.)/" - global.msg[1] = "* (You feel bad.)/%%" - } - if (global.lv > 1) - { - global.msg[0] = "* (You hit the dummy& lightly.)/" - global.msg[1] = "* (You don't feel like& you learned anything.)/%%" - } - if (global.lv > 4) - { - global.msg[0] = "* (You sock the dummy.)/" - global.msg[1] = "* (Who cares?)/%%" - } - if (global.lv > 7) - { - global.msg[0] = "* (You punch the dummy at& full force.)/" - global.msg[1] = "* (Feels good.)/%%" - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = "* (You stare into each& other's eyes for a& moment...)/%%" - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = "* (It's a horse stable.)/" - global.msg[1] = "* (Do you want to go& inside?)& Yes No \C" - global.msg[2] = " " - break - case 594: - if (global.choice == 0) - { - global.msg[0] = "* (You jostle the door.)&* (It's locked.)/" - global.msg[1] = "* (Suddenly^1, from inside& the [redacted], you hear a&/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 1) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* (Spooktunes are dead.)/%%" - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 608: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 2) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 610: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 3) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 612: - global.msg[0] = "* (Look inside the fridge?)& & Open it No\C" - global.msg[1] = " " - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = "* (There's a lonely sandwich& inside.)/%%" - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = "* (It's empty.)/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 615: - global.msg[0] = "* this is a ghost sandwich.../" - global.msg[1] = "* do you want to try it...& & Yes No\C" - global.msg[2] = " " - break - case 616: - if (global.choice == 0) - { - global.msg[0] = "* (You attempt to bite& into the ghost sandwich.)/" - global.msg[1] = "* (You phase right through& it...)/" - global.msg[2] = "* oh.../" - global.msg[3] = "* nevermind.../%%" - } - if (global.choice == 1) - global.msg[0] = "* oh.....................& ....................& ................./%%" - break - case 617: - global.msg[0] = "* after a great meal i like& to lie on the ground and& feel like garbage.../" - global.msg[1] = "* it's a family tradition.../" - global.msg[2] = "* do you want..^1.&* ... to join me...& Yes No\C" - global.msg[3] = " " - break - case 618: - if (global.choice == 0) - global.msg[0] = "* okay..^1.&* follow my lead.../%%" - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = "* oh.....................& ....................& ................./%%" - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = "* do you want to play a game^1?&* it's called thundersnail./" - global.msg[1] = "* the snails will race^1, and if& the yellow snail wins^1, you& win./" - global.msg[2] = "* it's 10G to play.& & Play No\C" - global.msg[3] = " " - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = "* um..^1.&* you don't have any money?/" - global.msg[1] = "* n-no^1, you can still play^1,& don't worry about it.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = "* um..^1. that's less than 10G./" - global.msg[1] = "* but since you're my only& real customer^1, i guess i'll& just take what you have.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[1] = "* ready?/%%" - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* oh.........../%%" - break - case 621: - global.msg[0] = "* .../" - global.msg[1] = "* Seven./" - global.msg[2] = "* Seven human souls./" - global.msg[3] = "* With the power of seven& human souls^1, our king.../" - global.msg[4] = "\W* \YKing \RASGORE \YDreemurr\W.../" - global.msg[5] = "* ... will become a god./" - global.msg[6] = "\W* With that power^1, \RASGORE\W & can finally shatter the& barrier./" - global.msg[7] = "* He will finally take the& surface back from humanity.../" - global.msg[8] = "* And give them back the& suffering and pain that& we have endured./" - global.msg[9] = "* .../" - global.msg[10] = "* Understand^1, human?/" - global.msg[11] = "* This is your only chance& at redemption./" - global.msg[12] = "* Give up your soul.../" - global.msg[13] = "* Or I'll tear it from& your body./%%" - break - case 622: - if (global.choice == 0) - { - global.msg[0] = "* That spark in your eyes.../" - global.msg[1] = "* You're really eager to& die^1, aren't you?/%%" - } - if (global.choice == 1) - global.msg[0] = "* .../%%" - break - case 623: - global.msg[0] = "* Yo^1, I know I'm not supposed& to be here^1, but.../" - global.msg[1] = "* I wanna ask you something./" - global.msg[2] = "* .../" - global.msg[3] = "* Man^1, I've never had to ask& anyone this before.../" - global.msg[4] = "* Umm.../" - global.msg[5] = "* Yo..^1. You're human^1, right?&* Haha./" - global.msg[6] = "* Man^1! I knew it!/" - global.msg[7] = "* ... well^1, I know it now^1,& I mean.../" - global.msg[8] = "* Undyne told me^1, um^1, " + chr(34) + "stay& away from that human." + chr(34) + "/" - global.msg[9] = "* So^1, like^1, ummm.../" - global.msg[10] = "* I guess that makes us enemies& or something./" - global.msg[11] = "* But I kinda stink at that^1,& haha./" - global.msg[12] = "* Yo^1, say something mean so& I can hate you?/" - global.msg[13] = "* Please? & & Yes No \C" - global.msg[14] = " " - break - case 624: - if (global.choice == 0) - { - global.msg[0] = "* Huh...?/" - global.msg[1] = "* Yo^1, that's your idea of& something mean?/" - global.msg[2] = "* My sister says that to me& ALL THE TIME!/" - global.msg[3] = "* Guess I have to do it^1, haha./" - global.msg[4] = "* Yo^1, I..^1. I hate your guts./" - global.msg[5] = "* .../" - global.msg[6] = "* Man^1, I..^1. I'm such a turd./" - global.msg[7] = "* I'm..^1. I'm gonna go home& now./%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Yo^1, what^1?&* So I have to do it?/" - global.msg[1] = "* Here goes nothing.../" - global.msg[2] = "* Yo^1, I..^1. I hate your guts./" - global.msg[3] = "* .../" - global.msg[4] = "* Man^1, I..^1. I'm such a turd./" - global.msg[5] = "* I'm..^1. I'm gonna go home& now./%%" - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = "* (It's a water cooler.)&* (Take a cup of water?)& Yes No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There's no more water left& in the cooler.)/%%" - if instance_exists(obj_undynefall) - global.msg[0] = "* (Sadistically^1, you've poured& out all the water right in& front of Undyne's eyes.)/%%" - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = "* (You take a cup of water.)/%%" - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 627: - global.msg[0] = "* (Get rid of the water?)& & Yes No \C" - global.msg[1] = " " - break - case 628: - if (global.choice == 0) - { - global.msg[0] = "* (You pour the water on& the ground next to the& water cooler.)/%%" - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 629: - global.msg[0] = "* A rousing error./%%" - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = "* (Give Undyne the water?)& & Yes No \C" - global.msg[1] = " " - } - else - global.msg[0] = "* (She looks dry...)/%%" - } - break - case 630: - global.msg[0] = " %%" - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = "BEPIS." - armor2 = "BEPIS." - if (global.flag[75] == 4) - armor1 = "GROSS BANDAGE" - if (global.flag[75] == 12) - armor1 = "FADED RIBBON" - if (global.flag[75] == 15) - armor1 = "BANDANNA" - if (global.flag[75] == 24) - armor1 = "DUSTY TUTU" - if (global.flag[77] == 4) - armor2 = "GROSS BANDAGE" - if (global.flag[77] == 12) - armor2 = "FADED RIBBON" - if (global.flag[77] == 15) - armor2 = "BANDANNA" - if (global.flag[77] == 24) - armor2 = "DUSTY TUTU" - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "REMEMBER WHEN&I ASKED YOU&ABOUT CLOTHES?/" - global.msg[4] = "\E3WELL^1, THE FRIEND&WHO WANTED TO&KNOW.../" - global.msg[5] = "\E0HER OPINION OF&YOU IS VERY.../" - global.msg[6] = "\E3MURDERY./" - global.msg[7] = "\E0ERROR!!^1!&SEE YOU LATER!/%%" - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I TOLD HER WHAT&YOU TOLD ME&YOU WERE WEARING!/" - global.msg[10] = (("A " + armor1) + "!/") - global.msg[11] = "BECAUSE I KNEW^1,&OF COURSE.../" - global.msg[12] = "\E3AFTER SUCH A&SUSPICIOUS&QUESTION.../" - global.msg[13] = "\E0YOU WOULD&OBVIOUSLY CHANGE&YOUR CLOTHES!/" - global.msg[14] = "YOU'RE SUCH A&SMART COOKIE!/" - global.msg[15] = "THIS WAY YOU'RE&SAFE AND I&DIDN'T LIE!!!/" - global.msg[16] = "NO BETRAYAL&ANYWHERE!!!/" - global.msg[17] = "BEING FRIENDS&WITH EVERYONE&IS EASY!!!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = "\E3I AM NOT A&CRUEL PERSON./" - global.msg[10] = "\E0I STRIVE TO BE&COMFORTING AND&PLEASANT./" - global.msg[11] = "PAPYRUS!&HE SMELLS LIKE&THE MOON./" - global.msg[12] = "SO, BECAUSE OF&MY INHERENT&GOODNESS.../" - global.msg[13] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[14] = "\E3EVEN THOUGH YOU&TOLD ME YOU&WERE!/" - global.msg[15] = "INSTEAD^1, I MADE&SOMETHING UP!/" - global.msg[16] = "I TOLD HER YOU&WERE WEARING.../" - global.msg[17] = (("\E0A " + armor2) + "./") - global.msg[18] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[19] = (("I KNOW YOU WOULD&NEVER EVER WEAR&A " + armor2) + "./") - global.msg[20] = "\E0BUT YOUR SAFETY&IS MORE IMPORTANT&THAN FASHION./" - global.msg[21] = "\E3DANG!/" - global.msg[22] = "I JUST WANT TO&BE FRIENDS WITH&EVERYONE.../" - global.msg[23] = "\TS \F0 \T0 %" - global.msg[24] = "* Click.../%%" - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "\E3PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = (("\WY\E0OU SAID YOU WERE\Y &NOT WEARING A&" + armor1) + "\W./") - global.msg[10] = "\E3SO OF COURSE&I ACTUALLY&TOLD HER.../" - global.msg[11] = (("\E0YOU WERE&INDEED WEARING&A " + armor1) + "!/") - global.msg[12] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[13] = (("BUT SINCE YOU&AREN'T WEARING&A " + armor1) + "./") - global.msg[14] = "\E0SHE SURELY&WON'T ATTACK&YOU!/" - global.msg[15] = "NOW YOU ARE&SAFE AND SOUND./" - global.msg[16] = "\E2WOWIE..^1.&THIS IS HARD./" - global.msg[17] = "I JUST WANT TO&BE EVERYBODY'S&FRIEND!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I KNEW WHEN&YOU SAID:/" - global.msg[10] = (('\E3"I AM NOT&WEARING A&' + armor1) + '."/') - global.msg[11] = "\E0IT WAS REALLY&A SECRET CODE!/" - global.msg[12] = "\E3YOU REALLY&MEANT.../" - global.msg[13] = (('\E0"I ACTUALLY AM&WEARING&A ' + armor1) + '!"/') - global.msg[14] = "YOU WERE TRYING&TO PROTECT&YOURSELF.../" - global.msg[15] = "WHILE MAKING IT&SO I DIDN'T&HAVE TO LIE!/" - global.msg[16] = "I PICKED UP ON&THIS, AND FOLLOWED&YOUR PLAN./" - global.msg[17] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[18] = "IN FACT I TOOK&IT ONE STEP&FURTHER!/" - global.msg[19] = "\E3I TOLD HER YOU&WERE PROBABLY.../" - global.msg[20] = (("\E0WEARING A&" + armor2) + "!/") - global.msg[21] = "\E3OF COURSE, YOU&WOULD NEVER&WEAR THAT./" - global.msg[22] = "\E0BUT THAT'S THE&POINT!/" - global.msg[23] = "SHE WON'T&RECOGNIZE YOU&NOW!/" - global.msg[24] = "AND I DIDN'T&HAVE TO BETRAY&EITHER OF YOU!/" - global.msg[25] = "SINCE I JUST&TOLD HER WHAT&YOU SAID!/" - global.msg[26] = "WOWIE^1!&YOU'RE SUCH A&SMART COOKIE!/" - global.msg[27] = "I REALLY CAN&BE FRIENDS WITH&EVERYONE!!!/" - global.msg[28] = "\TS \F0 \T0 %" - global.msg[29] = "* Click.../%%" - } - } - break - case 633: - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HEY^1!&WHAT'S UP!?/" - global.msg[3] = "I WAS JUST&THINKING.../" - global.msg[4] = "YOU^1, ME^1, AND&UNDYNE SHOULD ALL&HANG OUT SOMETIME!/" - global.msg[5] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE&LATER!/" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - if (global.flag[88] < 3) - { - global.msg[5] = "AFTER YOU HANG&OUT WITH ME.../" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE!/" - global.msg[7] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - } - break - case 635: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 636: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 637: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 638: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 639: - global.msg[0] = "* (It's a book labelled& Monster History Part 7.)& Read it Do not\C" - global.msg[1] = " " - break - case 640: - global.msg[0] = "* When a human dies^1, its& soul remains stable& outside the body./" - global.msg[1] = "* Meanwhile^1, a monster's soul& disappears near-instantly& upon death./" - global.msg[2] = "* This allows monsters to& absorb the souls of& humans.../" - global.msg[3] = "* While it is extremely& difficult for humans to& absorb a monster's soul./" - global.msg[4] = "* This is why they feared us./" - global.msg[5] = "* Though monsters are weak^1,& with enough human souls.../" - global.msg[6] = "* They could easily destroy& all of mankind./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 641: - global.msg[0] = "* (It's a book labelled& Monster History Part 8.)& Read it Do not\C" - global.msg[1] = " " - break - case 642: - global.msg[0] = "* There is one exception& to the aforementioned& rules:/" - global.msg[1] = "* A certain type of monster^1,& the " + chr(34) + "boss" + chr(34) + " monster./" - global.msg[2] = "* Due to its life cycle^1, it& possesses an incredibly& strong soul for a monster./" - global.msg[3] = "* This soul can remain& stable after death^1, if& only for a few moments./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 643: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 644: - global.msg[0] = "* (You look inside a book.)/" - global.msg[1] = "* (It's a comic of a giant& robot fighting a beautiful& alien princess.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 645: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 646: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (Two scantily-clad chefs are& flinging energy pancakes& at each other.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 647: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 648: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (A hideous android is running& to school with toast in& its mouth.)/" - global.msg[2] = "* (Seems like it's late.)/" - global.msg[3] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 660: - global.msg[0] = "* (There's a piano here.^1)&* (Play it?)& Yes No\C" - global.msg[1] = " " - break - case 661: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = "See that heart^1? &That is your SOUL^1,&the very culmination&of your being!/" - global.msg[1] = "Your SOUL starts off&weak^1, but can grow&strong if you gain&a lot of LV./" - global.msg[2] = "What's LV stand for^1?&Why^1, LOVE^1, of course!/" - global.msg[3] = "You want some&LOVE, don't you?/" - global.msg[4] = "Don't worry,&I'll share some&with you!/%" - break - case 667: - global.msg[0] = "Down here^1, LOVE is&shared through..^1./" - global.msg[1] = "Little white..^2.\E1 &" + chr(34) + "friendliness&pellets." + chr(34) + "/" - global.msg[2] = "\E2Are you ready\E0?/%" - break - case 668: - global.msg[0] = "Move around^1!&Get as many as&you can^2!%%%" - global.msg[1] = "%%%" - break - case 669: - global.msg[0] = "You idiot./" - global.msg[1] = "In this world^1, it's&kill or BE killed./" - global.msg[2] = "Why would ANYONE pass&up an opportunity&like this!?/%" - break - case 670: - global.msg[0] = "Die./%" - break - case 671: - global.msg[0] = "Hey buddy^1,&you missed them./" - global.msg[1] = "Let's try again^1,&okay?/%" - break - case 672: - global.msg[0] = "Is this a joke^2?&Are you braindead^2?&RUN^2. INTO^2. THE^2.&BULLETS!!!" - break - case 673: - global.msg[0] = "You know what's&going on here^1,&don't you?/" - global.msg[1] = "You just wanted to&see me suffer./%" - break - case 674: - global.msg[0] = "\E1What a terrible&creature^1, torturing&such a poor^1,&innocent youth.../" - global.msg[1] = "\E2Ah, do not be&afraid^1, my child./" - global.msg[2] = "\XI am \BTORIEL\X,&caretaker of&the \RRUINS\X./" - global.msg[3] = "I pass through this&place every day to&see if anyone has&fallen down./" - global.msg[4] = "You are the first&human to come here&in a long time./" - global.msg[5] = "I will do my best&to ensure your&protection during&your time here./%%" - global.msg[5] = "\E2Come^2!&I will guide you&through the&catacombs./%%" - global.msg[6] = "%%%" - break - case 680: - global.msg[0] = "* Three gold for the ferry.& & Yes No\C" - global.msg[1] = " " - break - case 681: - global.msg[0] = "* Later^1, then./%%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = "* Hop on!/%%" - } - break - case 682: - global.msg[0] = "* (It's a switch.)& & Press it Don't\C" - global.msg[1] = " " - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were deactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were reactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "\E1* Um.../" - global.msg[3] = "\E0* I noticed you've been& kind of quiet.../" - global.msg[4] = "\W*\E8 Are you w-worried& about meeting \RASGORE\W...?/" - global.msg[5] = "\E2* .../" - global.msg[6] = "\E0* W-well^1, don't worry^1,& okay?/" - global.msg[7] = "\E7* Th-the king is a& really nice guy.../" - global.msg[8] = "\E0* I'm sure you can& talk to him^1, and.../" - global.msg[9] = "* W-with your human& soul^1, you can pass& through the barrier!/" - global.msg[10] = "* S-so no worrying^1, OK^1?&* J-just forget about it& and smile./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* Click.../%%" - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = "* hey buddy^1, what's up^1?&* wanna buy a hot dog?/" - global.msg[1] = "* it's only 30G.& & Yes No \C" - global.msg[2] = " " - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = "* here^1.&* have fun./%%" - if (global.flag[380] == 1) - { - global.msg[0] = "* here's another hot& dog./" - global.msg[1] = "* it's on the house^1.&* well^1, no^1.&* it's on you./%%" - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = "* sorry^1, thirty is& the limit on& head-dogs./%%" - if (global.flag[381] == 0) - { - global.msg[0] = "\TS*^1 \Tsi'll be 'frank' with& you./" - global.msg[1] = "* as much as i like& putting hot dogs& on your head.../" - global.msg[2] = "* thirty is just& an excessive number./" - global.msg[3] = "* twenty-nine^1, now& that's fine^1, but& thirty.../" - global.msg[4] = "* does it look like& my arms can reach& that high?/%%" - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = "* thanks, kid^1.&* here's your hot dog./%%" - if (global.flag[379] == 0) - { - global.msg[0] = "* thanks, kid^1.&* here's your 'dog./" - global.msg[1] = "* yeah^1. 'dog^1.&* apostrophe-dog^1.&* it's short for hot-dog./%%" - } - if (global.flag[379] == 1) - { - global.msg[0] = "* another h'dog^1?&* here you go.../" - global.msg[1] = "* whoops^1, i'm actually& out of hot dogs./" - global.msg[2] = "* here^1, you can have& a hot cat instead./%%" - } - if (global.flag[379] == 2) - { - global.msg[0] = "* another dog^1, coming& right up.../" - global.msg[1] = "* ... you really like& hot animals^1, don't& you?/" - global.msg[2] = "* hey^1, i'm not judging./" - global.msg[3] = "* i'd be out of a job& without folks like you./%%" - } - if (global.flag[379] == 3) - { - global.msg[0] = "* cool^1.&* here's that ''dog./" - global.msg[1] = "* apostrophe-apostrophe& dog./" - global.msg[2] = "* it's short for& apostrophe-dog./" - global.msg[3] = "* which is^1, in turn^1,& short for.../%%" - } - if (global.flag[379] == 4) - { - global.msg[0] = "* another one^1?&* okay./" - global.msg[1] = "* careful^1.&* if you eat& too many hot dogs.../" - global.msg[2] = "* you'll probably get& huge like me./" - global.msg[3] = "* huge as in super-& popular^1, i mean./" - global.msg[4] = "* i'm practically& a hot-dog tycoon now./%%" - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = "* whoops^1, you don't have& enough cash./" - global.msg[1] = "* you should get a job^1.&* i've heard being a& sentry pays well./%%" - } - } - if (noroom == 1) - { - global.msg[0] = "* you're holding too much^1.&* ... guess i'll just put& it on your head./%%" - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* yeah^1, you've gotta& save your money for& college and spiders./%%" - break - case 690: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* L-looks like you& beat him!/" - global.msg[3] = "\E0* Y-you did a really& great job out there./" - global.msg[4] = " & All thanks& to you ... \C" - global.msg[5] = " " - break - case 691: - if (global.choice == 0) - { - global.msg[0] = "\E3* What^1?&* Oh no^1, I mean.../" - global.msg[1] = "\E4* You were the one& doing everything cool!/" - global.msg[2] = "\E0* I just wrote some& silly programs for& your phone./" - } - if (global.choice == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E2* .../" - global.msg[2] = "\E1* .../" - } - global.msg[3] = "\E2* .../" - global.msg[4] = "\E4* ... umm^1, h-hey^1, this& might sound strange^1,& but.../" - global.msg[5] = "\E6* ... c-can I tell& you something?/" - global.msg[6] = "\E9* .../" - global.msg[7] = "\E4* B-before I met you^1,& I d-didn't really.../" - global.msg[8] = "\E9* I didn't really& like myself very& much./" - global.msg[9] = "* For a long time^1,& I f-felt like a& total screw-up./" - global.msg[10] = "\E9* L-like I couldn't& do a-anything& w-without.../" - global.msg[11] = "\E9* W-without ending up& letting everyone& down./" - global.msg[12] = "\E3* B-but...!/" - global.msg[13] = "\E4* Guiding you has& made me feel.../" - global.msg[14] = "\E9* A lot better about& myself./" - global.msg[15] = "\E0* So... thanks for& letting me help& you./" - global.msg[16] = "\E9* .../" - global.msg[17] = "\E4* Uhhh^1, anyway^1, we're& almost to the CORE./" - global.msg[18] = "\E0* It's just past& MTT Resort./" - global.msg[19] = "\E6* Come on^1!&* Let's finish this!/%%" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* Click.../%%" - break - case 692: - global.msg[0] = "\E0EUREKA!!!/" - global.msg[1] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[2] = "\E3YOU SEEM LIKE&YOU'RE HAVING&FUN^1, THOUGH.../" - global.msg[3] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[6] = " " - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 694: - global.msg[0] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[1] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[4] = " " - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 696: - global.msg[0] = "* (There's a switch on the& trunk of this tree.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - break - case 697: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = "OHO^1!&THE HUMAN ARRIVES!/" - global.msg[1] = "ARE YOU READY TO&HANG OUT WITH&UNDYNE?/" - global.msg[2] = "I HAVE A PLAN&TO MAKE YOU TWO&GREAT FRIENDS!/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Will you hang out?)& & Yes No\C" - global.msg[5] = " " - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = "HMMM..^1.&STILL GETTING&READY?/" - global.msg[2] = "\E0TAKE YOUR TIME!/%%" - } - break - case 700: - global.msg[0] = "OKAY^1!&ALL READIED-UP&TO HANG OUT!?/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* (Will you hang out?)& & Yes No\C" - global.msg[3] = " " - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 703: - global.msg[0] = "\E4* .../" - global.msg[1] = "\E5* So why are YOU& here?/" - global.msg[2] = "\E4* To rub your victory& in my face?/" - global.msg[3] = "\E4* To humiliate me& even further?/" - global.msg[4] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[5] = " " - break - case 704: - if (global.choice == 0) - { - global.msg[0] = "\E2* Oh-ho-ho-ho./" - global.msg[1] = "\E1* Well^1, I've got news& for you^1, BRAT./" - global.msg[2] = "\E2* You're on MY& battlefield now./" - global.msg[3] = "\E3* And you AREN'T& going to& humiliate me./" - global.msg[4] = "\E3* I'll TELL you& what's going to& happen./" - global.msg[5] = "\E0* We're going to& hang out./" - global.msg[6] = "\E2* We're going to& have a good& time./" - global.msg[7] = "\M1* We're going to& become " + chr(34) + "friends." + chr(34) + "/" - global.msg[8] = "\E3* You'll become so& enamored with me.../" - global.msg[9] = "\E1* YOU'LL be the one& feeling humiliated& for your actions!/" - global.msg[10] = "\E6* Fuhuhuhuhu!!/" - global.msg[11] = "\M2* It's the perfect& revenge!!!/" - global.msg[12] = "\E1* Err.../" - global.msg[13] = "\E9* Why don't you& have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\E4* Then why are you& here?/" - global.msg[1] = "\E1* ...!/" - global.msg[2] = "\E2* Wait^1, I get it./" - global.msg[3] = "\E3* You think that I'm& gonna be friends& with you^1, huh?/" - global.msg[4] = "* Right???& NEVER & Yes with you\C" - global.msg[5] = " " - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = "\E6* Really^1?&* How delightful!^1!&* I accept!/" - global.msg[1] = "* Let's all frolick& in the fields& of friendship!/" - global.msg[2] = "\E2* ...NOT!/" - global.msg[3] = "\E2* Why would I EVER& be friends with& YOU!?/" - global.msg[4] = "\E3* If you weren't my& houseguest^1, I'd beat& you up right now!/" - global.msg[5] = "\E0* You're the enemy& of everyone's hopes& and dreams!/" - global.msg[6] = "\E1* I WILL NEVER& BE YOUR FRIEND./" - global.msg[7] = "\E3* Now get out of& my house!/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = "\E1* WHAT?/" - global.msg[1] = "\E4* First you parade& into my house^1,& then you INSULT me?/" - global.msg[2] = "\E2* You little BRAT^1!&* I have half a& mind to.../" - global.msg[3] = "\E1* .../" - global.msg[4] = "\E3* Wait./" - global.msg[5] = "\E2* I'll prove you& WRONG./" - global.msg[6] = "\E3* We ARE going to& be friends./" - global.msg[7] = "\E1* In fact.../" - global.msg[8] = "\E3* We./" - global.msg[9] = "\M1* Are going to be& BESTIES./" - global.msg[10] = "* I'll make you like& me so much.../" - global.msg[11] = "\E1* Your WHOLE LIFE& will revolve around& me!!/" - global.msg[12] = "\M2* It's the perfect& revenge!!!/" - global.msg[13] = "\E6* FUHUHUHUHU!!!/" - global.msg[14] = "\E1* Err.../" - global.msg[15] = "\E9* Now^1, why don't& you have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = "* (Sit down and progress?)& & Yes No\C" - global.msg[1] = " " - break - case 707: - global.msg[0] = " %%" - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = " %%" - global.msg[1] = " %%" - } - break - case 708: - global.msg[0] = "* That sugar's for& the tea./" - global.msg[1] = "\E2* I'm not gonna give& you a cup of& sugar!/" - global.msg[2] = "\E6* What do I look& like^1, the ice-cream& woman?/" - global.msg[3] = "\E2* Do human ice-cream& women TERRORIZE HUMANITY& with ENERGY SPEARS?/" - global.msg[4] = "\E3* Are their ice-cream& songs a PRELUDE TO& DESTRUCTION?/" - global.msg[5] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[6] = " " - break - case 709: - if (global.choice == 0) - { - global.msg[0] = "\E1* ... what^1?&* REALLY?/" - global.msg[1] = "\E6* That rules!!!/%%" - } - if (global.choice == 1) - global.msg[0] = "\E3* That's what I& thought./%%" - break - case 710: - global.msg[0] = "* Envision these& vegetables as your& greatest enemy!/" - global.msg[1] = "\E2* Now!^1!&* Pound them to dust& with your fists!!/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (How will you pound?)& & Strong Wimpy\C" - global.msg[4] = " " - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = "* (You punch the vegetables& at full force^1.&* You knock over a tomato.)/" - scr_undface(1, 6) - global.msg[2] = "* YEAH^1!&* YEAH!/" - global.msg[3] = "\E1* Our hearts are& uniting against these& healthy ingredients!/" - global.msg[4] = "\M2* NOW IT'S MY TURN!/" - global.msg[5] = "* NGAHHH!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = "* (You pet the vegetables& in an affectionate& manner.)/" - scr_undface(1, 1) - global.msg[2] = "* OH MY GOD!!^1!&* STOP PETTING THE& ENEMY!!!/" - global.msg[3] = "\M2* I'll show you& how it's done!/" - global.msg[4] = "* NGAHHH!/%%" - } - break - case 712: - global.msg[0] = "* ... we add the& noodles!/" - global.msg[1] = "\E0* Homemade noodles& are the best!/" - global.msg[2] = "\E6* BUT I JUST BUY& STORE-BRAND!/" - global.msg[3] = "\M2* THEY'RE THE& CHEAPEST!!!/" - global.msg[4] = "\E1* NGAHHHHHHHHH& HHHHHHHHHH!!!/" - global.msg[5] = "\E9* Uhh^1, just put them& in the pot./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "\M0* (How will you put them in?)& & Fiercely Careful\C" - global.msg[8] = " " - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = "* (You throw everything into& the pot as hard as you can^1,& including the box.)/" - global.msg[1] = "* (It clanks against the& empty bottom.)/" - scr_undface(2, 6) - global.msg[3] = "\M2* YEAH!!^1!&* I'M INTO IT!!!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = "* (You place the noodles& in one at a time.)/" - global.msg[1] = "* (They clank against the& empty bottom.)/" - scr_undface(2, 9) - global.msg[3] = "* Nice???/%%" - } - break - case 714: - global.msg[0] = "\E0* Humans suck^1, but& their history..^1.&* Kinda rules./" - global.msg[1] = "\E2* Case in point^1:&* This giant sword!/" - global.msg[2] = "\E0* Historically^1, humans& wielded swords up& to 10x their size./" - global.msg[3] = "\E1* RIGHT?& & True False\C" - global.msg[4] = " " - break - case 715: - if (global.choice == 0) - { - global.msg[0] = "\E6* Heh^1, I knew it!/" - global.msg[1] = "\E2* When I first heard& that^1, I immediately& wanted one!/" - global.msg[2] = "\E0* So me and Alphys& built a giant& sword together./" - global.msg[3] = "\E0* She figured out all& the specs herself.../" - global.msg[4] = "\E6* She's smart^1, huh!?/%%" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* Pfft^1!&* You liar!/" - global.msg[1] = "\E3* I've READ Alphys's& human history book& collection!/" - global.msg[2] = "\E3* I know all about& your giant swords.../" - global.msg[3] = "\E3* Your colossal^1,& alien-fighting& robots.../" - global.msg[4] = "* Your supernatural& princesses.../" - global.msg[5] = "\E6* Heh^1! There's no& way you're gonna& fool me!!!/%%" - } - break - case 716: - global.msg[0] = "* (Look inside the bone drawer?)& & Yes No\C" - global.msg[1] = " " - break - case 717: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = "\M5* WHAT A SENSATIONAL OPPORTUNITY& FOR A STORY!/" - global.msg[1] = "\M3* I CAN SEE THE HEADLINE NOW:/" - global.msg[2] = "\M4* " + chr(34) + "A DOG EXISTS SOMEWHERE." + chr(34) + "/" - global.msg[3] = "\M2* FRANKLY^1, I'M BLOWN AWAY./" - global.msg[4] = "* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 721: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 722: - global.msg[0] = "\M5* THIS DOG..^1.&* STILL EXISTS!/" - global.msg[1] = "* THIS STORY..^1.&* JUST KEEPS GETTING& BETTER AND BETTER!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 723: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 724: - global.msg[0] = "\M5* OH MY!!!!/" - global.msg[1] = "\M2* ... IT'S A COMPLETELY& NONDESCRIPT GLASS OF WATER./" - global.msg[2] = "\M4* BUT ANYTHING CAN MAKE& A GREAT STORY WITH ENOUGH& SPIN!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 725: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 726: - global.msg[0] = "\M3* I'M HONORED TO BE IN THE& PRESENCE OF SUCH A HUGE& LUKEWARM WATER FAN^1, FOLKS!/" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 727: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 728: - global.msg[0] = "\M5* OH NO!!^1!&* THAT MOVIE SCRIPT!!^1!&* HOW'D??^1? THAT GET THERE???/" - global.msg[1] = "\M4* IT'S A SUPER-JUICY SNEAK& PREVIEW OF MY LATEST& GUARANTEED-NOT-TO-BOMB FILM:/" - global.msg[2] = "\M6* METTATON THE MOVIE XXVIII..^1.& STARRING METTATON!/" - global.msg[3] = "\M1* I'VE HEARD THAT LIKE THE& OTHER FILMS.../" - global.msg[4] = "\M1* IT CONSISTS MOSTLY OF A SINGLE& FOUR-HOUR SHOT OF ROSE PETALS& SHOWERING ON MY RECLINING BODY./" - global.msg[5] = "\M5* OOH!!^1!&* BUT THAT'S!!^1!&* NOT CONFIRMED!!/" - global.msg[6] = "\M5* YOU WOULDN'T (COUGH) SPOIL MY& MOVIE FOR EVERYONE WITH A& PROMOTIONAL STORY^1, WOULD YOU?/" - global.msg[7] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[8] = " " - break - case 729: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\M5* PHEW!!^1! THAT WAS CLOSE!^1!&* YOU ALMOST GAVE ME A BUNCH& OF FREE ADVERTISEMENT!!/%%" - global.msg[1] = "\M2 %%" - } - break - case 730: - global.msg[0] = "\M3* OH^1!&* YOU'RE BACK!/" - global.msg[1] = "\M6* THAT'S RIGHT^1, FOLKS^1!&* IT SEEMS NO ONE CAN RESIST& THE ALLURE OF MY NEW FILM!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 731: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 732: - global.msg[0] = "\M4* BASKETBALL'S A BLAST^1, ISN'T IT^1,& DARLING?/" - global.msg[1] = "\M1* TOO BAD YOU CAN'T PLAY WITH& THESE BALLS./" - global.msg[2] = "\M4* THEY'RE MTT-BRAND FASHION& BASKETBALLS^1.&* FOR WEARING^1, NOT PLAYING./" - global.msg[3] = "\M6* YOU CAN'T GET RICH AND FAMOUS& LIKE MOI WITHOUT BEAUTIFYING& A FEW ORBS./" - global.msg[4] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 733: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 734: - global.msg[0] = "* IT SEEMS OUR REPORTER IS DRAWN& TO SPORTS LIKE MOTHS TO A& FLAMING BASKETBALL HOOP./" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 735: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 736: - global.msg[0] = "\M5* OH MY^1! IT'S A PRESENT^1!&* AND IT'S ADDRESSED TO YOU^1,& DARLING!/" - global.msg[1] = "\M6* AREN'T YOU JUST BURSTING& WITH EXCITEMENT?/" - global.msg[2] = "\M5* WHAT COULD BE INSIDE^1?&* WELL^1, NO TIME LIKE THE& " + chr(34) + "PRESENT" + chr(34) + " TO FIND OUT!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 737: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 738: - global.msg[0] = "\M4* READY FOR YOUR..^1.&* PRESENTATION?/" - global.msg[1] = "\M4* (... LET'S CUT THAT ONE IN& POST.)/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 739: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 740: - global.msg[0] = "\M5* OOH LA LA^1!&* THIS VIDEO GAME YOU FOUND..^1.&* IS DYNAMITE!!!/" - global.msg[1] = "\M4* THOUGH I DON'T MAKE AN& APPEARANCE IN IT UNTIL& THREE-FOURTHS IN./" - global.msg[2] = "\M3* BUT I LIKE THAT./" - global.msg[3] = "\M6* APPEARING FROM THE HEAVENS LIKE& MANNA^1, SLAKING THE AUDIENCE'S& HUNGER FOR GORGEOUS ROBOTS.../" - global.msg[4] = "\M5* OOH^1!&* THAT'S METTATON!/" - global.msg[5] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[6] = " " - break - case 741: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 742: - global.msg[0] = "* AH^1, YOU UNDERSTAND./" - global.msg[1] = "* THIS IS A GAME WHERE YOU& SHOULD CHECK EVERYTHING& TWICE./" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 743: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Cider for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Donut for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 748: - global.msg[0] = "* Ribbit^1, ribbit.&* (I have heard you are quite& merciful^1, for a human...)/" - global.msg[1] = "\W* (Surely you know by now a& monster wears a \YYELLOW\W name& when you can \YSPARE\W it.)/" - global.msg[2] = "* (What do you think of that?)& Very It's& Helpful Bad\C" - global.msg[3] = " " - break - case 749: - if (global.choice == 0) - { - global.msg[0] = "* (It is rather helpful.^1)&* (Remember^1, sparing is just& saying you won't fight.)/" - global.msg[1] = "* (Maybe one day^1, you'll& have to do it even if& their name isn't yellow.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Really^1? Then^1, I'll tell all& of my friends to tell& their friends' friends...)/" - global.msg[1] = "* (Never use yellow names.)&* (How about that?)/" - global.msg[2] = " Keep No more& Yellow Yellow& Names Names\C" - global.msg[3] = " " - } - break - case 750: - if (global.choice == 0) - global.msg[0] = "* (OK^1, they will still& use yellow names.)/%%" - if (global.choice == 1) - { - global.msg[0] = "* (OK^1, I will let them& know not to use yellow& names.)/%%" - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = "* Ribbit^1, ribbit^1.&* (How are you doing without& yellow names?)/" - global.msg[1] = " Bring & It's Them& great Back\C" - global.msg[2] = " " - break - case 752: - if (global.choice == 0) - { - global.msg[0] = "* (Glad to hear it.^1)&* (Though^1, I do not know why& you dislike yellow.)/" - global.msg[1] = "* (You had better hope you do& not encounter a banana-themed& monster.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Huh^1? It's rather inconvenient& that you changed your mind& like this.)/" - global.msg[1] = "* (Since I told everyone& not to use yellow names^1,& everyone threw theirs out.)/" - global.msg[2] = "* (This is really troubling...^1)&* (Hmmm...)/" - global.msg[2] = "\W* (Well^1, last year it was& fashionable to have \ppink\W & names.)/" - global.msg[3] = "* (I think everyone still& has those in their closets& somewhere...)/" - global.msg[4] = "* (I'll ask everyone to look.^1)&* (But this is the last time!)/%%" - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = "* Ribbit^1, ribbit...&* (I hope you're satisfied.)/%%" - break - case 754: - global.msg[0] = "* \YNAPSTABLOOK22 has sent you& a friend request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 755: - global.flag[409] = 1 - global.msg[0] = "* (It seems to have already& rejected itself...)/%%" - break - case 756: - global.msg[0] = "* \YMETTATON has sent you a& Mortal Enemy request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 757: - if (global.choice == 0) - { - global.msg[0] = "* Congratulations^1!&* You are now Mortal Enemies& with Mettaton./" - global.msg[1] = "* \YCOOLSKELETON95\W has posted& a comment on this change./" - global.msg[2] = "* CONGRATULATIONS^1, YOU TWO^1!&* WISH YOU A LONG AND& HORRIBLE RIVALRY./%%" - } - if (global.choice == 1) - global.msg[0] = "* You rejected the request./%%" - break - case 758: - global.msg[0] = "* \YMETTATON has sent you an& invitation to " + chr(34) + "Die." + chr(34) + "\W /" - global.msg[1] = "* RSVP?& & Respond Ignore\C" - global.msg[2] = " " - break - case 759: - if (global.choice == 0) - global.msg[0] = "* Bepis valley Granola Bars/%%" - if (global.choice == 1) - global.msg[0] = "* Bepis valley Granola Bars/%%" - break - case 760: - global.msg[0] = "* hey^1.&* i heard you're going& to the core./" - global.msg[1] = "\E0* how about grabbing some& dinner with me first?& Yeah I'm busy \C" - global.msg[2] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - break - case 761: - if (global.choice == 0) - { - global.msg[0] = "* great^1, thanks for& treating me./%%" - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* well^1, have fun in& there./%%" - break - case 762: - global.msg[0] = "* This is the barrier./" - global.msg[1] = "* This is what keeps& us all trapped& underground./" - global.msg[2] = "* .../" - global.msg[3] = "* If.../" - global.msg[4] = "* If by chance you& have any unfinished& business.../" - global.msg[5] = "* Please do what you& must./" - global.msg[6] = " & & Continue Go Back\C" - global.msg[7] = " " - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Anything you want to& do is important& enough./" - global.msg[2] = "* Even something as small& as reading a book^1,& or taking a walk.../" - global.msg[3] = "* Please take your time./%%" - } - break - case 764: - global.msg[0] = "* Oh..^1.&* Back so soon?/" - global.msg[1] = "* How are you feeling?/" - global.msg[2] = " & & Ready Go Back\C" - global.msg[3] = " " - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Do what you have to./%%" - } - break - case 770: - global.msg[0] = "* Tra la la^1.&* I am the riverman./" - global.msg[1] = "* Or am I the riverwoman...^1?&* It doesn't really matter./" - global.msg[2] = "* I love to ride in my boat^1.&* Would you care to join me?/" - global.msg[3] = "* (Ride in the boat?)& & Yes No\C" - global.msg[4] = " " - if (global.flag[460] > 0) - { - global.msg[0] = "* Tra la la^1.&* Care for a ride?/" - global.msg[1] = "* (Ride in the boat?)& & Yes No\C" - global.msg[2] = " " - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = "* Where will we go today?& & Error Error\C" - if (room == room_fire_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Waterfall\C" - if (room == room_water_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Hotland\C" - if (room == room_tundra_dock) - global.msg[0] = "* Where will we go today?& & Waterfall Hotland\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* Then perhaps another time^1.&* Or perhaps not^1.&* It doesn't really matter./%%" - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = "* Then we're off.../%%" - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = "* (There's a switch on the& wall.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = "* (The switch doesn't do& anything.)/%%" - break - case 781: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = "* (Seems like a comfortable& bed.)/" - global.msg[1] = "* (Lie on it?)& & Yes No\C" - global.msg[2] = " " - break - case 783: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = "* (It's just a regular suspicious& bed now.)/%%" - if (global.flag[484] == 1) - { - global.msg[0] = "* (It's a yellow key.^1)&* (You put it on your& keychain.)/%%" - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = "* (There's something under& the sheets.)/" - global.msg[1] = "* (Check it out?)& & Yes No\C" - global.msg[2] = " " - } - break - case 785: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = "* (The power has been turned& on.)/%%" - if (global.flag[491] == 0) - { - global.msg[0] = "* (It seems like this controls& the elevator's power.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - break - case 787: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = (("\E7* I always was a crybaby^1,& wasn't I^1, " + global.charname) + "?/") - global.msg[1] = "\E1* .../" - global.msg[2] = "\E2* ... I know./" - global.msg[3] = (("\E0* You're not actually& " + global.charname) + ", are you?/") - global.msg[4] = (("\E7* " + global.charname) + "'s been gone for& a long time./") - global.msg[5] = "* .../" - global.msg[6] = "\E9* Um..^1. what.../" - global.msg[7] = "\E0* What IS your name?/" - global.msg[8] = "\E2* .../" - global.msg[9] = "\E5* " + chr(34) + "Frisk?" + chr(34) + "/" - global.msg[10] = "\E7* That's.../" - global.msg[11] = "\E5* A nice name./" - global.msg[12] = "* .../" - global.msg[13] = "\E7* Frisk.../" - global.msg[14] = "\E0* I haven't felt like& this for a long time./" - global.msg[15] = "\E2* As a flower^1, I was& soulless./" - global.msg[16] = "\E1* I lacked the power to& love other people./" - global.msg[17] = "\E2* However^1, with everyone's& souls inside me.../" - global.msg[18] = "\E7* I not only have my own& compassion back.../" - global.msg[19] = "\E5* But I can feel every& other monster's as& well./" - global.msg[20] = "\E7* They all care about& each other so much./" - global.msg[21] = "\E0* And..^1. they care about& you too^1, Frisk./" - global.msg[22] = "* .../" - global.msg[23] = "\E7* I wish I could tell& you how everyone& feels about you./" - global.msg[24] = "* Papyrus..^1. Sans..^1.&* Undyne..^1. Alphys.../" - global.msg[25] = "\E0* ... Toriel./" - global.msg[26] = "\E7* Monsters are weird./" - global.msg[27] = "\E5* Even though they barely& know you.../" - global.msg[28] = "\E6* It feels like they& all really love& you./" - global.msg[29] = "\E8* Haha./" - global.msg[30] = "* .../" - global.msg[31] = "\E1* Frisk..^1. I..^1.&* I understand if you& can't forgive me./" - global.msg[32] = "* I understand if you& hate me./" - global.msg[33] = "* I acted so strange and& horrible./" - global.msg[34] = "\E3* I hurt you./" - global.msg[35] = "* I hurt so many people./" - global.msg[36] = "\E1* Friends^1, family^1,& bystanders.../" - global.msg[37] = "\E3* There's no excuse for& what I've done./" - global.msg[38] = " & & Forgive Do not\C" - global.msg[39] = " " - break - case 801: - if (global.choice == 0) - { - global.msg[0] = "\E3* Wh..^1. what?/" - global.msg[1] = "\E7* ... Frisk^1, come on./" - global.msg[2] = "\E0* You're..^1.&* You're gonna make me& cry again./" - global.msg[3] = "\E7* ... besides^1, even if& you do forgive me.../" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* ... right^1./" - global.msg[1] = "* I understand./" - global.msg[2] = "\E1* I just hope that.../" - global.msg[3] = "* I can make up for& it a little right& now./" - } - global.msg[4] = "\E1* I can't keep these& souls inside of me./" - global.msg[5] = "\E0* The least I can do& is return them./" - global.msg[6] = "\E2* But first.../" - global.msg[7] = "\E4* There's something I& have to do./" - global.msg[8] = "* Right now^1, I can feel& everyone's hearts& beating as one./" - global.msg[9] = "* They're all burning& with the same& desire./" - global.msg[10] = "* With everyone's power..^1.&* With everyone's& determination.../" - global.msg[11] = "* It's time for& monsters.../" - global.msg[12] = "* To finally go free./%%" - break - case 803: - global.msg[0] = "\E7* Frisk.../" - global.msg[1] = "\E0* I have to go now./" - global.msg[2] = "\E7* Without the power of& everyone's souls.../" - global.msg[3] = "\E1* I can't keep& maintaining this& form./" - global.msg[4] = "* In a little while.../" - global.msg[5] = "* I'll turn back into& a flower./" - global.msg[6] = "\E3* I'll stop being& " + chr(34) + "myself." + chr(34) + "/" - global.msg[7] = "* I'll stop being able& to feel love again./" - global.msg[8] = "\E1* So..^1. Frisk./" - global.msg[9] = "\E7* It's best if you& just forget about& me^1, OK?/" - global.msg[10] = "\E0* Just go be with& the people who& love you./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & Comfort& him Do not\C" - global.msg[13] = " " - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = "\E0* So^1, Alphys.../" - global.msg[1] = "\E9* What do you want& to do now that& we're all free?/" - global.msg[2] = "\E0* We have the whole& world to explore& now./" - scr_alface(3, 3) - global.msg[4] = "\E3* W-well^1, of course& I'm going to go& out and.../" - global.msg[5] = "\E4* Um.../" - global.msg[6] = "\E3* No^1, I should be& honest!!/" - global.msg[7] = "\E1* I'm gonna stay inside& and watch anime like& a total loser!/" - scr_papface(8, 0) - global.msg[9] = "\E0THAT'S THE SPIRIT!/" - global.msg[10] = "EVERYONE!!^1!&A CELEBRATION!!!&TO BEING LOSERS!!/" - scr_undface(11, 9) - global.msg[12] = "\E9* Heh^1.&* Papyrus has the& right idea./" - global.msg[13] = "\E0* Losing to Frisk is& the best thing to& ever happen to me./" - global.msg[14] = "\E0* So I'm glad that& we.../" - global.msg[15] = "\E9* Huh^1?&* What is it^1, Asgore?/" - scr_asgface(16, 2) - global.msg[17] = "\E2* Um..^1. what's an.../" - global.msg[18] = "\E0* ... anime?/" - scr_alface(19, 1) - global.msg[20] = "\E1* (Oh My God?)/" - global.msg[21] = "\E3* (Frisk^1. Please.)/" - global.msg[22] = "\E2* (Help me explain what& anime is to Asgore.)/" - global.msg[23] = "\E0* Y-you see^1, it's& like a cartoon^1,& but.../" - global.msg[24] = "\TS \F0 \T0 %" - global.msg[25] = " & With With& Sword's Gun's\C" - global.msg[26] = " " - break - case 807: - scr_asgface(0, 2) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with swords?/" - if (global.choice == 1) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with guns?/" - global.msg[2] = "\E0* Golly^1!&* That sounds neato!/" - global.msg[3] = "\E3* Where is this^1?&* Where can I see the& Anime./" - scr_alface(4, 3) - global.msg[5] = "\E3* H-hold on^1, uh..^1.&* I think I have& some on my phone./" - global.msg[6] = "\E0* Here^1, l-look at& this!/" - global.msg[7] = "\E0* .../" - global.msg[8] = "\E3*...Oh^1, uh.../" - global.msg[9] = "\E4* Um..^1. that's the..^1.&* That's the wrong.../" - global.msg[10] = "\E5* Uh^1, nevermind./" - scr_asgface(11, 1) - global.msg[12] = "* Golly^1.&* Were those two robots.../" - scr_undface(13, 9) - global.msg[14] = "\E9* ... kissing?/" - scr_asgface(15, 0) - global.msg[16] = "\E0* Boy^1!&* Technology sure is& something^1, isn't it?/" - scr_alface(17, 5) - global.msg[18] = "\E5* Eheheh..^1. yeah^1!&* It sure is!/%%" - break - case 808: - global.msg[0] = "\E0* Psst..^1.&* F-Frisk./" - global.msg[1] = "\E3* Um^1, you've gotta& tell me./" - global.msg[2] = "\E6* D..^1. do you think& Asgore and Toriel& are...?/" - global.msg[3] = "\E3* Uh^1, ever gonna get& back together?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "& & Yeah Nope\C" - global.msg[6] = " " - break - case 809: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = "\E7* Y-yeah!!^1!&* Yeah^1, that's what& I hope^1, too./" - global.msg[2] = "\E7* Just think about how& cute they must have& been together./" - global.msg[3] = "\E0* It's quickly becoming& my number one ship& of all time./" - global.msg[4] = "\E7* Tori and Gorey.../" - global.msg[5] = "\E5* My..^1.&* My old boss and& his ex-wife./" - global.msg[6] = "\E8* ... uh^1, that sounds& a lot less cool& all of a sudden./%%" - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = "\E8* ... yeah^1, that's what& I thought./" - global.msg[2] = "\E7* A woman can dream& though^1, right?/" - global.msg[3] = "\E2* And write fanfiction./" - global.msg[4] = "\E1* A LOT of fanfiction./%%" - } - break - case 810: - global.msg[0] = "\E0* Frisk^1!&* I just realized!/" - global.msg[1] = "\E3* Now that we aren't& fighting each& other.../" - global.msg[2] = "\E2* I can finally ask& you.../" - global.msg[3] = "\E0* " + chr(34) + "Would you like a& cup of tea?" + chr(34) + "/" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E0* Would you like a& cup of tea?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "& & Yes No\C" - global.msg[8] = " " - break - case 811: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = "* Oh^1!&* Well!/" - global.msg[2] = "\E3* Actually^1, the cup I& had is cold now./" - global.msg[3] = "* So you shouldn't& have it./" - global.msg[4] = "\E0* But^1, I am so& happy you said& yes./" - global.msg[5] = "\E0* As soon as I can^1,& I will make some& more for you./" - global.msg[6] = "\E0* Then we can be& great pals./%%" - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = "\E3* Oh.../" - global.msg[2] = "\E3* Okay./" - scr_undface(3, 2) - global.msg[4] = "\E2* Frisk^1! Stop^1!&* You're breaking his& big burly heart!/" - scr_asgface(5, 2) - global.msg[6] = "\E2* Um^1, it's OK^1, Undyne./" - global.msg[7] = "\E0* My heart's already& broken./" - scr_undface(8, 6) - global.msg[9] = "\E6* ASGORE^1! STOP^1!&* YOU'RE BREAKING MY& BIG BURLY HEART!/" - scr_alface(10, 9) - global.msg[11] = "\E9* Y-yeah^1, Asgore^1.&* Don't break Undyne's& heart./" - global.msg[12] = "\E2* That's my job./" - scr_undface(13, 2) - global.msg[14] = "\E2* OH MY GOD!&* YOU'RE GOING BACK& IN THE TRASH!!!/" - scr_papface(15, 0) - global.msg[16] = "\E0CAN I GO IN THE&TRASH TOO?/" - scr_undface(17, 9) - global.msg[18] = "\E9* Sure^1, Papyrus./" - scr_sansface(19, 1) - global.msg[20] = "\E1* guess i have to& go in the trash& too./" - scr_torface(21, 0) - global.msg[22] = "\E0* Oh^1, may I enter& the trash as well?/" - scr_undface(23, 1) - global.msg[24] = "\E1* Uh^1, okay?/" - scr_asgface(25, 0) - global.msg[26] = "\E0* Am I invited to& the trash?/" - scr_undface(27, 6) - global.msg[28] = "\E6* SURE!!!&* WHY NOT!!!/" - scr_torface(29, 1) - global.msg[30] = "\E1* On second thought^1,& do not put me& in the trash./" - scr_asgface(31, 5) - global.msg[32] = "\E5* Oh.../" - scr_undface(33, 1) - global.msg[34] = "\E1* OH MY GOD!!!/%%" - } - break - case 812: - global.msg[0] = "* (If you leave here^1, your& adventure will really& be over.)/" - global.msg[1] = "* (Your friends will follow& you out of the underground.)/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = " & Don't I'm& leave ready\C" - global.msg[4] = " " - break - case 813: - global.msg[0] = " %%" - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = "\E0* Oh my.../" - scr_asgface(1, 0) - global.msg[2] = "\E0* Isn't it beautiful^1,& everyone?/" - scr_alface(3, 3) - global.msg[4] = "\E3* Wow..^1. it's e-even& better than on TV./" - global.msg[5] = "\E7* WAY better^1!&* Better than I ever& imagined!/" - scr_undface(6, 1) - global.msg[7] = "\E1* Frisk^1, you LIVE with& this!?/" - global.msg[8] = "\E9* The sunlight is so& nice..^1. and the air& is so fresh!/" - global.msg[9] = "* I really feel alive!/" - scr_papface(10, 0) - global.msg[11] = "\E0HEY SANS.../" - global.msg[12] = "\E3WHAT'S THAT GIANT&BALL?/" - scr_sansface(13, 1) - global.msg[14] = "\E1* we call that& " + chr(34) + "the sun^1," + chr(34) + " my friend./" - scr_papface(15, 0) - global.msg[16] = "\E0THAT'S THE SUN!^1?&WOWIE!!!/" - global.msg[17] = "I CAN'T BELIEVE&I'M FINALLY MEETING&THE SUN!!!/" - scr_asgface(18, 0) - global.msg[19] = "\E0* I could stand here& and watch this for& hours.../" - scr_torface(20, 0) - global.msg[21] = "\E0* Yes^1, it is beautiful^1,& is it not?/" - global.msg[22] = "\E1* But we should really& think about what comes& next./" - scr_asgface(23, 3) - global.msg[24] = "\E3* Oh^1, right./" - global.msg[25] = "\E0* Everyone.../" - global.msg[26] = "* This is the beginning& of a bright new& future./" - global.msg[27] = "* An era of peace between& humans and monsters./" - global.msg[28] = "\E2* Frisk.../" - global.msg[29] = "* I have something to& ask of you./" - global.msg[30] = "\E0* Will you act as our& ambassador to the& humans?/" - global.msg[31] = "\TS \F0 \T0 %" - global.msg[32] = "* (Be the ambassador?)& & Yes No\C" - global.msg[33] = " " - break - case 815: - scr_papface(0, 0) - global.msg[1] = "WOWi, Nice error./%%" - if (global.choice == 0) - { - global.msg[1] = "\E0YEAH^1!&FRISK WILL BE THE&BEST AMBASSADOR!/" - global.msg[2] = "AND I^1, THE GREAT&PAPYRUS.../" - global.msg[3] = "WILL BE THE BEST&MASCOT!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E0IT'S OK FRISK^1!&I'VE GOT YOU&COVERED!/" - global.msg[2] = "IF YOU DON'T WANT&TO BE THE&AMBASSADOR.../" - global.msg[3] = "I CAN DO IT FOR&YOU!!!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - break - case 820: - global.msg[0] = "* Frisk.../" - global.msg[1] = "\E2* You came from this& world^1, right...?/" - global.msg[2] = "\E1* So you must have& a place to return to^1,& do you not?/" - global.msg[3] = "\E2* What will you do& now?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = " I want I have& to stay places& with you to go\C" - global.msg[6] = " " - break - case 821: - global.msg[0] = " %%" - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = "* (The door has no mail slot.)/" - global.msg[1] = "* (Slide the letter under?)& & Slide NO!!!! \C" - global.msg[2] = " " - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = "* (You slide the letter under& the door and give it a& knock.)/%%" - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* (You'll keep the letter& warm for a little longer.)/%%" - break - case 827: - global.msg[0] = "* (It's a note from Alphys.)/" - global.msg[1] = "* (Read it...?)& & Read Do not \C" - global.msg[2] = " " - break - case 828: - if (global.choice == 0) - { - global.msg[0] = "* (It's hard to read because& of the handwriting^1, but& you try your best...)/" - global.msg[1] = "* Hey./" - global.msg[2] = "* Thanks for your help back& there./" - global.msg[3] = "* You guys..^1.&* Your support really means a& lot to me./" - global.msg[4] = "* But..^1.&* As difficult as it is& to say this.../" - global.msg[5] = "* You guys alone can't& magically make my own& problems go away./" - global.msg[6] = "* I want to be a better& person./" - global.msg[7] = "* I don't want to be& afraid anymore./" - global.msg[8] = "* And for that to happen^1,& I have to be able to& face my own mistakes./" - global.msg[9] = "* I'm going to start& doing that now./" - global.msg[10] = "* I want to be clear./" - global.msg[11] = "* This isn't anyone else's& problem but mine./" - global.msg[12] = "* But if you don't ever& hear from me again.../" - global.msg[13] = "* If you want to know& " + chr(34) + "the truth." + chr(34) + "/" - global.msg[14] = "* Enter the door to the& north of this note./" - global.msg[15] = "* You all at least deserve& to know what I did./" - global.msg[16] = "* (That's all she wrote.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = "* (Buy chips for 25G?)& & Buy No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There were no chips left& in the machine.)/%%" - global.msg[1] = " " - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* (The vending machine& dispensed some chisps.)/%%" - if (afford == 0) - global.msg[0] = "* (You didn't have enough& gold.)/%%" - } - if (noroom == 1) - global.msg[0] = "* (You are carrying too& many items.)/%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 831: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?/" - global.msg[5] = "\E1* ... wait^1.&* Do not tell me./" - if (bs == 0) - global.msg[6] = "\E0* It is ERROR MESSAGE!& & Yes No \C" - if (bs == 1) - global.msg[6] = "\E0* Is it Butterscotch?& & Yes No \C" - if (bs == 2) - global.msg[6] = "\E0* Is it Cinnamon?& & Yes No \C" - global.msg[7] = " " - break - case 832: - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - if (bs == 2) - global.flag[46] = 0 - global.msg[0] = "\E0* Hee hee hee^1.&* I had a feeling./" - global.msg[1] = "\E1* When humans fall down& here^1, strangely..^1.&* I.../" - global.msg[2] = "\E1* I often feel like& I already know them./" - global.msg[3] = "\E0* Truthfully^1, when I first& saw you^1, I felt.../" - global.msg[4] = "\E1* ... like I was seeing& an old friend for& the first time./" - global.msg[5] = "\E0* Strange^1, is it not?/" - global.msg[6] = "* Well^1, thank you for& your selection./" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - if (bs == 2) - global.flag[46] = 1 - global.msg[0] = "\E1* Oh..^1. I see./" - global.msg[1] = "\E0* Well^1, thank you^1.&* Goodbye for now./" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* Click.../%%" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - break - case 833: - global.msg[0] = "* (Seems like you could skip& Mettaton's monologue by& turning him around now.)/" - global.msg[1] = "* (What will you do?)& & Skip Hear again\C" - global.msg[2] = " " - break - case 834: - if (global.choice == 0) - { - global.msg[0] = "* (You told Mettaton there& was something cool& behind him.)/%%" - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = " %%" - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = "* though.../" - global.msg[1] = "* one thing about you& always struck me& as kinda odd./" - global.msg[2] = "* now^1, i understand& acting in self-defense./" - global.msg[3] = "* you were thrown into& those situations& against your will./" - global.msg[4] = "* but.../" - global.msg[5] = "* sometimes.../" - global.msg[6] = "* you act like you& know what's gonna& happen./" - global.msg[7] = "* like you've already& experienced it all& before./" - global.msg[8] = "* this is an odd thing& to say^1, but.../" - global.msg[9] = "\W* if you have some sort& of \Yspecial power\W.../" - global.msg[10] = "* isn't it your& responsibility to do& the right thing?/" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & & Yes No\C" - global.msg[13] = " " - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* ah./" - global.msg[2] = "\E0* i see./" - global.msg[3] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* heh./" - global.msg[2] = "\E0* well^1, that's your& viewpoint./" - global.msg[3] = "\E2* i won't judge you& for it./" - global.msg[4] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = "* (Ring...)/" - scr_alface(1, 0) - global.msg[2] = "\E0* Hey!/" - global.msg[3] = "\E3* This um^1, doesn't have& anything to do with& guiding you..^1. but.../" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E6* Uhh^1, hey^1, would you want& to watch a human TV& show together???/" - global.msg[6] = "* Sometime???/" - global.msg[7] = "\E4* It's called^1, um^1,& M..^1.Mew Mew Kissy& Cutie.../" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = " & & Sure! ...no...\C" - global.msg[10] = " " - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = "* R-really!?/" - global.msg[2] = "\E3* It's so good^1!&* It's um^1, my favorite& show!/" - global.msg[3] = "* It's all about this& human girl named Mew Mew& who has cat ears!%" - global.msg[4] = "\E3* Which humans don't have!&* S-so she's all& sensitive about them!%" - global.msg[5] = "\E6* But like...&* Eventually!%" - global.msg[6] = "* She realizes that her& ears don't matter!%" - global.msg[7] = "* That her friends like& her despite the ears!%" - global.msg[8] = "\E7* It's really moving!%" - global.msg[9] = "\E5* Whoops, spoilers%" - global.msg[10] = "\E6* Also, this sounds& weird, but she has& the power!%" - global.msg[11] = "\E5* To control the minds& of anyone she kisses!%" - global.msg[12] = "\E3* She kisses people and& controls them to fix& her problems!!%" - global.msg[13] = "\E5* They don't remember& anything after the& kiss I mean!!%" - global.msg[14] = "\E3* BUT IF SHE MISSES& THE KISS!!!&* THEN!!%" - global.msg[15] = "\E4* Then^1, uh^1, and^1, uh^1,& also I mean^1, of course%" - global.msg[16] = "\E5* Eventually^1, she& realizes that& controlling people%" - global.msg[17] = "\E3* OKAY WELL I almost& spoiled the whole& show^1, but%" - global.msg[18] = "\E5* Uhhh^1, I think you'd& really like it!!!/" - global.msg[19] = "\E0* We should watch it^1!&* After you get through& all this!/" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* (Click...)/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E5* Um^1! Well^1!&* That's okay!/" - global.msg[2] = "* Just thought I'd!^1!&* Ask!!!/" - global.msg[3] = "\E6* B-but I think you'd& really like it!!/" - global.msg[4] = "* If you gave it a& chance!!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Click...)/%%" - } - break - case 839: - global.msg[0] = "\M1* Did y'hear!^1?&* You're back!/" - global.msg[1] = "\M0* I'll tell you a big secret./" - global.msg[2] = "\M1* I'm starting a band^1, y'hear?/" - global.msg[3] = "\M1* It's called the Red Hot& Chibi Peppers./" - global.msg[4] = "\M0* All I've thought of is& the name./" - global.msg[5] = "\M3* And I don't^1, play...&* Instruments^1, or sing./" - global.msg[6] = "\M1* Well^1!&* Do you think we'll be& popular!!!/" - global.msg[7] = " & & Yeah No\C" - global.msg[8] = " " - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = "\M0* Yeah^1, me too.../%%" - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = " %%" - } - break - case 845: - global.msg[0] = "* (It's a lamp.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - break - case 846: - if (global.choice == 0) - { - global.msg[0] = "* (There's no lightbulb.^1)&* (A flashlight is stuck in& the bulb socket.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = " %%" - break - case 847: - if (global.choice == 0) - global.msg[0] = "* (The flashlight is out of& batteries.)/%%" - else - global.msg[0] = " %%" - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = "* Hey^1, hey^1!&* Did you remember my name?/" - global.msg[1] = "* (Did you?)& & Yes No\C" - global.msg[2] = " " - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = "* Wh-WHAT!^1?&* You REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = "* Wh-WHAT!^1?&* You DON'T REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - break - case 853: - global.msg[0] = "* (It's a small white dog.^1)&* (It's fast asleep...)/" - global.msg[1] = "* (Fight the dog?)& & Yes No\C" - global.msg[2] = " " - break - case 854: - if (global.choice == 0) - { - global.msg[0] = "* (Can't fight the dog.)/" - global.msg[1] = "* (Seems like the fabric it's& sleeping on has too many& holes in it.)/" - global.msg[2] = "* (Seems like the dog needs& to " + chr(34) + "patch" + chr(34) + " the fabric.)/" - global.msg[3] = "* (Then you can fight the dog.^1)&* (... maybe.)/%%" - } - else - global.msg[0] = "* (Let sleeping dogs lie^1, instead& of fighting them.^1)&* (That's how the saying goes.)/%%" - break - case 860: - global.msg[0] = "* (Knock knock)./" - if (global.flag[262] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Sea Tea" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a million ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = "* (You pour the Sea Tea under& the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 862: - global.msg[0] = "* (Knock knock)./" - if (global.flag[263] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Cinnamon Bun" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a trillion ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = "* (You flatten the Cinnamon Bun& until it's paper thin.)&* (You slide it under the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 864: - global.msg[0] = "* (You hear shuffling.)/" - global.msg[1] = "* (Seems like you could put& something under the door.)/" - global.msg[2] = " & & Put No Put\C" - global.msg[3] = " " - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - break - case 865: - if (global.choice == 0) - { - global.msg[0] = "* (...)/" - global.msg[1] = "* (But you didn't have anything& appealing.)/%%" - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = "* (You put a Hot Dog in front& of the door.)/" - global.msg[1] = "* (A white paw shoots out from& under the door.)/" - global.msg[2] = "* (It tries to pull the Hot Dog& into its room...)/" - global.msg[3] = "* (But it keeps pressing down too& hard^1, and the hot dog keeps& spinning away.)/" - global.msg[4] = "* (...)/" - global.msg[5] = "* (It finally succeeds.)/" - global.msg[6] = "* (...)/" - global.msg[7] = "* (You hear the grinding of& stone.)/" - global.msg[8] = "* (A single hushpuppy slides& out from under the door.)/" - global.msg[9] = "* (You got Hush Puppy.)/%%" - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = "* (You put a Hot Cat in front& of the door.)/" - global.msg[1] = "* (You hear growling...)/%%" - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = "* (You put a Dog Salad in front& of the door.^1)&* (It slides underneath.)/" - global.msg[1] = "* (...)/" - global.msg[2] = "* (The Dog Salad was absorbed& by the darkness.)/%%" - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = "* (You put a Dog Residue in& front of the door.)/" - global.msg[1] = "* (It slides underneath the door^1,& as if pulled by a magnet.)/" - global.msg[2] = "* (...)/" - if (noroom == 1) - global.msg[3] = "* (ZOMMM!!^1!)&* (It shoots back out at a& high speed!)/%%" - else - global.msg[3] = "* (Two Dog Residues slowly slide& back out from underneath& the door.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 866: - global.msg[0] = "* Yes^1, we know^1.&* The elevator to the city& is NOT working./" - global.msg[1] = "* Because of this incident^1, rooms& are running at a special rate!/" - global.msg[2] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[3] = " " - if (global.flag[267] == 2) - { - global.msg[0] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[1] = " " - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = "* Did you enjoy your stay?/" - global.msg[1] = "* What^1?&* Room..^1.&* Key?/" - global.msg[2] = "* No^1, we don't do that./" - global.msg[3] = "* If you leave your room^1,& you'll have to pay again./" - global.msg[4] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[5] = " " - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* Fabulous^1!&* We'll escort you to your& room!/%%" - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = "* ... that's not enough money./%%" - } - else - global.msg[0] = "* Do let us know if you& change your mind^1.&* Have a sparkular day!/%%" - break - case 870: - global.msg[0] = "* ... MY ONE TRUE LOVE?/" - global.msg[1] = "* .../" - global.msg[2] = "* (YOU LOOK BORED^1, DARLING.)/" - global.msg[3] = "* (I WANT THIS TO BE A STELLAR& PERFORMANCE^1, SO IF YOU& WON'T GIVE IT YOUR ALL...)/" - global.msg[4] = "* (THEN I'LL SKIP AHEAD FOR& THE AUDIENCE'S SAKE.)/" - global.msg[5] = "* (Perform?)& & Yeah Skip this\C" - global.msg[6] = " " - break - case 871: - if (global.choice == 0) - global.msg[0] = "* (UNDERSTOOD.^1)&* (LET'S KNOCK 'EM DEAD!)/%%" - else - { - global.msg[0] = "* (KA-SIGH...^1)&* (THE SHOW MUST GO ON!)/%%" - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = "Interesting./" - global.msg[1] = "You want to go back./" - global.msg[2] = "You want to go bac^1k&to the worl^2d&you destroyed./" - global.msg[3] = "It was you who pushed&everythin^1g to its edge./" - global.msg[4] = "It was you who led the worl^1d&to its destruction./" - global.msg[5] = "But you cannot accept it./" - global.msg[6] = "You think you are above&consequences.& Yes No\C" - global.msg[7] = "" - break - case 889: - if (global.choice == 0) - global.msg[0] = "Exactly./%%" - else - global.msg[0] = "Then what are you looking for?/%%" - break - case 890: - global.msg[0] = "Perhaps./" - global.msg[1] = "We can reach a compromise./" - global.msg[2] = "You still have somethin^1g&I want./" - global.msg[3] = "Give it to me./" - global.msg[4] = "And I will bring this&world back./" - global.msg[5] = " & & Yes No\C" - global.msg[6] = "" - break - case 891: - if (global.choice == 0) - { - global.msg[0] = "Then it is agreed./" - global.msg[1] = "You will give me your SOUL.& & Yes No\C" - global.msg[2] = " " - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = ".../" - global.msg[1] = "Then^1, it is done./%%" - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 900: - global.msg[0] = "* hey./" - global.msg[1] = "* is your refrigerator& running?/" - global.msg[2] = " & & yes no\C" - global.msg[3] = " " - break - case 901: - if (global.choice == 0) - global.msg[0] = "* nice^1.&* i'll be over to deposit& the brewskis./%%" - else - { - global.msg[0] = "* ok^1, i'll send someone& over to fix it./" - global.msg[1] = "* thanks for letting me& know./" - global.msg[2] = "* good communication is& important./%%" - } - break - case 1001: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = " * Check * Console& * Terrorize" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = " * Check * Talk& * Devour * Dinner" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = " * Check * Pick On& * Don't Pick On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = " * Check * Flirt& * Threat * Cheer" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = " * Check * Pet" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = " * Check * Pet& * Pet * Pet & * Pet * Pet " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = " * Check * Agree& * Clash * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = " * Check * Compliment& * Ignore * Steal" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = " * Check * Compliment" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = " * Check * Ditch" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = " * Check * Decorate& * Undecorate * Gift" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = " * Check * Flex& * Shoo" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = " * Check * Flex& * Feed Temmie * Talk& Flakes " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = " * Check * Flirt& * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = " * Check * Clean& * Touch * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = " * Check * Smile& * Hum * Conduct" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = " * Check * Plead& * Challenge" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = " * Check * Cry" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = " * Check * Flirt& * Approach" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = " * Check * Criticize& * Encourage * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = " * Check * Cool Down& * Heat Up * Invite" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = (((("\W * Check * Struggle& * Pay " + string(global.flag[382])) + "G& \YYour Money: ") + string(global.gold)) + "G \W ") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = " * Check * Yell" - if (global.flag[385] > 0) - global.msg[0] = "\W * Check \Y* Yellow \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = " * Check * Fake Attack" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = " * Check * Talk & * Stare * Clear Mind" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = " * Check * Talk & * Sing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = " * Check * Defuse Bomb" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = " * Check * Burn" - if (global.flag[424] > 0) - global.msg[0] = "\W * Check \Y* Turn \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = " * Check * Boast& * Pose * Heel Turn" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = " * Call * Hum& * Scream * Flex& * Unhug * Cry" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = " * Check * Pick On& * Mystify * Clean& * Hum * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = " * Check * ITEM & * STAT * CELL" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = " * Check * Join& * Refuse" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = " * Fake Hit * Recipe& * Smile * Clash" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = " * Encourage * Call & * Nerd Out * Quiz" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = " * Joke * Puzzle & * Recipe * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = " * Take break * Joke & * Judgment * Crossword" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = " * Talk * Mercy & * Hug * Preference" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = " * Talk * Mercy & * Stare * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = " * Check * Switch& * Fix * Lie Down" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = " * Check * Hiss& * Devour * Snack" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = " * Check * Applaud& * Boo * Nothing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = " * Check * Something" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = " * Check * Draw" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = " * Check * Hope & * Dream" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = " * Error" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = " * Struggle" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = "\W * Undyne " - else - global.msg[0] = "\W \Y* (Saved) \W " - if (global.flag[506] == 0) - global.msg[0] += "* Alphys \W &" - else - global.msg[0] += "\Y* (Saved)\W &" - if (global.flag[507] == 0) - global.msg[0] += "\W * Papyrus * Sans \W &" - else - global.msg[0] += "\Y * (Saved) * (Saved)\W &" - if (global.flag[508] == 0) - global.msg[0] += "\W * Toriel * Asgore \W " - else - global.msg[0] += "\Y * (Saved) * (Saved)\W " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = " * Someone else" - if (global.flag[501] == 3) - global.msg[0] = " * Asriel Dreemurr" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = "* Dialing..\E0.\TT /" - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You only wanted to& say hello...^2?&* Well then./" - global.msg[4] = "\E0* 'Hello!'/" - global.msg[5] = "* I hope that suffices^1.&* Hee hee./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 2) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You want to say& hello again?/" - global.msg[4] = "* 'Salutations!'/" - global.msg[5] = "* Is that enough?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Are you bored^1?&* I should have given& a book to you./" - global.msg[4] = "* My apologies./" - global.msg[5] = "* Why not use your& imagination to& divert yourself?/" - global.msg[6] = "* Pretend you are..^1.&* A monarch!/" - global.msg[7] = "* Rule over the leaf pile& with a fist of iron./" - global.msg[8] = "* Can you do that for me?/" - global.msg[9] = "\TS \F0 \T0 %" - global.msg[10] = "* Click.../%%" - } - if (global.flag[40] > 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Hello^1, my child./" - global.msg[4] = "\E1* Sorry^1, I do not have& much to say./" - global.msg[5] = "\E0* It was nice to hear& your voice^1, though^1./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - break - case 1502: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* Help with a puzzle^1.^1.^1.?/" - global.msg[4] = "* Um^1, you have not& left the room^1, have you?/" - global.msg[5] = "\E0* Wait patiently for& me and we can solve& it together!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1503: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* You want to know& more about me?/" - global.msg[4] = "* Well^1, I am afraid there& is not much to say./" - global.msg[5] = "\E0* I am just a silly little& lady who worries too& much!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1504: - global.flag[42] = 1 - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E8* Huh^2?&* Did you just call& me... " + chr(34) + "Mom" + chr(34) + "?/" - global.msg[4] = "\E1* Well...&* I suppose.../" - global.msg[5] = "* Would that make you& happy?/" - global.msg[6] = "* To call me..^2.&* " + chr(34) + "Mother?" + chr(34) + "/" - global.msg[7] = "\E0* Well then^1, call me& whatever you like!/!" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E8* ...^2 huh???/" - global.msg[3] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[4] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[5] = "* You can certainly find& better than an old woman& like me./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[41] == 2) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E1* Oh dear,^1 are you& serious...?/" - global.msg[3] = "\E1* I do not know if this is& pathetic,^1 or endearing./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - if (global.flag[42] == 1) - { - global.msg[3] = "\E8* And after you said you& want to call& me " + chr(34) + "mother..." + chr(34) + "/" - global.msg[4] = "\E0* You are an...^2 & \E1... " + chr(34) + "interesting" + chr(34) + "& child./" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* But nobody came./%%" - } - else - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* Nobody picked up./%%" - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* The ringing is coming from& inside your inventory./%%" - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = "* Dialing...\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hey^1, you silly& child./" - global.msg[3] = "* If you want to& talk to me^1, I am& right here./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - break - case 1508: - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* (Somewhere^1, signals deflected& by a dog.)/%%" - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = "* (No response.^1)&* (Their phone might be out& of batteries.)/%%" - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = "* (The box is aclog with the& the hair of a dog.)/%%" - break - case 2001: - global.msg[0] = "\E2* Welcome to your new& home,^1 innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of& the RUINS./%" - break - case 2002: - global.faceplate = 1 - global.msg[0] = "\E8* ...^2 huh???/" - global.msg[1] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[2] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[3] = "* You can certainly find& better than an old woman& like me./%" - break - case 3002: - global.msg[0] = "* You encountered the Dummy." - global.msg[1] = "%%%" - break - case 3003: - global.msg[0] = "* Froggit attacks you!" - global.msg[1] = "%%%" - break - case 3004: - global.msg[0] = "* Froggit hopped close!" - global.msg[1] = "%%%" - break - case 3005: - global.msg[0] = "* Whimsun approached meekly!" - global.msg[1] = "%%%" - break - case 3006: - global.msg[0] = "* Froggit and Whimsun drew near!" - global.msg[1] = "%%%" - break - case 3007: - global.msg[0] = "* Moldsmal blocked the way!" - global.msg[1] = "%%%" - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_itemget.gml deleted file mode 100644 index 18d1db209..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_storageget.gml deleted file mode 100644 index 1ceb16fbb..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Main/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml deleted file mode 100644 index 7865cee5e..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_OBJ_INSTAWRITER_Draw_0.gml +++ /dev/null @@ -1,103 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - n += 2 - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "P") - script_execute(SCR_TEXTSETUP, 4, 255, x, y, (x + 150), 43, 4, 94, 10) - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - } - if (global.inbattle == 1) - halt = 5 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_OBJ_WRITER_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_OBJ_WRITER_Draw_0.gml deleted file mode 100644 index fdeb5a41d..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_OBJ_WRITER_Draw_0.gml +++ /dev/null @@ -1,255 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "L") - mycolor = $FDC00E - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "p") - mycolor = $D4BBFF - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - if (newtyper == "a") - global.typer = 60 - if (newtyper == "R") - global.typer = 76 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "z") - { - sym = real(string_char_at(originalstring, (n + 2))) - sym_s = spr_infinitysign - if (sym == 4) - sym_s = spr_infinitysign - if (sym == 4) - draw_sprite_ext(sym_s, 0, (myx + (random(shake) - (shake / 2))), ((myy + 10) + (random(shake) - (shake / 2))), 2, 2, 0, c_white, 1) - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - if (myfont == fnt_comicsans) - { - if (myletter == "w") - myx += 2 - if (myletter == "m") - myx += 2 - if (myletter == "i") - myx -= 2 - if (myletter == "l") - myx -= 2 - if (myletter == "s") - myx -= 1 - if (myletter == "j") - myx -= 1 - } - if (myfont == fnt_papyrus) - { - if (myletter == "D") - myx += 1 - if (myletter == "Q") - myx += 3 - if (myletter == "M") - myx += 1 - if (myletter == "L") - myx -= 1 - if (myletter == "K") - myx -= 1 - if (myletter == "C") - myx += 1 - if (myletter == ".") - myx -= 3 - if (myletter == "!") - myx -= 3 - if (myletter == "O" || myletter == "W") - myx += 2 - if (myletter == "I") - myx -= 6 - if (myletter == "T") - myx -= 1 - if (myletter == "P") - myx -= 2 - if (myletter == "R") - myx -= 2 - if (myletter == "A") - myx += 1 - if (myletter == "H") - myx += 1 - if (myletter == "B") - myx += 1 - if (myletter == "G") - myx += 1 - if (myletter == "F") - myx -= 1 - if (myletter == "?") - myx -= 3 - if (myletter == "'") - myx -= 6 - if (myletter == "J") - myx -= 1 - } - n += nskip -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_boxsiner_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_boxsiner_Draw_0.gml deleted file mode 100644 index 63273c0cd..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_boxsiner_Draw_0.gml +++ /dev/null @@ -1,18 +0,0 @@ -draw_set_color(c_green) -yoff = 0 -siner += 1 -if (fade == 1) - alpha -= 0.01 -if (alpha <= 0) - instance_destroy() -repeat (2) -{ - for (i = 0; i < 6; i += 1) - { - draw_set_alpha(alpha) - ysin = (sin((((i * 3) + (siner / 2)) / 8)) * 20) - draw_rectangle((20 + (i * 100)), ((16 + yoff) + ysin), (20 + ((i + 1) * 100)), ((136 + yoff) + ysin), true) - } - yoff = 120 -} -draw_set_alpha(1) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml deleted file mode 100644 index 075e5cba4..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_brightwaterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_bright_lt, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_bright_mt, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_bright_rt, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_bright_mm, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_bright_lm, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bright_bl, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_rm, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_bright_mm, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bright_br, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bright_bm, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_flowey_writer_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_flowey_writer_Draw_0.gml deleted file mode 100644 index aa57ccad5..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_flowey_writer_Draw_0.gml +++ /dev/null @@ -1,181 +0,0 @@ -myx = writingx -myy = writingy -for (n = 1; n < (stringpos + 1); n = n + 1) -{ - nskip = 0 - if (string_char_at(originalstring, n) == "&") - { - script_execute(SCR_NEWLINE) - n += 1 - } - if (string_char_at(originalstring, n) == "^") - { - if (string_char_at(originalstring, (n + 1)) == "0") - nskip = 1 - else - n += 2 - } - if (string_char_at(originalstring, n) == "\") - { - if (string_char_at(originalstring, (n + 1)) == "R") - mycolor = c_red - if (string_char_at(originalstring, (n + 1)) == "G") - mycolor = c_lime - if (string_char_at(originalstring, (n + 1)) == "W") - mycolor = c_white - if (string_char_at(originalstring, (n + 1)) == "Y") - mycolor = c_yellow - if (string_char_at(originalstring, (n + 1)) == "X") - mycolor = c_black - if (string_char_at(originalstring, (n + 1)) == "B") - mycolor = c_blue - if (string_char_at(originalstring, (n + 1)) == "O") - mycolor = c_orange - if (string_char_at(originalstring, (n + 1)) == "P") - mycolor = c_fuchsia - if (string_char_at(originalstring, (n + 1)) == "C") - { - if (global.inbattle == 0) - { - if (instance_exists(obj_choicer) == 0) - choicer = instance_create(0, 0, obj_choicer) - choicer.creator = id - halt = 5 - } - } - if (string_char_at(originalstring, (n + 1)) == "M") - { - global.flag[20] = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "E") - { - global.faceemotion = real(string_char_at(originalstring, (n + 2))) - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "F") - { - global.facechoice = real(string_char_at(originalstring, (n + 2))) - global.facechange = 1 - n += 1 - } - if (string_char_at(originalstring, (n + 1)) == "T") - { - newtyper = string_char_at(originalstring, (n + 2)) - if (newtyper == "T") - global.typer = 4 - if (newtyper == "t") - global.typer = 48 - if (newtyper == "0") - global.typer = 5 - if (newtyper == "S") - global.typer = 10 - if (newtyper == "f") - global.typer = 9 - if (newtyper == "F") - global.typer = 16 - if (newtyper == "s") - global.typer = 17 - if (newtyper == "P") - global.typer = 18 - if (newtyper == "M") - global.typer = 27 - if (newtyper == "U") - global.typer = 37 - if (newtyper == "A") - global.typer = 47 - script_execute(SCR_TEXTTYPE, global.typer) - global.facechange = 1 - n += 1 - } - n += 2 - } - if (string_char_at(originalstring, n) == "/") - { - halt = 1 - if (string_char_at(originalstring, (n + 1)) == "%") - halt = 2 - if (string_char_at(originalstring, (n + 1)) == "^" && string_char_at(originalstring, (n + 2)) != "0") - halt = 4 - if (string_char_at(originalstring, (n + 1)) == "*") - halt = 6 - break - } - if (string_char_at(originalstring, n) == "%") - { - if (string_char_at(originalstring, (n + 1)) == "%") - { - instance_destroy() - break - } - stringpos = 1 - stringno += 1 - originalstring = mystring[stringno] - myx = writingx - myy = writingy - lineno = 0 - alarm[0] = textspeed - myletter = " " - break - } - if (myx > writingxend) - script_execute(SCR_NEWLINE) - myletter = string_char_at(originalstring, n) - if (global.typer == 18) - { - if (myletter == "l" || myletter == "i") - myx += 2 - if (myletter == "I") - myx += 2 - if (myletter == "!") - myx += 2 - if (myletter == ".") - myx += 2 - if (myletter == "S") - myx += 1 - if (myletter == "?") - myx += 2 - if (myletter == "D") - myx += 1 - if (myletter == "A") - myx += 1 - if (myletter == "'") - myx += 1 - } - draw_set_font(myfont) - draw_set_color(mycolor) - if (shake > 38) - { - if (shake == 39) - { - direction += 10 - draw_text((myx + hspeed), (myy + vspeed), myletter) - } - if (shake == 40) - draw_text((myx + hspeed), (myy + vspeed), myletter) - if (shake == 41) - { - direction += (10 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (10 * n) - } - if (shake == 42) - { - direction += (20 * n) - draw_text((myx + hspeed), (myy + vspeed), myletter) - direction -= (20 * n) - } - if (shake == 43) - { - direction += (30 * n) - draw_text(((myx + (hspeed * 0.7)) + 10), (myy + (vspeed * 0.7)), myletter) - direction -= (30 * n) - } - } - else if (global.typer == 70 || global.typer == 71 || global.typer == 74 || global.typer == 75 || global.typer == 76 || global.typer == 77) - draw_text_transformed((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter, 2, 2, 0) - else - draw_text((myx + (random(shake) - (shake / 2))), (myy + (random(shake) - (shake / 2))), myletter) - myx += spacing - n += nskip -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_gyftrot_Step_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_gyftrot_Step_0.gml deleted file mode 100644 index 887cbbc9b..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_gyftrot_Step_0.gml +++ /dev/null @@ -1,298 +0,0 @@ -if (global.mnfight == 3) - attacked = 0 -if (alarm[5] > 0) -{ - if (global.monster[0] == true) - { - if (global.monsterinstance[0].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[0].alarm[5] - } - if (global.monster[1] == true) - { - if (global.monsterinstance[1].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[1].alarm[5] - } - if (global.monster[2] == true) - { - if (global.monsterinstance[2].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[2].alarm[5] - } -} -if (global.mnfight == 1) -{ - if (talked == 0) - { - alarm[5] = 110 - alarm[6] = 1 - talked = 1 - global.heard = 0 - } -} -if keyboard_multicheck_pressed(13) -{ - if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0) - alarm[5] = 2 -} -if (global.hurtanim[myself] == 1) -{ - shudder = 16 - alarm[3] = global.damagetimer - global.hurtanim[myself] = 3 -} -if (global.hurtanim[myself] == 2) -{ - global.monsterhp[myself] -= takedamage - with (dmgwriter) - alarm[2] = 15 - if (global.monsterhp[myself] >= 1) - { - mypart1 = instance_create(x, y, part1) - mypart2 = instance_create(x, y, part2) - global.hurtanim[myself] = 0 - image_index = 0 - global.myfight = 0 - global.mnfight = 1 - } - else - { - global.myfight = 0 - global.mnfight = 1 - killed = 1 - instance_destroy() - } -} -if (global.hurtanim[myself] == 5) -{ - global.damage = 0 - instance_create(((x + (sprite_width / 2)) - 48), (y - 24), obj_dmgwriter) - with (obj_dmgwriter) - alarm[2] = 30 - global.myfight = 0 - global.mnfight = 1 - global.hurtanim[myself] = 0 -} -if (global.mnfight == 2) -{ - if (attacked == 0) - { - pop = scr_monstersum() - if instance_exists(obj_jerry) - { - if (obj_jerry.ditch == 0) - pop -= 1 - } - global.turntimer = 120 - if (mercymod > 90) - global.turntimer = -2 - global.firingrate = 5 - if (global.hardmode == 1) - global.firingrate = 3 - if (pop == 3) - global.firingrate = global.firingrate * 2.4 - if (pop == 2) - global.firingrate = global.firingrate * 1.7 - if (mycommand >= 0 && mycommand <= 60) - { - gen = instance_create(x, y, obj_gyftgen) - gen.bullettype = 1 - } - else - { - gen = instance_create(x, y, obj_giftgen) - gen.bullettype = 0 - } - gen.myself = myself - if (mycommand >= 0) - global.msg[0] = "* Gyftrot laments its lack of& hands." - if (mycommand >= 25) - global.msg[0] = "* Gyftrot eyes you with& suspicion." - if (mycommand >= 40) - global.msg[0] = "* Gyftrot distrusts your& youthful demeanor." - if (mycommand >= 60) - global.msg[0] = "* Ah^1, the scent of fresh& pine needles." - if (mycommand >= 80) - global.msg[0] = "* Gyftrot tries vainly to& remove its decorations." - if (giftgiven == 1) - global.msg[0] = "* Gyftrot pretends to refuse& your gift." - if (giftgiven == 2) - global.msg[0] = "* Gyftrot politely accepts& your gift." - if (googly == 1) - global.msg[0] = "* Gyftrot stumbles blindly." - if (itemgone == 1 || itemgone == 2) - global.msg[0] = "* Gyftrot is slightly less& irritated." - if (itemgone == 3) - global.msg[0] = "* Gyftrot's problems have& been taken away." - if (betray == 1) - global.msg[0] = "* Gyftrot looks disappointed." - if (global.monsterhp[myself] < 30) - global.msg[0] = "* Gyftrot's antlers tremble." - attacked = 1 - } -} -if (global.myfight == 2) -{ - if (whatiheard != -1) - { - if (global.heard == 0) - { - if (whatiheard == 0) - { - global.msc = 0 - global.msg[0] = (((("* GYFTROT " + string(global.monsteratk[myself])) + " ATK ") + string(global.monsterdef[myself])) + ' DEF&* Some teens "decorated" it as& a prank./^') - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - if (whatiheard == 1) - { - global.msc = 0 - if (itemgone < 3) - { - if (gift[itemgone] == 0) - global.msg[0] = "* You remove the striped cane& that says " + chr(34) + "I use this tiny& cane to walk" + chr(34) + " on it./^" - if (gift[itemgone] == 1) - global.msg[0] = "* You remove the box of& non-dog-related raisins./^" - if (gift[itemgone] == 2) - global.msg[0] = "* You remove the lenticular& bookmark of a smug teen& winking./^" - if (gift[itemgone] == 3) - global.msg[0] = "* You remove the barbed wire& made of pipe cleaners./^" - if (gift[itemgone] == 4) - global.msg[0] = "* You remove a childhood& photograph of Snowdrake and& his parent./^" - if (gift[itemgone] == 5) - global.msg[0] = "* You remove a small^1, confused& dog./^" - if (gift[itemgone] == 6) - global.msg[0] = "* You remove a stocking filled& with chicken nuggets./^" - if (gift[itemgone] == 7) - global.msg[0] = "* You remove the shirt that says& 'I'm with stupid' and points& inward./^" - } - if (itemgone == 3) - { - global.msg[0] = "* You try to undecorate...?/^" - mercymod = 180 - } - if (googly == 1) - global.msg[0] = "* You remove the googly eyes./^" - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - if (googly == 1) - { - googly = 0 - ung = 1 - with (mypart5) - instance_destroy() - } - else if (itemgone < 3) - { - if (itemgone == 2) - { - with (mypart8) - instance_destroy() - itemgone = 3 - } - if (itemgone == 1) - { - with (mypart4) - instance_destroy() - itemgone = 2 - } - if (itemgone == 0) - { - with (mypart3) - instance_destroy() - itemgone = 1 - } - } - if (mercymod < 150) - { - if (itemgone > 0 && mercymod < 100) - mercymod = 10 - if (itemgone > 2) - { - mercymod = 160 - global.flag[138] = 1 - } - } - } - if (whatiheard == 3) - { - global.msc = 0 - if (googly == 0) - { - global.msg[0] = "* You add some googly eyes& you found on the ground./^" - googly = 1 - mypart5 = instance_create(x, y, part3) - mypart5.gift = 8 - } - else - global.msg[0] = "* You can't improve on& perfection./^" - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - if (whatiheard == 4) - { - global.msc = 0 - if (giftgiven == 0 && googly == 0 && itemgone > 0 && betray == 0) - { - mypart6 = instance_create(x, y, part3) - mypart6.gift = 9 - if (global.gold == 0) - { - global.msg[0] = "* You give the cheapest gift& of all..^1.&* Friendship./^" - giftgiven = 2 - mercymod = 140 - global.goldreward[myself] += 50 - } - if (global.gold > 0) - { - if (global.gold >= 35) - { - global.msg[0] = "* You give 35 G because& you can't think of an& appropriate gift./^" - global.gold -= 35 - } - else - { - global.gold = 0 - global.msg[0] = "* You give your remaining& money because you can't& think of a better gift./^" - } - giftgiven = 1 - mercymod = 140 - } - } - else - { - if (googly == 1 || betray == 1 || itemgone == 0) - global.msg[0] = "* Gyftrot refuses your gift./^" - if (giftgiven == 1) - global.msg[0] = "* Hey now^1.&* You aren't made of money./^" - if (giftgiven == 2) - global.msg[0] = "* Hey now^1.&* You aren't made of friendship./^" - } - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - } - global.heard = 1 - } -} -if (global.myfight == 4) -{ - if (global.mercyuse == 0) - { - script_execute(scr_mercystandard) - if (mercy < 0) - instance_destroy() - } -} -if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0) -{ - script_execute(scr_mercystandard) - if (mercy < 0) - instance_destroy() -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_joypadmenu_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_joypadmenu_Draw_0.gml deleted file mode 100644 index 9a5ea7df7..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_joypadmenu_Draw_0.gml +++ /dev/null @@ -1,398 +0,0 @@ -buffer -= 1 -if (menu_engage == 0) -{ - if keyboard_check_pressed(vk_down) - menu += 1 - if (menu == 4) - menu = 5 - if (fun == false) - { - if (menu == 6) - menu = 7 - } - if keyboard_check_pressed(vk_up) - menu -= 1 - if (menu == 4) - menu = 3 - if (fun == false) - { - if (menu == 6) - menu = 5 - } - if (menu <= 0) - menu = 0 - if (menu >= 9) - menu = 9 - if (buffer < 0) - { - if keyboard_multicheck_pressed(0) - { - menu_engage = 1 - js_buffer = 1 - buffer = 4 - } - } -} -if (menu == 0 && menu_engage == 1) -{ - ini_open("config.ini") - ini_write_real("joypad1", "b0", global.button0) - ini_write_real("joypad1", "b1", global.button1) - ini_write_real("joypad1", "b2", global.button2) - ini_write_real("joypad1", "as", global.analog_sense) - ini_write_real("joypad1", "jd", global.joy_dir) - ini_close() - room_goto(room_intromenu) -} -draw_set_color(c_white) -draw_set_font(fnt_maintext) -if (weather != 3) - draw_text_transformed(100, 10, "JOYSTICK CONFIG", 2, 2, 0) -else - draw_text_transformed(10, 10, "JOYSTICK CONFIG", 2, 2, 0) -if (menu != 0) - draw_set_color(c_white) -else - draw_set_color(c_yellow) -draw_text(20, 40, "EXIT") -for (i = 1; i < 4; i += 1) -{ - if (menu != i) - draw_set_color(c_white) - else - draw_set_color(c_yellow) - if (i == 1) - itext = "CONFIRM - [Z + ENTER] ::" - if (i == 2) - itext = "CANCEL - [X + SHIFT] ::" - if (i == 3) - itext = "MENU - [C + CTRL] ::" - draw_text(20, (60 + (i * 15)), itext) - draw_set_color(c_white) -} -if (menu == 1 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 75, 245, 90, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 75, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button0 = i - menu_engage = 0 - buffer = 4 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 75, global.button0) -} -if (menu == 2 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 90, 245, 105, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 90, "(PUSH BUTTON)") - if (js_buffer == 0) - { - if (obj_time.j_ch > 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button1 = i - menu_engage = 0 - break - } - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 90, global.button1) -} -if (menu == 3 && menu_engage == 1) -{ - draw_set_color(c_blue) - draw_rectangle(160, 105, 245, 120, false) - draw_set_color(c_white) - o_o += 1 - if (o_o >= 16) - o_o = 0 - if (o_o <= 8) - draw_text(160, 105, "(PUSH BUTTON)") - if (obj_time.j_ch > 0 && js_buffer == 0) - { - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if joystick_check_button(obj_time.j_ch, i) - { - global.button2 = i - menu_engage = 0 - break - } - } - } - if (js_buffer == 1) - { - bt = 0 - for (i = 0; i < joystick_buttons(obj_time.j_ch); i += 1) - { - if (!joystick_check_button(obj_time.j_ch, i)) - bt += 1 - } - if (bt >= joystick_buttons(obj_time.j_ch)) - js_buffer = 0 - } - if (buffer < 0) - { - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_set_color(c_aqua) - draw_text(170, 105, global.button2) -} -if (menu == 5) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 135, "ANALOG SENSITIVITY:") -if (menu == 5 && menu_engage == 1) -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense -= global.analog_sense_sense - if keyboard_check(vk_left) - global.analog_sense += global.analog_sense_sense - if (global.analog_sense >= 0.4) - global.analog_sense = 0.4 - if (global.analog_sense <= 0.02) - global.analog_sense = 0.02 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } -} -else -{ - draw_sprite_ext(spr_sensing_slider, 0, 150, 135, 1, 1, 0, c_red, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense * 100)), 138, 1, 1, 0, c_yellow, 0.6) -} -if (fun == true) -{ - if (menu == 6) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text_transformed(20, 150, "ANALOG SENSITIVITY SENSITIVITY:", 0.6, 1, 0) - if (menu == 6 && menu_engage == 1) - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 1) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 1) - if (buffer < 0) - { - if keyboard_check(vk_right) - global.analog_sense_sense -= 0.01 - if keyboard_check(vk_left) - global.analog_sense_sense += 0.01 - if (global.analog_sense_sense >= 0.2) - global.analog_sense_sense = 0.2 - if (global.analog_sense_sense <= 0.01) - global.analog_sense_sense = 0.01 - if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1)) - menu_engage = 0 - } - } - else - { - draw_sprite_ext(spr_sensing_slider, 0, 150, 150, 1, 1, 0, c_green, 0.6) - draw_sprite_ext(spr_sensebar, 0, (190 - (global.analog_sense_sense * 200)), 153, 1, 1, 0, c_yellow, 0.6) - } -} -if (menu == 7) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 170, "DIR CHOICE:") -if (global.joy_dir == 0) - draw_text(100, 170, "NORMAL") -if (global.joy_dir == 1) - draw_text(100, 170, "ANALOG ONLY") -if (global.joy_dir == 2) - draw_text(100, 170, "POV ONLY") -if (menu == 7 && menu_engage == 1) -{ - global.joy_dir += 1 - if (global.joy_dir >= 3) - global.joy_dir = 0 - menu_engage = 0 -} -if (r_buffer > 0) -{ - r_buffer -= 1 - draw_set_color(c_red) - draw_text_transformed_color(20, 185, r_line, 1, 1, 0, c_red, c_red, c_red, c_red, (1 - ((10 - r_buffer) / 10))) -} -else -{ - if (menu == 8) - draw_set_color(c_yellow) - else - draw_set_color(c_white) - draw_text(20, 185, "RESET TO DEFAULT") -} -if (menu == 8 && menu_engage == 1) -{ - r_buffer = 15 - rrr = floor(random(50)) - if (fun == true) - { - if (rrr == 1) - r_line = "SPAGHETTI..." - else - r_line = "RESETTED..." - } - global.button0 = 2 - global.button1 = 1 - global.button2 = 4 - global.analog_sense = 0.2 - global.analog_sense_sense = 0.01 - global.joy_dir = 0 - if (obj_time.j_ch > 0) - { - if (!joystick_has_pov(obj_time.j_ch)) - global.joypad_dir = 1 - } - menu_engage = 0 -} -if (menu == 9) - draw_set_color(c_yellow) -else - draw_set_color(c_white) -draw_text(20, 200, "CONTROL TEST") -if (menu == 9 && menu_engage == 1) -{ - caster_free(-3) - room_goto(room_controltest) -} -if (weather == 1) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_christmasflake - siner += 1 - draw_sprite_ext(spr_tobdog_winter, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "cold outside#but stay warm#inside of you", 1, 1, -20) -} -if (weather == 2) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(merge_color(c_red, c_white, 0.5)) - siner += 1 - draw_sprite_ext(spr_tobdog_spring, floor((siner / 15)), 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "spring time#back to school", 1, 1, -20) -} -if (weather == 3) -{ - extreme2 += 1 - if (extreme2 >= 240) - { - extreme += 1 - if (extreme >= 1100 && abs(sin((siner / 15))) < 0.1) - { - extreme = 0 - extreme2 = 0 - } - } - siner += 1 - draw_sprite_ext(spr_tobdog_summer, floor((siner / 15)), 250, 225, (2 + (sin((siner / 15)) * (0.2 + (extreme / 900)))), (2 - (sin((siner / 15)) * (0.2 + (extreme / 900)))), 0, c_white, 1) - draw_set_color(c_yellow) - draw_circle((258 + (cos((siner / 18)) * 6)), (40 + (sin((siner / 18)) * 6)), (28 + (sin((siner / 6)) * 4)), 0) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "try to withstand#the sun's life-#giving rays", 1, 1, -20) -} -if (weather == 4) -{ - c = instance_create(0, 0, obj_ct_fallobj) - c.sprite_index = spr_fallleaf - c.image_blend = choose(65535, 4235519, 255) - siner += 1 - draw_sprite_ext(spr_tobdog_autumn, 0, 250, 218, 1, 1, 0, c_white, 1) - draw_set_color(c_gray) - draw_text_transformed((220 + sin((siner / 12))), (120 + cos((siner / 12))), "sweep a leaf#sweep away a#troubles", 1, 1, -20) -} -if (intro == 1) -{ - if (rectile == 16) - caster_play(harp, 1, 1) - rectile += 4 - draw_set_color(c_black) - draw_rectangle((168 - rectile), -10, -1, 250, false) - draw_set_color(c_black) - draw_rectangle((152 + rectile), -10, 330, 250, false) - if (rectile >= 170) - { - caster_loop(weathermusic, 0.8, 1) - menu_engage = 0 - buffer = 5 - intro = -1 - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml deleted file mode 100644 index fe513bc92..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_mettattackgen_Alarm_0.gml +++ /dev/null @@ -1,1121 +0,0 @@ -gil = global.idealborder[0] -gir = global.idealborder[1] -fff = 25 -type = global.attacktype -if (type == 100) - global.turntimer = 90 -if (type == 1) -{ - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 80, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } - i = 0 - repeat (7) - { - bl = instance_create((240 + (i * 24)), 40, obj_blackbox_pl) - bl.vspeed = 4 - i += 1 - } -} -if (type == 2) -{ - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 120, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = 20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 60, obj_blackbox_pl) - bl.vspeed = 4 - bl.sf = -20 - i += 1 - } - i = 0 - repeat (9) - { - bl = instance_create((220 + (i * 24)), 0, obj_blackbox_pl) - bl.sf = 20 - bl.vspeed = 4 - i += 1 - } -} -if (type == 3) -{ - i = 0 - repeat (2) - { - ll = instance_create(216, (200 - (i * 80)), obj_metthand_l) - with (ll) - { - sf = 25 - sp = 15 - vspeed = 2 - yseg = 60 - } - rr = instance_create(360, (160 - (i * 80)), obj_metthand_r) - with (rr) - { - sf = 20 - sp = 12 - vspeed = 2 - yseg = 40 - } - i += 1 - } -} -if (type == 4) -{ - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - i = 0 - repeat (4) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 3 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 3 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 5) -{ - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 6) -{ - instance_create(240, 20, obj_blackbox_pl) - instance_create(240, 120, obj_blackbox_pl) - instance_create(264, 40, obj_blackbox_pl) - instance_create(264, 100, obj_blackbox_pl) - instance_create(264, 200, obj_blackbox_pl) - instance_create(288, 0, obj_blackbox_pl) - instance_create(288, 80, obj_blackbox_pl) - instance_create(288, 140, obj_blackbox_pl) - instance_create(312, 20, obj_blackbox_pl) - instance_create(312, 60, obj_blackbox_pl) - instance_create(312, 180, obj_blackbox_pl) - instance_create(336, 40, obj_blackbox_pl) - instance_create(336, 120, obj_blackbox_pl) - instance_create(336, 220, obj_blackbox_pl) - instance_create(360, 60, obj_blackbox_pl) - instance_create(360, 160, obj_blackbox_pl) - instance_create(384, 0, obj_blackbox_pl) - instance_create(384, 80, obj_blackbox_pl) - instance_create(384, 200, obj_blackbox_pl) - instance_create(240, 60, obj_plusbomb) - instance_create(240, 180, obj_plusbomb) - instance_create(264, 0, obj_plusbomb) - instance_create(264, 160, obj_plusbomb) - instance_create(288, 40, obj_plusbomb) - instance_create(312, 100, obj_plusbomb) - instance_create(336, 60, obj_plusbomb) - instance_create(336, 160, obj_plusbomb) - instance_create(360, 0, obj_plusbomb) - instance_create(360, 100, obj_plusbomb) - instance_create(384, 40, obj_plusbomb) - instance_create(384, 140, obj_plusbomb) - with (obj_blackbox_pl) - { - vspeed = 2 - y -= 200 - } - with (obj_plusbomb) - { - vspeed = 2 - y -= 200 - } -} -if (type == 7) -{ - j = 0 - repeat (16) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.5) - 0.2) - with (obj_blackbox_pl) - vspeed += (random(0.5) - 0.2) -} -if (type == 8) -{ - j = 0 - repeat (5) - { - instance_create(obj_heart.x, (-100 - (j * 240)), obj_plusbomb) - instance_create((obj_heart.x + 20), ((-100 - (j * 240)) + 120), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 2 -} -if (type == 9) -{ - j = 0 - repeat (10) - { - instance_create((obj_heart.x + choose(0, 20)), (-100 - (j * 150)), obj_plusbomb) - j += 1 - } - with (obj_plusbomb) - vspeed += 3 -} -if (type == 10) -{ - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 260)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 8 - obj_blackbox_pl.vspeed += 8 - instance_create(0, 0, obj_blackbox_rewinder) -} -if (type == 11) -{ - j = 0 - repeat (8) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 150)), obj_upbox_pl) - j += 1 - } - obj_upbox_pl.vspeed = 4 -} -if (type == 12) -{ - j = 0 - repeat (3) - { - for (i = 0; i < 5; i += 1) - instance_create((global.idealborder[0] + (25 * i)), (0 - (j * 200)), obj_upbox_new_pl) - j += 1 - } - j = 0 - repeat (8) - { - ch = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch * 25)), (0 - (j * 50)), obj_mettlightning_pl) - ch2 = choose(0, 1, 2, 3, 4) - instance_create(((global.idealborder[0] + 10) + (ch2 * 25)), (0 - (j * 75)), obj_mettlightning_pl) - j += 1 - } - obj_upbox_new_pl.vspeed = 4 -} -if (type == 13) -{ - j = 0 - repeat (7) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - j += 1 - } -} -if (type == 14) -{ - j = 0 - repeat (5) - { - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + random(150)), ((0 - (j * 150)) - (i * 50)), obj_mettfodder) - j += 1 - } -} -if (type == 15) -{ - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 3; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 16) -{ - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), 0, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[1] - (25 * (i + 1))), -125, obj_dancemett) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (25 * i)), -250, obj_dancemett) -} -if (type == 26) -{ - global.turntimer = 140 - j = 0 - repeat (4) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - for (i = 0; i < 4; i += 1) - instance_create((global.idealborder[0] + (g[i] * 25)), (((0 - (j * 95)) + random(60)) - 100), obj_blackbox_pl) - j += 1 - } - with (obj_blackbox_pl) - { - s = random(8) - sf = 3 - sp = 4 - vspeed += 2 - } -} -if (type == 27) -{ - global.turntimer = 165 - i = 0 - repeat (2) - { - bb = instance_create((global.idealborder[0] + (i * 25)), 30, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gil + 50), 30, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - i = 0 - repeat (2) - { - bb = instance_create(((gir - 25) - (i * 25)), -120, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - ll = instance_create((gir - 75), -120, obj_metthand_r) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - yseg = 999 - ysegi = 999 - } - ll = instance_create(gil, -250, obj_metthand_l) - with (ll) - { - sf = 1 - sp = 1 - vspeed = 4 - ysegi = 70 - } -} -if (type == 28) -{ - global.turntimer = 160 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -125, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - i = 0 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } - pl = instance_create((gil + 75), -230, obj_plusbomb) - pl.vspeed = 4 - i += 1 - repeat (3) - { - bb = instance_create((gil + (i * 25)), -230, obj_blackbox_pl) - bb.vspeed = 4 - i += 1 - } -} -if (type == 29) -{ - global.turntimer = 150 - j = 0 - repeat (5) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || (b2 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_plusbomb) - } - else if (b3 == i) - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_mettlightning_pl) - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 85)) + random(50)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += (random(0.6) + 1) - with (obj_blackbox_pl) - vspeed += (random(0.6) + 1) - with (obj_mettlightning_pl) - vspeed += (random(0.6) + 1) -} -if (type == 99) -{ - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -150, obj_metthand_r) - with (ll) - { - sf = 4 - sp = 3 - vspeed = 4 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (5) - { - i = 0 - repeat (5) - { - lt = instance_create((global.idealborder[0] + ((gir - gil) / 2)), (0 - (j * 50)), obj_mettlightning_pl) - lt.hspeed = (((-0.5 + (0.25 * i)) + random(0.2)) - 0.1) - lt.vspeed = ((1.5 + random(0.2)) - 0.1) - lt.friction = -0.05 - i += 1 - } - j += 1 - } -} -if (type == 30) -{ - global.turntimer = 200 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 80 - ll = instance_create(gil, -80, obj_mettleg_r) - ll.on = 0 - ll.sf = 80 - ll = instance_create((gil - 70), -240, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 90), -240, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil - 140), -380, obj_mettleg_l) - ll.on = 1 - ll.sf = 30 - ll = instance_create((gil + 30), -380, obj_mettleg_r) - ll.on = 1 - ll.sf = 30 - obj_mettleg_l.vspeed = 4 - obj_mettleg_r.vspeed = 4 -} -if (type == 31) -{ - global.turntimer = 190 - i = 0 - repeat (4) - { - mf = instance_create(gil, (-50 - (i * 70)), obj_mettfodder) - mf = instance_create((gir - 25), (-50 - (i * 70)), obj_mettfodder) - obj_mettfodder.vspeed = 5 - obj_mettfodder.type = 2 - i += 1 - } - i = 0 - repeat (5) - { - bl = instance_create(((gil + 25) + random(((gir - gil) - 75))), (-50 * i), obj_plusbomb) - i += 1 - } -} -if (type == 32) -{ - global.turntimer = 210 - i = 0 - ll = instance_create((gil - 45), 60, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), 20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create((gil - 45), -20, obj_mettleg_l) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -200, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -240, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - ll = instance_create(gil, -280, obj_mettleg_r) - ll.on = 0 - ll.sf = 60 - obj_mettleg_l.vspeed = 3.3 - obj_mettleg_r.vspeed = 3.3 - ks = instance_create((gil + 75), -175, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -50, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -150, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 - ks = instance_create((gil + 75), -75, obj_blackbox_pl) - ks.vspeed = 3.3 - ks.sf = 20 - ks.sp = 10 -} -if (type == 33) -{ - global.turntimer = 190 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - ll = instance_create(gir, -235, obj_metthand_r) - with (ll) - { - sf = 20 - sp = 7 - vspeed = 3.5 - yseg = 999 - ysegi = 40 - } - j = 0 - repeat (1) - { - i = 0 - repeat (5) - { - lt = instance_create(((gil + 25) + (i * 25)), -80, obj_mettfodder) - lt.vspeed = 3.5 - lt.type = 2 - lt.early = 80 - i += 1 - } - j += 1 - } -} -if (type == 34) -{ - global.turntimer = 90 - instance_create(0, 0, obj_essaystuff) -} -if (type == 35) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_1) -} -if (type == 36) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (3) - { - for (i = 0; i < 3; i += 1) - { - km = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 90)) - (i * 30)), obj_mettfodder) - } - j += 1 - } - obj_mettfodder.vspeed += 1 -} -if (type == 37) -{ - global.turntimer = 270 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 0 -} -if (type == 38) -{ - global.turntimer = 193 - ds = instance_create(308, (global.idealborder[2] - 10), obj_discoball_pl) - obj_heart.x += 7 - obj_heart.y += 10 - ds.diff = 1 - if (global.specialdam[0] > 1) - { - ds.diff = 0 - global.turntimer = 270 - } -} -if (type == 39) -{ - global.turntimer = 210 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (2) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - } -} -if (type == 40) -{ - global.turntimer = 160 - specialtimer = 2 - j = 0 - oo = (global.idealborder[0] + 5) - repeat (3) - { - bb = instance_create(oo, (-200 - (j * 260)), obj_plusbomb) - bb.side = 1 - bb = instance_create((oo + 20), ((-200 - (j * 260)) + 120), obj_plusbomb) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - if (global.specialdam[1] < 2) - { - vspeed += 2 - vspeed += 1 - } - } -} -if (type == 41) -{ - global.turntimer = 110 - instance_create((global.idealborder[0] + 30), (global.idealborder[2] + 10), obj_happybreaktime) -} -if (type == 42) -{ - global.turntimer = 600 - bossheart = instance_create(320, 162, obj_mettheart_2) -} -if (type == 99) -{ - global.turntimer = 180 - i = 0 - ll = instance_create(202, 140, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 40, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - } - rr = instance_create(212, 10, obj_mettleg_r) - with (rr) - { - sf = 30 - sp = 6 - vspeed = 3 - c = 2 - } - ll = instance_create(202, -100, obj_mettleg_l) - with (ll) - { - sf = 30 - sp = 6 - vspeed = 3 - } - ll = instance_create(202, -130, obj_mettleg_l) - with (ll) - { - c = 2 - sf = 30 - sp = 6 - vspeed = 3 - } - i = 0 - obj_mettleg_r.on = 1 - obj_mettleg_l.on = 1 -} -if (type == 43) -{ - global.turntimer = 200 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (0 - (j * 180)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 3 - obj_blackbox_pl.vspeed += 3 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.maxrw = 10 -} -if (type == 44) -{ - global.turntimer = 220 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-60 - (j * 250)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 6 - obj_blackbox_pl.vspeed += 6 - rw = instance_create(0, 0, obj_blackbox_rewinder) - if (global.specialdam[2] > 2) - { - rw.maxrw = 10 - obj_plusbomb.vspeed -= 1 - obj_blackbox_pl.vspeed -= 1 - } -} -if (type == 45) -{ - global.turntimer = 165 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(20)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 46) -{ - global.turntimer = 140 - j = 0 - repeat (10) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 54)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((2.5 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((2.5 + random(0.5)) - 0.2) -} -if (type == 47) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - obj_heart.x = global.idealborder[0] - repeat (6) - { - ch = choose(5, 25) - bb = instance_create((obj_heart.x + ch), (-100 - (j * 180)), obj_plusbomb) - if (ch == 5) - bb.side = 1 - if (ch == 25) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - { - vspeed += 3 - if (global.specialdam[1] > 3) - vspeed -= 1 - } -} -if (type == 48) -{ - global.turntimer = 700 - bossheart = instance_create(320, 162, obj_mettheart_3) -} -if (type == 49) -{ - global.turntimer = 800 - bossheart = instance_create(320, 232, obj_mettheart_4) -} -if (type == 50) -{ - global.turntimer = 170 - ll = instance_create(gil, -25, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gir, -185, obj_metthand_r) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - ll = instance_create(gil, -345, obj_metthand_l) - with (ll) - { - s = random(300) - sf = 50 - sp = 10 - vspeed = 4.5 - yseg = 999 - ysegi = 80 - } - j = 0 -} -if (type == 51) -{ - global.turntimer = 160 - ds = instance_create(308, global.idealborder[2], obj_discoball_pl) - ds.diff = 2 -} -if (type == 52) -{ - global.turntimer = 150 - j = 0 - repeat (9) - { - g[0] = choose(0, 1) - g[1] = (g[0] + choose(1, 2)) - g[2] = (g[1] + choose(1, 2)) - g[3] = choose(5, 6) - b = choose(0, 1, 2, 3) - b2 = choose(0, 1, 2, 3) - b3 = choose(0, 1, 2, 3) - bm = 0 - for (i = 0; i < 4; i += 1) - { - if (b == i || b2 == i || (b3 == i && bm < 3)) - { - bm += 1 - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_plusbomb) - } - else - instance_create((global.idealborder[0] + (g[i] * 25)), ((0 - (j * 45)) + random(25)), obj_blackbox_pl) - } - j += 1 - } - with (obj_plusbomb) - vspeed += ((1 + random(0.5)) - 0.2) - with (obj_blackbox_pl) - vspeed += ((1 + random(0.5)) - 0.2) -} -if (type == 53) -{ - global.turntimer = 200 - specialtimer = 2 - j = 0 - global.idealborder[1] = (global.idealborder[0] + 50) - obj_heart.x = global.idealborder[0] - oo = (global.idealborder[0] + 5) - repeat (7) - { - ch = choose(0, 20) - bb = instance_create((oo + ch), (-100 - (j * 170)), obj_plusbomb) - if (ch == 0) - bb.side = 1 - if (ch == 20) - bb.side = 2 - j += 1 - } - with (obj_plusbomb) - vspeed += 3.5 -} -if (type == 54) -{ - global.turntimer = 250 - specialtimer = 1 - j = 0 - repeat (4) - { - for (i = 0; i < 3; i += 1) - { - f = instance_create((global.idealborder[0] + random(150)), ((0 - (j * 120)) - (i * 40)), obj_mettfodder) - f.vspeed += 0.5 - t = instance_create((global.idealborder[0] + random(150)), (((0 - (j * 120)) - (i * 40)) - 20), obj_mettlightning_pl) - t.direction += (random(20) - 10) - t.vspeed += 2 - t.friction = -0.02 - } - j += 1 - } -} -if (type == 55) -{ - global.turntimer = 170 - i = 0 - repeat (4) - { - ll = instance_create((96 + (24 * i)), (180 - (i * 40)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((312 + (24 * i)), (180 - (i * 40)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - i = 0 - repeat (3) - { - ll = instance_create((144 - (24 * i)), (20 - (i * 50)), obj_mettleg_l) - with (ll) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - rr = instance_create((360 - (24 * i)), (20 - (i * 50)), obj_mettleg_r) - with (rr) - { - sf = 60 - sp = 6 - vspeed = 2.8 - } - i += 1 - } - obj_mettleg_r.on = 0 - obj_mettleg_l.on = 0 -} -if (type == 56) -{ - global.turntimer = 260 - j = 0 - repeat (8) - { - bm1 = choose(0, 1, 2, 3, 4) - bm2 = choose(0, 1, 2, 3, 4) - if (bm2 == bm1) - bm2 += 1 - for (i = 0; i < 4; i += 1) - { - if (bm1 == i || bm2 == i || j == i) - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_plusbomb) - else - instance_create((global.idealborder[0] + (i * 25)), (-100 - (j * 240)), obj_blackbox_pl) - } - j += 1 - } - obj_plusbomb.vspeed += 5 - obj_blackbox_pl.vspeed += 5 - rw = instance_create(0, 0, obj_blackbox_rewinder) - rw.rew = -40 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_movedogehead_Alarm_2.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_movedogehead_Alarm_2.gml deleted file mode 100644 index 7b8438b88..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_movedogehead_Alarm_2.gml +++ /dev/null @@ -1,63 +0,0 @@ -if (sprite_index == spr_movedogeheada) - exit -if (specialx == 1) -{ - alarm[2] = 2 - if (global.mnfight == 2) - alarm[2] = (round(random(10)) + 8) - else - { - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - exit - specialx = 0 - alarm[2] = -1 - } - gg = floor(random(3)) - if instance_exists(blcon) - { - with (blcon) - instance_destroy() - } - if instance_exists(blconwd) - { - with (blconwd) - instance_destroy() - } - if (gg == 0) - { - xx = ((x - random((sprite_width / 2))) - 40) - yy = (y + random((sprite_height / 3))) - } - if (gg == 1) - { - xx = ((x + random((sprite_width / 3))) + 100) - yy = (y + random((sprite_height / 3))) - } - if (gg == 2) - { - xx = ((x + random(sprite_width)) - (sprite_width / 2)) - yy = (y - 18) - } - blcon = instance_create(xx, yy, obj_blconsm) - blcon.depth = 14 - blcon.sprite_index = spr_blcontiny - if (gg == 0) - global.msg[0] = "PET?" - if (gg == 1) - global.msg[0] = "PAT?" - if (gg == 2) - global.msg[0] = "POT?" - global.msg[1] = "%%%" - global.typer = 2 - blconwd = instance_create((blcon.x + 15), (blcon.y + 10), OBJ_NOMSCWRITER) - blconwd.depth = 13 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_overworldcontroller_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_overworldcontroller_Draw_0.gml deleted file mode 100644 index 22357d594..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_overworldcontroller_Draw_0.gml +++ /dev/null @@ -1,507 +0,0 @@ -buffer += 1 -if (global.interact == 5) -{ - currentmenu = global.menuno - if (global.menuno < 6) - currentspot = global.menucoord[global.menuno] - xx = view_xview[view_current] - yy = (view_yview[view_current] + 10) - moveyy = yy - if (obj_mainchara.y > (yy + 120)) - moveyy += 135 - if (global.menuno != 4) - { - draw_set_color(c_white) - draw_rectangle((16 + xx), (16 + moveyy), (86 + xx), (70 + moveyy), false) - draw_rectangle((16 + xx), (74 + yy), (86 + xx), (147 + yy), false) - if (global.menuno == 1 || global.menuno == 5 || global.menuno == 6) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (196 + yy), false) - if (global.menuno == 2) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (224 + yy), false) - if (global.menuno == 3) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (150 + yy), false) - if (global.menuno == 7) - draw_rectangle((94 + xx), (16 + yy), (266 + xx), (216 + yy), false) - draw_set_color(c_black) - draw_rectangle((19 + xx), (19 + moveyy), (83 + xx), (67 + moveyy), false) - draw_rectangle((19 + xx), (77 + yy), (83 + xx), (144 + yy), false) - if (global.menuno == 1 || global.menuno == 5 || global.menuno == 6) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (193 + yy), false) - if (global.menuno == 2) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (221 + yy), false) - if (global.menuno == 3) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (147 + yy), false) - if (global.menuno == 7) - draw_rectangle((97 + xx), (19 + yy), (263 + xx), (213 + yy), false) - draw_set_color(c_white) - draw_set_font(fnt_small) - draw_text((23 + xx), (49 + moveyy), ((("HP " + string(global.hp)) + "/") + string(global.maxhp))) - draw_text((23 + xx), (40 + moveyy), ("LV " + string(global.lv))) - draw_text((23 + xx), (58 + moveyy), ("G " + string(global.gold))) - draw_set_font(fnt_maintext) - draw_text((23 + xx), (20 + moveyy), global.charname) - if (global.menuchoice[0] == 1) - draw_text((42 + xx), (84 + yy), "ITEM") - if (global.menuchoice[1] == 1) - draw_text((42 + xx), (102 + yy), "STAT") - if (global.menuchoice[2] == 1) - draw_text((42 + xx), (120 + yy), "CELL") - if (global.menuno == 1 || global.menuno == 5) - { - for (i = 0; i < 8; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.itemname[i]) - draw_text((116 + xx), (170 + yy), "USE") - draw_text(((116 + xx) + 48), (170 + yy), "INFO") - draw_text(((116 + xx) + 105), (170 + yy), "DROP") - } - } - if (global.menuno == 3) - { - for (i = 0; i < 7; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.phonename[i]) - } - if (global.menuno == 6) - { - scr_itemname() - for (i = 0; i < 8; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.itemname[i]) - } - if (global.menuno == 7) - { - scr_storagename(300) - for (i = 0; i < 10; i += 1) - draw_text((116 + xx), ((30 + yy) + (i * 16)), global.itemname[i]) - } - if (global.menuno == 2) - { - draw_text((108 + xx), (32 + yy), (('"' + global.charname) + '"')) - draw_text((108 + xx), (62 + yy), ("LV " + string(global.lv))) - draw_text((108 + xx), (78 + yy), ((("HP " + string(global.hp)) + " / ") + string(global.maxhp))) - draw_text((108 + xx), (110 + yy), (((("AT " + string((global.at - 10))) + " (") + string(global.wstrength)) + ")")) - draw_text((108 + xx), (126 + yy), (((("DF " + string((global.df - 10))) + " (") + string(global.adef)) + ")")) - weaponname = " " - armorname = " " - if (global.weapon == 3) - weaponname = "Stick" - if (global.weapon == 13) - weaponname = "Toy Knife" - if (global.weapon == 14) - weaponname = "Tough Glove" - if (global.weapon == 25) - weaponname = "Ballet Shoes" - if (global.weapon == 45) - weaponname = "Torn Notebook" - if (global.weapon == 47) - weaponname = "Burnt Pan" - if (global.weapon == 49) - weaponname = "Empty Gun" - if (global.weapon == 51) - weaponname = "Worn Dagger" - if (global.weapon == 52) - weaponname = "Real Knife" - if (global.armor == 4) - armorname = "Bandage" - if (global.armor == 12) - armorname = "Faded Ribbon" - if (global.armor == 15) - armorname = "Manly Bandanna" - if (global.armor == 24) - armorname = "Old Tutu" - if (global.armor == 44) - armorname = "Clouded Glasses" - if (global.armor == 46) - armorname = "Stained Apron" - if (global.armor == 48) - armorname = "Cowboy Hat" - if (global.armor == 50) - armorname = "Heart Locket" - if (global.armor == 53) - armorname = "The Locket" - if (global.armor == 64) - armorname = "Temmie Armor" - draw_text((108 + xx), (156 + yy), ("WEAPON: " + weaponname)) - draw_text((108 + xx), (172 + yy), ("ARMOR: " + armorname)) - draw_text((108 + xx), (192 + yy), ("GOLD: " + string(global.gold))) - if (global.kills > 20) - draw_text((192 + xx), (192 + yy), ("KILLS: " + string(global.kills))) - if (string_length(global.charname) >= 7) - draw_text((192 + xx), (32 + yy), "Easy to#change,#huh?") - draw_text((192 + xx), (110 + yy), ("EXP: " + string(global.xp))) - if (global.lv == 1) - nextlevel = (10 - global.xp) - if (global.lv == 2) - nextlevel = (30 - global.xp) - if (global.lv == 3) - nextlevel = (70 - global.xp) - if (global.lv == 4) - nextlevel = (120 - global.xp) - if (global.lv == 5) - nextlevel = (200 - global.xp) - if (global.lv == 6) - nextlevel = (300 - global.xp) - if (global.lv == 7) - nextlevel = (500 - global.xp) - if (global.lv == 8) - nextlevel = (800 - global.xp) - if (global.lv == 9) - nextlevel = (1200 - global.xp) - if (global.lv == 10) - nextlevel = (1700 - global.xp) - if (global.lv == 11) - nextlevel = (2500 - global.xp) - if (global.lv == 12) - nextlevel = (3500 - global.xp) - if (global.lv == 13) - nextlevel = (5000 - global.xp) - if (global.lv == 14) - nextlevel = (7000 - global.xp) - if (global.lv == 15) - nextlevel = (10000 - global.xp) - if (global.lv == 16) - nextlevel = (15000 - global.xp) - if (global.lv == 17) - nextlevel = (25000 - global.xp) - if (global.lv == 18) - nextlevel = (50000 - global.xp) - if (global.lv == 19) - nextlevel = (99999 - global.xp) - if (global.lv >= 20) - nextlevel = 0 - draw_text((192 + xx), (126 + yy), ("NEXT: " + string(nextlevel))) - } - if (global.menuno == 4) - { - iniread = ini_open("undertale.ini") - name = ini_read_string("General", "Name", "EMPTY") - love = ini_read_real("General", "Love", 0) - time = ini_read_real("General", "Time", 1) - kills = ini_read_real("General", "Kills", 0) - roome = ini_read_real("General", "Room", 0) - ini_close() - draw_set_font(fnt_maintext) - draw_set_color(c_white) - draw_rectangle((54 + xx), (49 + yy), (265 + xx), (135 + yy), false) - draw_set_color(c_black) - draw_rectangle((57 + xx), (52 + yy), (262 + xx), (132 + yy), false) - draw_set_color(c_white) - if (global.menucoord[4] == 2) - draw_set_color(c_yellow) - minutes = floor((time / 1800)) - seconds = round((((time / 1800) - minutes) * 60)) - if (seconds == 60) - seconds = 59 - if (seconds < 10) - seconds = ("0" + string(seconds)) - script_execute(scr_roomname, roome) - draw_text((70 + xx), (60 + yy), name) - draw_text((140 + xx), (60 + yy), ("LV " + string(love))) - draw_text((210 + xx), (60 + yy), ((string(minutes) + ":") + string(seconds))) - draw_text((70 + xx), (80 + yy), roomname) - if (global.menucoord[4] == 0) - draw_sprite(spr_heartsmall, 0, (xx + 71), (yy + 113)) - if (global.menucoord[4] == 1) - draw_sprite(spr_heartsmall, 0, (xx + 161), (yy + 113)) - if (global.menucoord[4] < 2) - { - draw_text((xx + 85), (yy + 110), "Save") - draw_text((xx + 175), (yy + 110), "Return") - } - else - { - draw_text((xx + 85), (yy + 110), "File saved.") - if keyboard_multicheck_pressed(13) - { - global.menuno = -1 - global.interact = 0 - global.menucoord[4] = 0 - keyboard_clear(vk_return) - } - } - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (global.menucoord[4] < 2) - { - if (global.menucoord[4] == 1) - global.menucoord[4] = 0 - else - global.menucoord[4] = 1 - keyboard_clear(vk_left) - keyboard_clear(vk_right) - } - } - if (keyboard_multicheck_pressed(13) && global.menucoord[4] == 0) - { - snd_play(snd_save) - script_execute(scr_save) - global.menucoord[4] = 2 - keyboard_clear(vk_return) - } - if (keyboard_multicheck_pressed(13) && global.menucoord[4] == 1) - { - global.menuno = -1 - global.interact = 0 - global.menucoord[4] = 0 - keyboard_clear(vk_return) - } - if keyboard_multicheck_pressed(16) - { - global.menuno = -1 - global.interact = 0 - global.menucoord[4] = 0 - keyboard_clear(vk_shift) - } - } - if (global.menuno == 0) - draw_sprite(spr_heartsmall, 0, (28 + xx), ((88 + yy) + (18 * global.menucoord[0]))) - if (global.menuno == 1) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[1]))) - if (global.menuno == 3) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[3]))) - if (global.menuno == 6) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[6]))) - if (global.menuno == 7) - draw_sprite(spr_heartsmall, 0, (104 + xx), ((34 + yy) + (16 * global.menucoord[7]))) - if (global.menuno == 5) - { - if (global.menucoord[5] == 0) - draw_sprite(spr_heartsmall, 0, ((104 + xx) + (45 * global.menucoord[5])), (174 + yy)) - if (global.menucoord[5] == 1) - draw_sprite(spr_heartsmall, 0, ((104 + xx) + ((45 * global.menucoord[5]) + 3)), (174 + yy)) - if (global.menucoord[5] == 2) - draw_sprite(spr_heartsmall, 0, ((104 + xx) + ((45 * global.menucoord[5]) + 15)), (174 + yy)) - } - if keyboard_multicheck_pressed(13) - { - if (global.menuno == 5) - { - if (global.menucoord[5] == 0) - { - global.menuno = 9 - script_execute(scr_itemuseb, global.menucoord[1], global.item[global.menucoord[1]]) - } - if (global.menucoord[5] == 1) - { - global.menuno = 9 - script_execute(scr_itemdesc, global.item[global.menucoord[1]]) - script_execute(scr_writetext, 0, "x", 0, 0) - } - if (global.menucoord[5] == 2) - { - global.menuno = 9 - dontthrow = 0 - if (global.item[global.menucoord[1]] != 23 && global.item[global.menucoord[1]] != 27 && global.item[global.menucoord[1]] != 54 && global.item[global.menucoord[1]] != 56 && global.item[global.menucoord[1]] != 57) - script_execute(scr_writetext, 12, "x", 0, 0) - else - { - if (global.item[global.menucoord[1]] == 23) - script_execute(scr_writetext, 23, "x", 0, 0) - if (global.item[global.menucoord[1]] == 27) - { - script_execute(scr_writetext, 0, "* (You put the dog on the& ground.)/%%", 0, 0) - if instance_exists(obj_rarependant) - { - with (obj_rarependant) - con = 1 - } - } - if (global.item[global.menucoord[1]] == 54) - { - script_execute(scr_writetext, 0, "* (You threw the Bad Memory& away.^1)&* (But it came back.)/%%", 0, 0) - dontthrow = 1 - } - if (global.item[global.menucoord[1]] == 56) - { - if (!instance_exists(obj_undyne_friendc)) - { - script_execute(scr_writetext, 0, "* (Despite what seems like& common sense^1, you threw& away the letter.)/%%", 0, 0) - global.flag[494] = 1 - } - else - { - global.faceemotion = 1 - script_execute(scr_writetext, 0, "* Hey^1! Don't throw that& away^1! Just deliver it!/%%", 5, 37) - dontthrow = 1 - } - } - if (global.item[global.menucoord[1]] == 57) - { - script_execute(scr_writetext, 0, "* (The letter is too powerful to& throw away.^1)&* (It gets the better of you.)/%%", 0, 0) - dontthrow = 1 - } - } - if (dontthrow == 0) - script_execute(scr_itemshift, global.menucoord[1], 0) - } - } - if (global.menuno == 3) - { - global.menuno = 9 - script_execute(scr_itemuseb, global.menucoord[3], global.phone[global.menucoord[3]]) - } - if (global.menuno == 6) - { - global.menuno = 9 - script_execute(scr_storageget, global.item[global.menucoord[6]], 300) - if (noroom == 0) - { - script_execute(scr_writetext, 16, "x", 0, 0) - script_execute(scr_itemshift, global.menucoord[6], 0) - } - else - script_execute(scr_writetext, 19, "x", 0, 0) - } - if (global.menuno == 7) - { - global.menuno = 9 - script_execute(scr_itemget, global.flag[(global.menucoord[7] + 300)]) - if (noroom == 0) - { - script_execute(scr_writetext, 17, "x", 0, 0) - script_execute(scr_storageshift, global.menucoord[7], 0, 300) - } - else - script_execute(scr_writetext, 18, "x", 0, 0) - } - if (global.menuno == 1) - { - global.menuno = 5 - global.menucoord[5] = 0 - } - if (global.menuno == 0) - global.menuno += (global.menucoord[0] + 1) - if (global.menuno == 3) - { - script_execute(scr_phonename) - global.menucoord[3] = 0 - } - if (global.menuno == 1) - { - if (global.item[0] != 0) - { - global.menucoord[1] = 0 - script_execute(scr_itemname) - } - else - global.menuno = 0 - } - } - if keyboard_check_pressed(vk_up) - { - if (global.menuno == 0) - { - if (global.menucoord[0] != 0) - global.menucoord[0] -= 1 - } - if (global.menuno == 1) - { - if (global.menucoord[1] != 0) - global.menucoord[1] -= 1 - } - if (global.menuno == 3) - { - if (global.menucoord[3] != 0) - global.menucoord[3] -= 1 - } - if (global.menuno == 6) - { - if (global.menucoord[6] != 0) - global.menucoord[6] -= 1 - } - if (global.menuno == 7) - { - if (global.menucoord[7] != 0) - global.menucoord[7] -= 1 - } - } - if keyboard_check_pressed(vk_down) - { - if (global.menuno == 0) - { - if (global.menucoord[0] != 2) - { - if (global.menuchoice[(global.menucoord[0] + 1)] != 0) - global.menucoord[0] += 1 - } - } - if (global.menuno == 1) - { - if (global.menucoord[1] != 7) - { - if (global.item[(global.menucoord[1] + 1)] != 0) - global.menucoord[1] += 1 - } - } - if (global.menuno == 3) - { - if (global.menucoord[3] != 7) - { - if (global.phone[(global.menucoord[3] + 1)] != 0) - global.menucoord[3] += 1 - } - } - if (global.menuno == 6) - { - if (global.menucoord[6] != 7) - { - if (global.item[(global.menucoord[6] + 1)] != 0) - global.menucoord[6] += 1 - } - } - if (global.menuno == 7) - { - if (global.menucoord[7] != 9) - { - if (global.flag[(global.menucoord[7] + 301)] != 0) - global.menucoord[7] += 1 - } - } - } - if (keyboard_multicheck_pressed(16) && buffer >= 0) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - } - else if (global.menuno <= 3) - global.menuno = 0 - if (global.menuno == 5) - global.menuno = 1 - } - if keyboard_check_pressed(vk_right) - { - if (global.menuno == 5) - { - if (global.menucoord[5] != 2) - global.menucoord[5] += 1 - } - } - if keyboard_check_pressed(vk_left) - { - if (global.menuno == 5) - { - if (global.menucoord[5] != 0) - global.menucoord[5] -= 1 - } - } - if keyboard_multicheck_pressed(17) - { - if (global.menuno == 0) - { - global.menuno = -1 - global.interact = 0 - } - } - if (currentmenu < global.menuno && global.menuno != 9) - snd_play(snd_select) - else if (global.menuno >= 0 && global.menuno < 6) - { - if (currentspot != global.menucoord[global.menuno]) - snd_play(snd_squeak) - } -} -if (global.menuno == 9 && instance_exists(obj_dialoguer) == 0) -{ - global.menuno = -1 - global.interact = 0 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_papyrusboss_Step_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_papyrusboss_Step_0.gml deleted file mode 100644 index 7681fda13..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_papyrusboss_Step_0.gml +++ /dev/null @@ -1,1150 +0,0 @@ -if (global.mnfight == 3) - attacked = 0 -if (alarm[5] > 0) -{ - if (global.monster[0] == true) - { - if (global.monsterinstance[0].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[0].alarm[5] - } - if (global.monster[1] == true) - { - if (global.monsterinstance[1].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[1].alarm[5] - } - if (global.monster[2] == true) - { - if (global.monsterinstance[2].alarm[5] > alarm[5]) - alarm[5] = global.monsterinstance[2].alarm[5] - } -} -if (global.mnfight == 1) -{ - if (talked == 0) - { - alarm[5] = 320 - alarm[6] = 2 - talked = 1 - global.heard = 0 - } -} -if (keyboard_multicheck_pressed(13) && talkify == 0) -{ - if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0) - alarm[5] = 2 -} -if (talkify == 1 && instance_exists(OBJ_WRITER) == 0) -{ - alarm[5] = -2 - with (blconwd) - instance_destroy() - with (blcon) - instance_destroy() - talkify = 0 - talked = 0 - whatiheard = -1 - global.mnfight = 2 -} -if (global.hurtanim[myself] == 1) -{ - shudder = 16 - alarm[3] = global.damagetimer - global.hurtanim[myself] = 3 -} -if (global.hurtanim[myself] == 2) -{ - global.monsterhp[myself] -= takedamage - with (dmgwriter) - alarm[2] = 15 - if (global.monsterhp[myself] >= 1) - { - mypart1 = instance_create(x, y, part1) - global.hurtanim[myself] = 0 - image_index = 0 - global.myfight = 0 - global.mnfight = 1 - } - else - { - global.myfight = 0 - global.mnfight = 99 - killed = 1 - event_user(3) - } -} -if (global.hurtanim[myself] == 5) -{ - global.damage = 0 - instance_create(((x + (sprite_width / 2)) - 48), (y - 24), obj_dmgwriter) - with (obj_dmgwriter) - alarm[2] = 30 - global.myfight = 0 - global.mnfight = 1 - global.hurtanim[myself] = 0 -} -if (global.mnfight == 2) -{ - if (attacked == 0) - { - global.turntimer = 4 - global.firingrate = 15 - if (truefight == 0 && mycommand >= 0) - { - global.turntimer = 140 - if (murder == 1) - global.turntimer = 2 - global.border = 5 - bz = round(random(20)) - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - (20 + bz)), blt_sizebone) - with (gen) - hspeed = -3 - bz = round(random(20)) - gen = instance_create((global.idealborder[1] + 90), (global.idealborder[3] - (20 + bz)), blt_sizebone) - with (gen) - hspeed = -3 - bz = round(random(20)) - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - (20 + bz)), blt_sizebone) - with (gen) - hspeed = -3 - } - if (truefight == 1) - obj_heart.sprite_index = spr_heartblue - if (truefight == 1 && fighto == 15) - { - dontcancel = 4 - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - global.turntimer = 1300 - global.border = 5 - k = (global.idealborder[1] + 1900) - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 160), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 210), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 360), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 540), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 540), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[0] - 640), (global.idealborder[3] - 50), blt_topbone) - gen.hspeed = 4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 50), blt_topbone) - gen.hspeed = -4 - gen.osc = -4 - gen.oscmin = -1 - gen.oscmax = 60 - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 740), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 740), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 890), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 890), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 1090), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1120), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1150), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[0] - 1340), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[0] - 1370), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[0] - 1400), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 2000), (global.idealborder[3] - 40), blt_scootdog) - gen.hspeed = -5 - gen = instance_create((global.idealborder[1] + 2240), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_cbone - gen = instance_create((global.idealborder[1] + 2280), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_oolbone - gen = instance_create((global.idealborder[1] + 2500), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_dbone - gen = instance_create((global.idealborder[1] + 2540), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -5 - gen.sprite_index = spr_udebone - gen = instance_create((global.idealborder[1] + 2220), (global.idealborder[3] - 60), blt_scootdog) - gen.hspeed = -4 - gen.sprite_index = spr_skatebone - gen = instance_create((k + 10), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 70), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 130), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 190), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 250), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 310), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 370), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 430), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 490), (global.idealborder[3] - 60), blt_coolbus) - gen.hspeed = -3 - gen = instance_create((k + 550), (global.idealborder[3] - 240), blt_superbone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 970), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -1 - fighto = 16 - } - if (truefight == 1 && fighto == 14 && xfight > 3) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - fighto = 15 - xfight = 0 - dontcancel = 1 - global.border = 50 - instance_create(global.idealborder[1], (global.idealborder[3] - 40), blt_tobydogbone) - alarm[7] = 80 - } - if (truefight == 1 && fighto == 14) - { - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - xfight += 1 - if (mycommand < 20) - { - global.turntimer = 210 - global.border = 5 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 90), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 120), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 150), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 180), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 210), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 240), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 680), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 720), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 800), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 840), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 880), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 920), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - } - if (mycommand >= 20 && mycommand < 40) - { - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 90), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 250), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 330), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 410), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 490), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 570), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 1150), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -8 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 1230), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -8 - gen.blue = 0 - } - if (mycommand >= 40) - fighto = (floor(random(11)) + 2) - } - if (truefight == 1 && fighto == 13) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 220 - global.border = 5 - gen = instance_create((global.idealborder[1] + 20), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 100), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 240), (global.idealborder[3] - 10), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 270), (global.idealborder[3] - 10), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 300), (global.idealborder[3] - 10), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 40 - gen = instance_create((global.idealborder[1] + 580), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 580), (global.idealborder[3] - 60), blt_topbone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 40 - } - if (truefight == 1 && fighto == 12) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 87), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 114), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 141), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 168), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 195), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 222), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 600), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 680), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 720), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 800), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -6.4 - gen = instance_create((global.idealborder[1] + 840), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6.4 - } - if (truefight == 1 && fighto == 11) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 250 - global.border = 5 - gen = instance_create((global.idealborder[1] + 60), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 140), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 220), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 300), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 380), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 540), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 620), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4.5 - gen.blue = 0 - gen = instance_create((global.idealborder[1] + 1250), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = -7 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 1330), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -7 - gen.blue = 0 - } - if (truefight == 1 && fighto == 10) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 230 - global.border = 5 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 80), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 80), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 100), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 100), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 280), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 280), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 295), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 295), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 600), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 620), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -3 - gen.oscmin = -1 - gen.oscmax = 60 - blt_topbone.speed = 4.2 - blt_sizebone.speed = 4.2 - } - if (truefight == 1 && fighto == 9) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 355 - global.border = 5 - gen = instance_create((global.idealborder[1] + 60), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 220), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 220), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 500), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 500), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 640), (global.idealborder[3] - 70), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 780), (global.idealborder[3] - 10), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 780), (global.idealborder[3] - 50), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 990), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 990), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen.osc = -1 - gen.oscmin = -1 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1130), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -20 - gen.oscmax = 30 - gen = instance_create((global.idealborder[1] + 1130), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = -4 - gen.osc = -2 - gen.oscmin = -20 - gen.oscmax = 30 - blt_topbone.speed = 4.2 - blt_sizebone.speed = 4.2 - } - if (truefight == 1 && fighto == 8) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 230 - global.border = 5 - gen = instance_create((global.idealborder[1] + 40), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 170), (global.idealborder[3] - 70), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 310), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 310), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 460), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 610), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 610), (global.idealborder[3] - 100), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = -4 - blt_topbone.speed = 4.4 - blt_sizebone.speed = 4.4 - } - if (truefight == 1 && fighto == 7) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 150 - global.border = 5 - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 110), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 210), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 110), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 210), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 310), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -2 - if (xfight > 0) - blt_sizebone.speed = 4.4 - else - { - blt_sizebone.speed = 4 - global.turntimer = 150 - } - } - if (truefight == 1 && fighto == 6) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 110), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[0] - 210), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = 2 - gen = instance_create((global.idealborder[1] + 10), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 110), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = -2 - gen = instance_create((global.idealborder[1] + 210), (global.idealborder[3] - 35), blt_sizebone) - gen.hspeed = -2 - } - if (truefight == 1 && fighto == 5) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 330 - global.border = 5 - gen = instance_create((global.idealborder[1] + 40), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 70), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 100), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 130), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 160), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 190), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 300), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 330), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 360), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 390), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 700), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 730), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 760), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 790), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 820), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 850), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 970), (global.idealborder[3] - 15), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 1000), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 1030), (global.idealborder[3] - 45), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 1060), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - } - if (truefight == 1 && fighto == 4) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 240 - global.border = 5 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 60), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 170), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 170), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 190), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 190), (global.idealborder[3] - 110), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 320), (global.idealborder[3] - 90), blt_sizebone) - gen.hspeed = 4 - gen.blue = 1 - gen = instance_create((global.idealborder[1] + 480), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 700), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 700), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 700), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 700), (global.idealborder[3] - 80), blt_topbone) - gen.hspeed = 4 - } - if (truefight == 1 && fighto == 3) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 150 - global.border = 5 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 40), (global.idealborder[3] - 90), blt_topbone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[1] + 140), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[0] - 260), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 280), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 300), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 320), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 340), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 360), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 380), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 400), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - if (xfight > 0) - { - with (blt_sizebone) - speed = 4.5 - } - } - if (truefight == 1 && fighto == 2) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 240 - global.border = 5 - gen = instance_create((global.idealborder[0] - 30), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3.5 - gen = instance_create((global.idealborder[0] - 160), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3.5 - gen = instance_create((global.idealborder[0] - 290), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3.5 - gen = instance_create((global.idealborder[0] - 390), (global.idealborder[3] - 80), blt_sizebone) - gen.hspeed = 3.5 - gen.blue = 1 - if (xfight > 0) - blt_sizebone.speed = 4 - gen = instance_create((global.idealborder[1] + 1120), (global.idealborder[3] - 30), blt_sizebone) - gen.hspeed = -6 - } - if (truefight == 1 && fighto == 1) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 220 - global.border = 5 - gen = instance_create((global.idealborder[0] - 10), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = 3 - gen = instance_create((global.idealborder[0] - 80), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = 3 - gen = instance_create((global.idealborder[0] - 230), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 310), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 390), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 490), (global.idealborder[3] - 50), blt_sizebone) - gen.hspeed = 4 - gen = instance_create((global.idealborder[0] - 580), (global.idealborder[3] - 40), blt_topbone) - gen.hspeed = 4 - if (xfight > 0) - blt_sizebone.speed = 4.5 - } - if (truefight == 1 && fighto == 0) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - } - global.turntimer = 300 - global.border = 5 - gen = instance_create((global.idealborder[1] + 20), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 150), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 280), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 410), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -4 - gen = instance_create((global.idealborder[1] + 390), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 510), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 630), (global.idealborder[3] - 60), blt_sizebone) - gen.hspeed = -3 - } - if (truefight == 1 && fighto == -1) - { - fighto += 1 - if (truefight == 1) - { - obj_heart.movement = 2 - obj_heart.vspeed = -1 - obj_heart.jumpstage = 2 - obj_heart.sprite_index = spr_heartblue - } - global.turntimer = 200 - global.border = 5 - gen = instance_create((global.idealborder[1] + 30), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 200), (global.idealborder[3] - 20), blt_sizebone) - gen.hspeed = -3 - gen = instance_create((global.idealborder[1] + 370), (global.idealborder[3] - 40), blt_sizebone) - gen.hspeed = -3 - } - if (mycommand == -1) - { - global.border = 5 - global.turntimer = 300 - gen = instance_create(x, y, obj_blueattackgen) - } - if instance_exists(gen) - gen.myself = myself - hearthp = global.hp - if (mycommand >= 0) - global.msg[0] = "* Papyrus is preparing a bone& attack." - if (mycommand > 15) - global.msg[0] = "* Papyrus prepares a non-bone& attack then spends a minute& fixing his mistake." - if (mycommand >= 20) - global.msg[0] = "* Papyrus is cackling." - if (mycommand >= 30) - global.msg[0] = "* Papyrus whispers " + chr(34) + "Nyeh heh& heh!" + chr(34) + "" - if (mycommand >= 40) - global.msg[0] = "* Papyrus is rattling his bones." - if (mycommand >= 60) - global.msg[0] = "* Papyrus is trying hard to play& it cool." - if (mycommand >= 80) - global.msg[0] = "* Papyrus is considering his& options." - if (mycommand >= 90) - global.msg[0] = "* Smells like bones." - if (mycommand >= 97) - global.msg[0] = "* Papyrus remembered a bad joke& Sans told and is frowning." - if (global.flag[66] == 1) - flirt2 += 1 - if (flirt2 > 0 && flirt2 < 11) - { - if (flirt2 == 1) - global.msg[0] = "* Papyrus is thinking about& what to wear for his date." - if (flirt2 == 2) - global.msg[0] = "* Papyrus is thinking about& what to cook for his date." - if (flirt2 == 3) - global.msg[0] = "* Papyrus dabs some Bone& Cologne behind his ear." - if (flirt2 == 4) - global.msg[0] = "* Papyrus dabs marinara sauce& behind his ear." - if (flirt2 == 5) - global.msg[0] = "* Papyrus dabs MTT-Brand Bishie& Cream behind his ear." - if (flirt2 == 6) - global.msg[0] = "* Papyrus dabs MTT-Brand Anime& Powder behind his ear." - if (flirt2 == 7) - global.msg[0] = "* Papyrus dabs MTT-Brand Cute& Juice behind his ear." - if (flirt2 == 8) - global.msg[0] = "* Papyrus dabs MTT-Brand& Attraction Slime behind his& ear." - if (flirt2 == 9) - global.msg[0] = "* Papyrus dabs MTT-Brand& Beauty Yogurt behind his& ear." - if (flirt2 == 10) - global.msg[0] = "* Papyrus realizes he doesn't& have ears." - if (flirt2 == 11) - global.msg[0] = "* Papyrus has lumps of weird-& smelling ointment on his& head." - } - if (global.monsterhp[myself] < 100) - global.msg[0] = "* Papyrus is at the edge of& defeat." - if (mercymod >= 8000) - global.msg[0] = "* Papyrus is sparing you." - if (murder == 1) - global.msg[0] = "* Papyrus is sparing you." - attacked = 1 - if (xfight > 0) - fighto = 14 - } - if (global.turntimer < 3 && dontcancel == 0) - { - hearthp2 = global.hp - obj_heart.vspeed = 0 - obj_heart.jumpstage = 0 - global.turntimer = -1 - global.mnfight = 3 - obj_heart.movement = 0 - } - if (global.turntimer < 3 && dontcancel == 4) - { - alarm[8] = 2 - dontcancel = 5 - } -} -if (global.myfight == 2) -{ - if (whatiheard != -1) - { - if (global.heard == 0) - { - if (whatiheard == 0) - { - global.msc = 0 - global.msg[0] = (((("* PAPYRUS " + string(global.monsteratk[myself])) + " ATK ") + string(global.monsterdef[myself])) + ' DEF&* He likes to say:& "Nyeh heh heh!"/^') - if (murder == 1) - global.msg[0] = "* PAPYRUS 5 ATK 5 DEF&* Forgettable./^" - OBJ_WRITER.halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - if (whatiheard == 1) - { - global.msc = 0 - with (OBJ_WRITER) - instance_destroy() - if (insult <= 2 && truefight == 0) - { - global.msg[0] = " HOW SELFLESS.../" - global.msg[1] = " YOU WANT ME TO& FEEL BETTER& ABOUT FIGHTING& YOU.../%%" - if (insult == 1) - global.msg[0] = " THERE'S NO NEED& TO LIE TO& YOURSELF!!!/%%" - if (insult > 1) - global.msg[0] = " DON'T...!/%%" - if (insult <= 2) - { - insult += 1 - flirto = 2 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - } - else - { - global.msc = 0 - global.msg[0] = "* You INSULT^1, but to no avail^1.&* Seems ACTing won't escalate& this battle.../^" - if (truefight > 0) - global.msg[0] = "* Papyrus is too busy FIGHTing& to accept your insult./^" - with (OBJ_WRITER) - halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - } - if (whatiheard == 3) - { - hotcha += 1 - with (OBJ_WRITER) - halt = 3 - if (hotcha <= 2 && truefight == 0) - { - global.msg[0] = " WHAT!^1?& FL-FLIRTING!?/" - global.msg[1] = "\X SO YOU FINALLY& REVEAL YOUR\R & ULTIMATE FEELINGS\X!/" - global.msg[2] = " W-WELL^1!& I'M A SKELETON& WITH VERY HIGH& STANDARDS!!!/%%" - flirto = 1 - if (hotcha == 2) - { - global.msg[0] = " OH NO!!!/%%" - flirto = 2 - } - if (hotcha > 2) - { - flirto = 0 - whatiheard = 3 - global.myfight = 0 - global.mnfight = 1 - } - else - { - global.flag[66] = 1 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - } - else - { - global.msc = 0 - global.msg[0] = "* You FLIRT^1, but to no avail^1.&* Seems ACTing won't escalate& this battle.../^" - if (truefight > 0) - global.msg[0] = "* Papyrus is too busy FIGHTing& to flirt back./^" - with (OBJ_WRITER) - halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER) - with (iii) - halt = 0 - } - } - if (whatiheard == 6) - { - with (OBJ_WRITER) - instance_destroy() - global.msg[0] = " OH NO!!^1! YOU'RE& MEETING ALL MY& STANDARDS!!!/" - global.msg[1] = " I GUESS THIS MEANS& I HAVE TO GO ON A& DATE WITH YOU...?/%%" - flirto = 2 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - global.heard = 1 - if (whatiheard == 7) - { - with (OBJ_WRITER) - instance_destroy() - global.msg[0] = " OH NO!!^1!& THAT HUMILITY..^1.& IT REMINDS ME OF,/" - global.msg[1] = " MYSELF!!!/" - global.msg[2] = " YOU'RE MEETING ALL& MY STANDARDS!!!/%%" - flirto = 2 - global.typer = 22 - sblcon = instance_create((x + 145), (y + 52), obj_blconwdflowey) - sblconwd = instance_create((sblcon.x + 15), (sblcon.y + 10), OBJ_NOMSCWRITER) - } - } - } -} -if (global.myfight == 4) -{ - if (global.mercyuse == 0) - { - script_execute(scr_mercystandard) - if (mercy < 0) - event_user(2) - } -} -if (flirto > 0) -{ - if (instance_exists(OBJ_WRITER) == 0) - { - if (flirto == 1) - { - global.msc = 0 - global.typer = 1 - global.myfight = 3 - global.bmenuno = 6 - global.msg[0] = " I can I have zero& make redeeming& spaghetti qualities\C" - with (OBJ_WRITER) - halt = 3 - iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_INSTAWRITER) - with (iii) - halt = 0 - with (sblcon) - instance_destroy() - } - if (flirto == 2) - { - global.myfight = 0 - global.mnfight = 1 - stalk = 1 - } - flirto = 0 - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_readable_room1_Alarm_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_readable_room1_Alarm_0.gml deleted file mode 100644 index 6726a977b..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_readable_room1_Alarm_0.gml +++ /dev/null @@ -1,472 +0,0 @@ -myinteract = 3 -global.msc = 0 -global.typer = 5 -global.facechoice = 0 -global.faceemotion = 0 -global.msg[0] = "%%" -if (room == room_ruins2) - global.msg[0] = "* Only the fearless may proceed.&* Brave ones, foolish ones.&* Both walk not the middle road./%%" -if (room == room_ruins3) - global.msg[0] = "* Stay on the path./%%" -if (room == room_ruins5) - global.msg[0] = "* The western room is the& eastern room's blueprint./%%" -if (room == room_ruins9) - global.msg[0] = "* Three out of four grey rocks& recommend you push them./%%" -if (room == room_ruins13) - global.msg[0] = "* (There's an ant-sized frog in& a crack in the wall...^1)&* (It waves at you.)/%%" -if (room == room_ruins14) - global.msg[0] = "* There is just one switch./%%" -if (room == room_ruins15A) - global.msg[0] = "* The far door is not an exit^1.&* It simply marks a rotation& in perspective./%%" -if (room == room_ruins15B) - global.msg[0] = "* If you can read this^1,& press the blue switch./%%" -if (room == room_ruins15C) - global.msg[0] = "* If you can read this^1,& press the red switch./%%" -if (room == room_ruins15D) - global.msg[0] = "* If you can read this^1,& press the green switch./%%" -if (room == room_torhouse1) - global.msg[0] = "* These books are worn...&* They must have been read& many times./%%" -if (room == room_asghouse1) -{ - global.msg[0] = "* (There's an old calendar from& the end of 201X.^1)&* (A date is circled on it.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (The date I came here.)/%%" -} -if (room == room_torhouse2) - global.msg[0] = "* The ends of the tools have& been filed down to& make them safer./%%" -if (room == room_asghouse2) - global.msg[0] = "* Seems like gardening tools./%%" -if (room == room_asrielroom) - global.msg[0] = "* Look at these cool toys^2!&* They don't interest you& at all./%%" -if (room == room_asrielroom_final) - global.msg[0] = "* (Dusty toys.)/%%" -if (room == room_castle_finalshoehorn) - global.msg[0] = "* Throne Room/%%" -if (room == room_castle_coffins2) -{ - global.msg[0] = "* (It's a coffin.^1)&* (There's a name engraved on& it.)/" - global.msg[1] = (('* ("' + global.charname) + '.")/') - global.msg[2] = "* (It's empty.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (The coffin is empty...?)/" - global.msg[1] = "* (You didn't notice before^1,& but there's something like...)/" - global.msg[2] = "* (... mummy wrappings at the& bottom of it.)/%%" - } - if (scr_murderlv() >= 16) - global.msg[0] = "\R* (It's as comfortable as it& looks.)/%%" -} -if (room == room_torielroom) -{ - global.msc = 524 - if (x > 192) - { - global.msc = 0 - global.msg[0] = "* You peek inside..^2.&* Scandalous!/" - global.msg[1] = "* It's TORIEL's sock& collection./%%" - if (read > 0) - global.msg[0] = "* You can't stop looking& at the socks./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (You came all the way& back here to look at& Toriel's socks.)/" - global.msg[1] = "* (You have great priorities& in life.)/%%" - } - } -} -if (room == room_asgoreroom) -{ - global.msg[0] = "* It's a clothes drawer^1.&* There are robes^1, button-up& shirts.../" - global.msg[1] = "* ... and a pink^1, hand-knit& sweater that says& " + chr(34) + "Mr. Dad Guy." + chr(34) + "/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* Still has that sweater./%%" - if (y > 120) - global.msg[0] = "* (It's just a chair.)/%%" -} -if (room == room_castle_throneroom) - global.msg[0] = "* (It's a throne.)/%%" -if (room == room_torhouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_asghouse3) - global.msg[0] = "* " + chr(34) + "Room under renovations." + chr(34) + "/%%" -if (room == room_kitchen) - global.msg[0] = "* For some reason^1, there& is a brand-name chocolate& bar in the fridge./%%" -if (room == room_kitchen_final) -{ - global.msg[0] = "* (The fridge is full of& unopened containers of& snails.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "\R* No chocolate./%%" -} -if (room == room_tundra1) - global.msg[0] = "* ...!^1?&* There's a camera hidden& in the bushes./%%" -if (room == room_tundra8A) - global.msg[0] = "* (His.)/%%" -if (room == room_tundra_snowpuzz) -{ - if (global.plot <= 48) - global.msg[0] = "* There's a switch hidden& in the snow^1.&* Click!/%%" - if (global.plot > 48) - global.msg[0] = "* The switch is stuck now./%%" - if (global.flag[64] == 0) - global.flag[64] = 1 - if (global.plot <= 48) - global.plot = 49 - if (scr_murderlv() >= 3) - global.msg[0] = "* There's a switch here^1.&* It's been depressed with& vines./%%" -} -if (room == room_tundra_lesserdog) - global.msg[0] = "* On the floor inside is& a box of pomeraisins./%%" -if (room == 9999999) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are super crap./" - global.msg[2] = "* When monsters die^1, their& bodies turn into dust./" - global.msg[3] = "* One time this kid at my school& went missing for a week and& everyone thought he was dead.../" - global.msg[4] = "* But then he came back!!!/" - global.msg[5] = "* Turns out he was visiting his& girlfriend in Hotland and& and didn't tell anyone!/" - global.msg[6] = "* To be scientific^1, it sucks& that no one ever knows& if anyone's dead or alive./" - global.msg[7] = "* So yeah^1, what do we do at& funerals^1, anyway?/" - global.msg[8] = "* Professionally speaking:/" - global.msg[9] = "* DUH!!!/" - global.msg[10] = "* We pour the dust on whatever& that person liked./" - global.msg[11] = "* Then they will live on..^1.& ... in that object...& ... symbolically.../" - global.msg[12] = "* Uhhh^1, did I reach the page& minimum yet^1?&* I'm kinda sick of writing./%%" -} -if (room == room_tundra_library) -{ - global.msg[0] = "* (It's a school report about& monster funerals.)/" - global.msg[1] = "* Monster funerals^1, technically& speaking^2, are cool as heck./" - global.msg[2] = "* When monsters get old and& kick the bucket^1, they turn& into dust./" - global.msg[3] = "* At funerals^1, we take that& dust and spread it on that& person's favorite thing./" - global.msg[4] = "* Then their essence will live& on in that thing.../" - global.msg[5] = "* Uhhh^1, am I at the page& minimum yet^1?&* I'm kinda sick of writing this./%%" -} -if (room == room_tundra_inn) -{ - global.msg[0] = "\W* Mom says that sleeping& can recover your health& \Yabove your maximum HP\W./" - global.msg[1] = "* ... what's maximum HP?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* Mom says that we can& go to the surface world& now!/" - global.msg[1] = "* ... what's so great about& that^1, anyway^1?&* I don't wanna move./%%" - } - if (scr_murderlv() >= 7) - global.msg[0] = "* (It's merely a decoy.)/%%" -} -if (room == room_water12) -{ - global.msg[0] = "* " + chr(34) + "The power to take their& SOULs." + chr(34) + "/" - global.msg[1] = "* " + chr(34) + "This is the power that& the humans feared." + chr(34) + "/%%" -} -if (room == room_water7) -{ - global.msg[0] = "* (Ancient writing covers the& walls..^1. you can just make& out the words.)/" - global.msg[1] = "* " + chr(34) + "The War of Humans and& Monsters." + chr(34) + "/%%" -} -if (room == room_water14) - global.msg[0] = "* The northern room hides a& great treasure./%%" -if (room == room_water15) -{ - global.msg[0] = "* Hurt, beaten, and fearful for& our lives, we surrendered& to the humans./" - global.msg[1] = "* Seven of their greatest& magicians sealed us underground& with a magic spell./" - global.msg[2] = "* Anything can enter through the& seal, but only beings with a& powerful SOUL can leave./%%" -} -if (room == room_water19) -{ - global.msg[0] = "* However...&* There is a prophecy./" - global.msg[1] = "* The Angel...&* The One Who Has Seen The& Surface.../" - global.msg[2] = "* They will return.&* And the underground will go& empty./%%" -} -if (room == room_water_nicecream) - global.msg[0] = "* The ancient glyphs have been& painted over with a list of& 21 different flavors./%%" -if (room == room_water_prebird) - global.msg[0] = "* Achoo^1!&* Tried to catch a bug^1, but& I just caught a cold.../%%" -if (room == room_water_preundyne) -{ - global.msg[0] = "* The humans, afraid of our& power^1, declared war on us./" - global.msg[1] = "* They attacked suddenly, and& without mercy./%%" -} -if (room == room_water17) - global.msg[0] = "* Without candles or magic to& guide them Home^1, the monsters& used crystals to navigate./%%" -if (room == room_water20) -{ - if instance_exists(obj_monsterkidtrigger7) - obj_monsterkidtrigger7.con = 80 - cantalk = 0 -} -if (room == room_fire_lab1) -{ - global.msg[0] = "* (It's beat-up figurine& of a female human with& cat ears.)/%%" - if (global.plot < 126 && scr_murderlv() < 12) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" -} -if (room == room_fire_lab2) - global.msg[0] = "* (Scientific books.^1)&* (They seem very dusty.)/%%" -if (room == room_fire_cookingshow) -{ - global.msg[0] = "* (It's a fridge.^1)&* (It's strangely warm.)/%%" - if (global.plot < 134) - global.msg[0] = "* (It's too dark to see& near the walls.)/%%" - if instance_exists(obj_mettaton_npc) - { - global.typer = 27 - global.msg[0] = "* MILK^1? EGGS^1? IN THE FRIDGE?/" - global.msg[1] = "* NO WAY^1, DARLING^1!&* THEY'D GET COLD!!!/%%" - } - if (global.plot == 134) - { - snd_play(snd_phone) - global.typer = 5 - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* Um^1, is it really& a good idea to be& getting a snack?/" - global.msg[3] = "\E8* Well^1, I guess I& really shouldn't& judge you.../" - global.msg[4] = "\E0* After all^1, I'm the& one eating potato& chips in my PJs!/" - global.msg[5] = "\E5* Uhhh^1, I mean..^1.&* H-hey^1, go over to& the right!/%%" - if (specialread > 0) - { - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* H-hey^1!&* Head over to the& right!/%%" - } - specialread += 1 - } -} -if (room == room_water_undynehouse) -{ - global.typer = 37 - global.facechoice = 5 - global.faceemotion = 4 - global.msc = 0 - if (x > 180) - { - global.msg[0] = "* I hate cold food./" - global.msg[1] = "\E0* So Alphys fixed up& my fridge so it& heats up food instead!/" - global.msg[2] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - if (read > 0) - global.msg[0] = "\E6* Hot Fridge..^1.&* The world's greatest& invention!/%%" - } - else - { - global.faceemotion = 0 - global.msg[0] = "* This oven is some& top-of-the-line& MTT thing./" - global.msg[1] = "\E4* But^1, y'know^1, as much& as technology& advances.../" - global.msg[2] = "\E0* Nothing beats food& home-cooked with& fire magic./%%" - } -} -if (room == room_fire_spidershop) -{ - global.msg[0] = "* (It looks like some sort of& powerful bracelet...)/" - global.msg[1] = "* (Wait.^1)&* (It's just a croissant...)/%%" -} -if (room == room_fire_hotelfront_2) - global.msg[0] = "* (It's just a regular wall.)/%%" -if (room == room_fire_core_branch) - global.msg[0] = "* (East...)&* (The End.)/%%" -if (room == room_fire_core_left) - global.msg[0] = "* (Solve this puzzle,& and The End will open.)/%%" -if (room == room_fire_core_top) - global.msg[0] = "* (Traverse the northern& room^1, and The End will& open.)/%%" -if (room == room_fire_core_right) -{ - global.msg[0] = "* (I cannot fight.)&* (I cannot think.)/" - global.msg[1] = "* (But^1, with patience^1,& I will make my way& through.)/%%" -} -if (room == room_fire_core_center) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_treasureleft) - global.msg[0] = "* (Why not relax and have& a nice snack?)/%%" -if (room == room_fire_core_treasureright) - global.msg[0] = "* (Get lost...)&* (And stay that way.)/%%" -if (room == room_fire_core_metttest) -{ - global.msg[0] = "* (It's completely trashed.^1)&* (There's no way it could& ever be repaired.)/%%" - if (global.flag[425] == 0) - global.msg[0] = "* (It's out of batteries.)/%%" -} -if (room == room_truelab_hall1) -{ - global.msg[0] = "* ENTRY NUMBER 1/" - global.msg[1] = "* This is it..^1.&* Time to do what the King& has asked me to do./" - global.msg[2] = "* I will create the power to& free us all./" - global.msg[3] = "* I will unleash the power of& the SOUL./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hub) -{ - global.msg[0] = "* POWER ROOM/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall2) -{ - global.msg[0] = "* ENTRY NUMBER 6/" - global.msg[1] = "* ASGORE asked everyone& outside the city for monsters& that had " + chr(34) + "fallen down." + chr(34) + "/" - global.msg[2] = "* Their bodies came in today./" - global.msg[3] = "* They're still comatose..^1.&* And soon^1, they'll all& turn into dust./" - global.msg[4] = "* But what happens if I& inject " + chr(34) + "determination" + chr(34) + " into& them?/" - global.msg[5] = "* If their SOULS persist& after they perish^1, then.../" - global.msg[6] = "* Freedom might be closer& than we all thought./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_operatingroom) -{ - global.msg[0] = "* ENTRY NUMBER 9/" - global.msg[1] = "* things aren't going well./" - global.msg[2] = "* none of the bodies have& turned into dust^1, so I& can't get the SOULs./" - global.msg[3] = "* i told the families that& i would give them the& dust back for the funerals./" - global.msg[4] = "* people are starting to& ask me what's happening./" - global.msg[5] = "* what do i do?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_prebed) -{ - global.msg[0] = "* ENTRY NUMBER 12/" - global.msg[1] = "* nothing is happening^1.&* i don't know what to do./" - global.msg[2] = "* i'll just keep injecting& everything with& " + chr(34) + "determination." + chr(34) + "/" - global.msg[3] = "* i want this to work./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_bedroom) -{ - global.msg[0] = "* ENTRY NUMBER 14/" - global.msg[1] = "* Everyone that had fallen& down.../" - global.msg[2] = "* ... has woken up./" - global.msg[3] = "* They're all walking around& and talking like nothing& is wrong./" - global.msg[4] = "* I thought they were& goners...?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_mirror) -{ - global.msg[0] = "* ENTRY NUMBER 7/" - global.msg[1] = "* We'll need a vessel to& wield the monster SOULs& when the time comes./" - global.msg[2] = "* After all^1, a monster& cannot absorb the SOULs& of other monsters./" - global.msg[3] = "* Just as a human cannot& absorb a human SOUL.../" - global.msg[4] = "* So then.../" - global.msg[5] = "* What about something that's& neither human nor monster?/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_hall3) -{ - global.msg[0] = "* ENTRY NUMBER 15/" - global.msg[1] = "* Seems like this research& was a dead end.../" - global.msg[2] = "* But at least we got a& happy ending out of it...?/" - global.msg[3] = "* I sent the SOULS and the& vessel back to ASGORE./" - global.msg[4] = "* And I called all of the& families and told them& everyone's alive./" - global.msg[5] = "* I'll send everyone back& tomorrow. :) /%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* ENTRY NUMBER 17/" - global.msg[1] = "* monsters' physical forms& can't handle " + chr(34) + "determination" + chr(34) + "& like humans' can./" - global.msg[2] = "* with too much determination^1,& our bodies begin to break& down./" - global.msg[3] = "* everyone's melted together.../%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_determination) -{ - global.msg[0] = "* DT EXTRACTION MACHINE&* STATUS: INACTIVE/%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_tv) -{ - global.msg[0] = "* ENTRY NUMBER 4/" - global.msg[1] = "* I've been researching humans& to see if I can find any& info about their SOULS./" - global.msg[2] = "* I ended up snooping around& the castle...&* And found these weird tapes./" - global.msg[3] = "* I don't feel like ASGORE's& watched them.../" - global.msg[4] = "* I don't think he should./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" -} -if (room == room_truelab_fan) - global.msc = 780 -if (room == room_truelab_cooler) -{ - global.msg[0] = "* ENTRY NUMBER 19/" - global.msg[1] = "* the families keep calling& me to ask when everyone& is coming home./" - global.msg[2] = "* what am i supposed to say?/" - global.msg[3] = "* i don't even answer the& phone anymore./%%" - if (global.flag[485] == 1) - global.msg[0] = "* (It seems to be turned off.)/%%" - if (global.flag[490] == 0) - global.msg[0] = "* (It's too dark to see near& the walls.)/%%" -} -if (room == room_truelab_prepower) -{ - global.msg[0] = "* (Seems to be turned off.)/%%" - if (global.flag[485] == 1) - { - global.msg[0] = "* ENTRY NUMBER 8/" - global.msg[1] = "* I've chosen a candidate./" - global.msg[2] = "* I haven't told ASGORE yet^1,& because I want to surprise& him with it.../" - global.msg[3] = "* In the center of his& garden^1, there's something& special./" - global.msg[4] = "* The first golden flower^1,& that grew before all the& others./" - global.msg[5] = "* The flower from the outside& world./" - global.msg[6] = "* It appeared just before& the queen left./" - global.msg[7] = "* I wonder.../" - global.msg[8] = "* What happens when something& without a SOUL gains& the will to live?/%%" - } -} -if (room == room_truelab_elevatorinside) - global.msg[0] = "* (None of the buttons work.^1)&* (It seems to have lost power.)/%%" -if (room == room_castle_elevatorout) - global.msg[0] = "* (The door is jammed shut& with vines.)/%%" -if (room == room_truelab_castle_elevator) - global.msg[0] = "* (Seems like another elevator& has lost its power.)/%%" -if (room == room_tundra_grillby) - global.msg[0] = "* (The jukebox is broken.)/%%" -if (room == room_water_blookyard) - global.msg[0] = "* (It's locked.)/%%" -if (room == room_tundra_sansroom) - global.msg[0] = "* (It's a worn mattress.^1)&* (The sheets are bunched up in a& weird^1, creasy ball.)/%%" -if (room == room_tundra_sansbasement) -{ - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (He looks happy.)/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* (There's a photo album inside& the drawer.)/" - global.msg[1] = "* (There are photos of Sans with& a lot of people you don't& recognize.)/" - global.msg[2] = "* (... and^1, one photo of you& standing with Sans and all& your friends.)/" - global.msg[3] = "* (He looks happy.)/%%" - } -} -if (room == room_fire_pacing) -{ - global.msg[0] = "* (It's a poster for Mettaton's& latest stage performance.)/" - global.msg[1] = "* (A tragic tale of two star-& crossed lovers^1, kept apart& by the tides of fate...)/" - global.msg[2] = "* (Looks like it's almost time& for the performance.)/%%" -} -if (room == room_fire_hoteldoors) - global.msg[0] = "* (It's locked from the inside.)/%%" -if (room == room_fire_hotellobby) -{ - global.msg[0] = "* (There's an inscription on& this fountain.)/" - global.msg[1] = "* Royal Memorial Fountain&* Built 201X&* (Mettaton Added Last Week)/%%" -} -if (room == room_fire_restaurant) -{ - global.msg[0] = "* (It's a Wall of Fame full of& quotes and photos from visiting& celebrities.)/" - global.msg[1] = "* " + chr(34) + "The food is to die for!^1" + chr(34) + "&* " + chr(34) + "Gorgeous style and fragrance!^1" + chr(34) + "&* " + chr(34) + "My face tastes beautiful!" + chr(34) + "/" - global.msg[2] = "* (... these are all Mettaton.)/%%" -} -if (room == room_fire_hotelbed) -{ - global.msg[0] = "* (It's a lamp.^1)&* (There's no lightswitch.)/" - global.msg[1] = "* (It says that stars make& their own light...)/%%" -} -if (room == room_water_temvillage) - global.msg[0] = "* (Rich history of Tem.)/%%" -read += 1 -if (cantalk == 1) - mydialoguer = instance_create(0, 0, obj_dialoguer) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_shop5_body_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_shop5_body_Draw_0.gml deleted file mode 100644 index d03c73c02..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_shop5_body_Draw_0.gml +++ /dev/null @@ -1,236 +0,0 @@ -if (nowemote != global.faceemotion) - event_user(0) -nowemote = global.faceemotion -siner += 1 -draw_sprite(spr_5_coffeeline, floor((siner / 8)), 178, floor((62 + (sin((siner / 4)) * 1.5)))) -draw_sprite(spr_5_tembody, 0, (99 + bodyx), (1 + bodyy)) -if (global.faceemotion == 0) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes1, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 - if (facetimer > 90 && facetimer < 110) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 130 && facetimer < 150) - facex += (sin((facetimer / 10)) * 0.8) - if (facetimer > 190 && facetimer < 230) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer > 290 && facetimer < 310) - facey += (sin((facetimer / 10)) * 0.8) - if (facetimer > 326 && facetimer < 345) - facey += (sin((facetimer / 10)) * 1.5) - if (facetimer > 390 && facetimer < 430) - { - facey *= 0.9 - if (facey <= 0.5) - facex = 0 - } - if (facetimer == 460) - facetimer = 0 -} -if (global.faceemotion == 1) -{ - rr = (random(0.8) - random(0.8)) - rr2 = (random(0.8) - random(0.8)) - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor((((32 + offy[0]) + (facey / 2)) - sin((facetimer / 2))))) - draw_sprite(spr_5_eyes2, 0, floor((((135 + offx[1]) + facex) + rr)), floor((((38 + offy[1]) + facey) + rr2))) - draw_sprite(spr_5_mouth1, 0, floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 2) -{ - draw_sprite(spr_5_tembrows, 0, floor((138 + offx[0])), floor(((32 + offy[0]) + (facey / 2)))) - draw_sprite(spr_5_eyes3, 0, floor(((139 + offx[1]) + facex)), floor(((40 + offy[1]) + facey))) - draw_sprite(spr_5_mouth2, floor((siner / 3)), floor(((141 + offx[2]) + facex)), floor(((48 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - if (facetimer > 45 && facetimer < 55) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 65 && facetimer < 75) - facex += (sin((facetimer / 5)) * 0.8) - if (facetimer > 95 && facetimer < 115) - { - facex *= 0.9 - if (facex <= 0.5) - facex = 0 - } - if (facetimer == 140) - facetimer = 0 - facetimer += 1 -} -if (global.faceemotion == 3) -{ - facex = 2 - facey = -2 - draw_sprite(spr_5_eyes4, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor(((146 + offx[2]) + facex)), floor(((42 + offy[2]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 4) -{ - facey = (sin((facetimer / 5)) * 1.5) - draw_sprite(spr_5_eyes5, 0, floor(((137 + offx[1]) + facex)), floor(((32 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos((siner / 1.5)) * 1.5))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 4)) * 1.5)), 1, 1, 0, c_white, (1 + sin((siner / 4)))) - facetimer += 1 -} -if (global.faceemotion == 5) -{ - rr = (random(1) - random(1)) - rr2 = (random(1) - random(1)) - bodyx = rr - bodyy = rr2 - facey = (sin((facetimer / 3)) * 2) - draw_sprite(spr_5_eyes6, 0, floor(((137 + offx[1]) + facex)), floor(((31 + offy[1]) + facey))) - draw_sprite(spr_5_mouth3, floor((siner / 3)), floor((((144 + offx[2]) + facex) + (cos(siner) * 2))), floor(((43 + offy[2]) + facey))) - draw_sprite_ext(spr_5_sweat, 0, 133, (39 + (sin((siner / 2)) * 2)), 1, 1, 0, c_white, (1 + sin((siner / 2)))) - facetimer += 1 -} -if (global.faceemotion == 6) -{ - draw_sprite(spr_5_sellface, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -if (global.faceemotion == 7) -{ - draw_sprite(spr_5_sellface_x, floor((siner / 2)), floor(((139 + offx[1]) + facex)), floor(((25 + offy[1]) + facey))) - facetimer += 1 -} -draw_sprite(spr_5_tembox, 0, (80 + boxx), 68) -if (sellmenu == 1) -{ - draw_set_color(c_white) - draw_set_font(fnt_maintext) - value[0] = 100 - value[1] = 5 - value[2] = 666 - value[3] = 10 - value[4] = 100 - value[5] = 5 - value[6] = 12 - value[7] = 0 - value[8] = 0 - value[9] = 0 - value[10] = 0 - for (i = 0; i < 8; i += 1) - { - s_value[i] = (" " + string(value[i])) - if (value[i] >= 10 && value[i] < 100) - s_value[i] = (" " + string(value[i])) - if (value[i] >= 100 && value[i] < 1000) - s_value[i] = string(value[i]) - } - odd = -1 - if (sellpos == 0 || sellpos == 2 || sellpos == 4 || sellpos == 6) - { - odd = 0 - draw_sprite(spr_heartsmall, 0, 15, (135 + ((sellpos / 2) * 20))) - } - if (sellpos == 1 || sellpos == 3 || sellpos == 5 || sellpos == 7) - { - odd = 1 - draw_sprite(spr_heartsmall, 0, 155, (135 + (((sellpos - 1) / 2) * 20))) - } - if (sellpos == 8) - draw_sprite(spr_heartsmall, 0, 15, 215) - if (keyboard_check_pressed(vk_right) && odd == 0) - { - if (value[(sellpos + 1)] != 0) - sellpos += 1 - } - if (keyboard_check_pressed(vk_left) && odd == 1) - sellpos -= 1 - if keyboard_check_pressed(vk_down) - { - d_fail = 0 - if (value[(sellpos + 2)] == 0) - d_fail = 1 - if (d_fail == 1 && value[(sellpos + 1)] != 0) - d_fail = 2 - if (sellpos == 6 || sellpos == 7 || sellpos == 8) - d_fail = 1 - if (d_fail == 1) - sellpos = 8 - else if (d_fail == 2) - sellpos += 1 - else - sellpos += 2 - } - if keyboard_check_pressed(vk_up) - { - if (sellpos != 0 && sellpos != 1) - { - if (sellpos == 8) - { - this_i = -1 - i = 7 - while (this_i == -1) - { - if (value[i] != 0) - this_i = i - i -= 1 - if (i == -1) - this_i = 8 - } - sellpos = this_i - } - else - sellpos -= 2 - } - } - draw_set_color(c_white) - for (i = 0; i < 4; i += 1) - { - if (value[(i * 2)] != 0) - draw_text(30, (130 + (i * 20)), (s_value[(i * 2)] + "G - Ninechara")) - if (value[((i * 2) + 1)] != 0) - draw_text(170, (130 + (i * 20)), (s_value[((i * 2) + 1)] + "G - Ninechara")) - } - draw_text(30, 210, "Exit") - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if keyboard_check_pressed(vk_return) - { - buffer = 3 - if (sellpos == 8) - sellmenu = 0 - else - { - sellmenu = 2 - sellpos2 = 0 - } - } -} -if (sellmenu == 2) -{ - buffer -= 1 - draw_set_color(c_white) - draw_set_font(fnt_maintext) - draw_text(55, 150, (("Really sell Ninechara for " + string(value[sellpos])) + "G?")) - draw_text(80, 180, "Yes") - draw_text(190, 180, "No") - draw_sprite(spr_heartsmall, 0, (65 + (sellpos2 * 110)), 185) - draw_set_color(c_yellow) - draw_text(200, 210, "(9999 G)") - if (keyboard_check_pressed(vk_left) || keyboard_check_pressed(vk_right)) - { - if (sellpos2 == 0) - sellpos2 = 1 - else - sellpos2 = 0 - } - if (keyboard_check_pressed(vk_return) && buffer <= 0) - { - if (sellpos2 == 1) - sellmenu = 1 - else - { - } - } -} -if (global.flag[276] == 1) - draw_sprite(spr_temhat, 0, ((99 + bodyx) + 37), (1 + bodyy)) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_truechara_Step_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_truechara_Step_0.gml deleted file mode 100644 index 0b3663c04..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_truechara_Step_0.gml +++ /dev/null @@ -1,192 +0,0 @@ -if (con == 1) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Greetings./" - global.msg[1] = (("I^2 am " + global.charname) + "./%%") - instance_create(220, 320, OBJ_WRITER) - con = 2 -} -if (con == 2 && instance_exists(OBJ_WRITER) == 0) -{ - caster_loop(ch_sfx1, 1, 1) - con = 3 - alarm[4] = 60 -} -if (con == 4) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Thank you./" - global.msg[1] = "Your power awakened&me from death./" - global.msg[2] = 'My "human soul."/' - global.msg[3] = 'My "determination."/' - global.msg[4] = "They were not mine^1,&but YOURS./" - global.msg[5] = "At first^1, I&was so confused./" - global.msg[6] = "Our plan had failed^1,&hadn't it?/" - global.msg[7] = "Why was I brought&back to life?/" - global.msg[8] = ".../" - global.msg[9] = "You./" - global.msg[10] = "With your guidance./" - global.msg[11] = "I realized the purpose&of my reincarnation./" - global.msg[12] = "Power./" - global.msg[13] = "Together^1, we eradicated&the enemy and became&strong./" - global.msg[14] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[15] = "Every time a number&increases^1, that&feeling.../" - global.msg[16] = "That's me./" - global.msg[17] = (('"' + global.charname) + '."/') - global.msg[18] = "Now./" - global.msg[19] = "Now, we have reached&the absolute./" - global.msg[20] = "There is nothing&left for us here./" - global.msg[21] = "Let us erase this&pointless world^1, and&move on to the next./%%" - if file_exists("system_information_963") - { - global.msg[0] = (('"' + global.charname) + '."/') - global.msg[1] = "The demon that comes&when people call&its name./" - global.msg[2] = "It doesn't matter when./" - global.msg[3] = "It doesn't matter where./" - global.msg[4] = "Time after time,&I will appear./" - global.msg[5] = "And, with your help./" - global.msg[6] = "We will eradicate the&enemy and become&strong./" - global.msg[7] = "HP. ATK. DEF.&GOLD. EXP. LV./" - global.msg[8] = "Every time a number&increases^1, that&feeling.../" - global.msg[9] = "That's me./" - global.msg[10] = (('"' + global.charname) + '."/') - global.msg[11] = ".../" - global.msg[12] = "But./" - global.msg[13] = "You and I are not&the same^1, are we?/" - global.msg[14] = "This SOUL resonates&with a strange&feeling./" - global.msg[15] = "There is a reason&you continue to&recreate this world./" - global.msg[16] = "There is a reason&you continue to&destroy it./" - global.msg[17] = "You./" - global.msg[18] = "You are wracked with&a perverted&sentimentality./" - global.msg[19] = "Hmm./" - global.msg[20] = "I cannot understand&these feelings&any more./" - global.msg[21] = "Despite this./" - global.msg[22] = "I feel obligated to&suggest./" - global.msg[23] = "Should you choose to&create this world&once more./" - global.msg[24] = "Another path would&be better suited./" - global.msg[25] = "Now, partner./" - global.msg[26] = "Let us send this&world back into the&abyss./%%" - } - instance_create(150, 320, OBJ_WRITER) - con = 5 -} -if (con == 5 && instance_exists(OBJ_WRITER) == 0) -{ - con = 6 - alarm[4] = 30 -} -if (con == 7) -{ - con = 8 - choicer = 1 -} -if (con == 20) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "Right^1. You are a&great partner./" - global.msg[1] = "We'll be together&forever^1, won't we?/%%" - con = 22 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 22 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 1) - sprite_index = spr_truechara_weird -} -if (con == 22 && instance_exists(OBJ_WRITER) == 0) - con = 60 -if (con == 30) -{ - global.msc = 0 - global.typer = 104 - global.msg[0] = "No...?/" - global.msg[1] = "Hmm.../" - global.msg[2] = "How curious./" - global.msg[3] = "You must have&misunderstood./" - global.msg[4] = "SINCE WHEN WERE YOU&THE ONE IN CONTROL?/%%" - if file_exists("system_information_963") - { - global.msg[0] = "No...?/" - global.msg[1] = "Hmm...&This feeling you have./" - global.msg[2] = "This is what I&spoke of./" - global.msg[3] = "Unfortunately,®arding this.../" - global.msg[4] = "YOU MADE YOUR CHOICE&LONG AGO./%%" - } - con = 31 - instance_create(150, 320, OBJ_WRITER) -} -if (con == 31 && instance_exists(OBJ_WRITER)) -{ - if (OBJ_WRITER.stringno == 4) - sprite_index = spr_truechara_weird -} -if (con == 31 && instance_exists(OBJ_WRITER) == 0) - con = 40 -if (con == 40) -{ - caster_stop(-3) - caster_play(ch_sfx2, 1, 0.95) - sprite_index = spr_truechara_laugh - image_speed = 0.5 - con = 41 - flashred = 1 - alarm[4] = 120 - wx = 0 - wy = 0 - if (global.osflavor == 1) - { - window_set_fullscreen(false) - window_set_caption(" ") - window_center() - wx = window_get_x() - wy = window_get_y() - } -} -if (con == 41) -{ - x = (((room_width / 2) + random(4)) - random(4)) - y = (((room_height / 2) + random(4)) - random(4)) - image_xscale += 0.08 - image_yscale += 0.08 - if (global.osflavor == 1) - window_set_position(((wx + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4))), ((wy + random(((redsiner / 4) + 4))) - random(((redsiner / 4) + 4)))) -} -if (con == 42) -{ - con = 60 - if (global.osflavor == 1) - window_center() - flashred = 0 -} -if (con == 60) -{ - caster_free(-3) - snd_play(snd_laz) - image_speed = 0 - image_index = 0 - sprite_index = spr_strike - image_xscale = 5 - image_yscale = 5 - y = ((room_height / 2) - (sprite_height / 2)) - x = ((room_width / 2) - (sprite_width / 2)) - image_speed = 0.1 - con = 61 -} -if (con == 61) -{ - if (image_index >= 5.5) - { - visible = false - con = 62 - alarm[4] = 40 - } -} -if (con == 63) -{ - snd_play(snd_damage) - instance_create(0, 0, obj_gameshake) - con = 64 -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_vaporized_new_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_vaporized_new_Draw_0.gml deleted file mode 100644 index f424d711c..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_vaporized_new_Draw_0.gml +++ /dev/null @@ -1,55 +0,0 @@ -dn = 1 -ht_a = (sprite_height - (line * 2)) -ht_b = (y + (line * 2)) -ht_c = (line * 2) -if (dn == 1) - draw_sprite_part_ext(sprite_index, image_index, 0, ht_c, wd, ht_a, x, ht_b, image_xscale, image_yscale, c_white, 1) -if (finishedreading == 0) -{ - repeat (4) - { - ww = 0 - mychar = string("0") - while (mychar != "}" && mychar != "~") - { - mychar = string_char_at(mydata, (myread + 1)) - draw_set_color(c_black) - if (ord(mychar) >= 84 && ord(mychar) <= 121) - { - for (i = 0; i < (ord(mychar) - 85); i += 1) - ww += 2 - } - draw_set_color(c_white) - if (ord(mychar) >= 39 && ord(mychar) <= 82) - { - if (wd > 120 && spec == 0) - { - blk = instance_create((x + ww), (y + (line * 2)), obj_whtpxlgrav) - blk.image_xscale = (ord(mychar) - 40) - with (blk) - event_user(0) - ww += ((ord(mychar) - 40) * 2) - } - else - { - for (i = 0; i < (ord(mychar) - 40); i += 1) - { - instance_create((x + ww), ((y + (line * 2)) + 2), obj_whtpxlgrav) - ww += 2 - } - } - } - myread += 1 - } - ww = 0 - line += 1 - if (mychar == "~") - { - finishedreading = 1 - instance_destroy() - exit - } - else - alarm[0] = (1 + myvapor) - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml deleted file mode 100644 index 9be3e0aee..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Object_obj_waterfall_waterfall_Draw_0.gml +++ /dev/null @@ -1,51 +0,0 @@ -siner += 1 -if (image_xscale == 1) - draw_sprite(spr_waterfall_singletop, (siner / 5), x, y) -if (image_xscale > 1) -{ - draw_sprite(spr_waterfall_topleft, (siner / 5), x, y) - for (i = 1; i < (image_xscale + 1); i += 1) - { - if (i < image_xscale) - { - draw_sprite(spr_waterfall_midtop, (siner / 5), (x + (i * 20)), y) - } - else - { - draw_sprite(spr_waterfall_topright, (siner / 5), ((x + (i * 20)) - 20), y) - break - } - } -} -if (image_yscale > 1 && image_xscale == 1) -{ - for (i = 1; i <= image_yscale; i += 1) - draw_sprite(spr_waterfall_midmid, (siner / 5), x, (y + (i * 20))) -} -if (image_yscale > 1 && image_xscale > 1) -{ - for (j = 1; j <= image_yscale; j += 1) - { - if (j < image_yscale) - draw_sprite(spr_waterfall_midleft, (siner / 5), x, (y + (j * 20))) - if (j == image_yscale) - draw_sprite(spr_waterfall_bottomleft, (siner / 5), x, ((y + (j * 20)) - 20)) - for (i = 1; i <= image_xscale; i += 1) - { - if (j < image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_midright, (siner / 5), ((x + (i * 20)) - 20), (y + (j * 20))) - else - draw_sprite(spr_waterfall_midmid, (siner / 5), (x + (i * 20)), (y + (j * 20))) - } - if (j == image_yscale) - { - if (i == image_xscale) - draw_sprite(spr_waterfall_bottomright, (siner / 5), ((x + (i * 20)) - 20), ((y + (j * 20)) - 20)) - else - draw_sprite(spr_waterfall_bottommid, (siner / 5), (x + (i * 20)), ((y + (j * 20)) - 20)) - } - } - } -} diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_SCR_TEXT.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_SCR_TEXT.gml deleted file mode 100644 index 061b9f3b9..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_SCR_TEXT.gml +++ /dev/null @@ -1,6407 +0,0 @@ -switch argument0 -{ - case 0: - break - case 1: - global.msg[0] = "\XLa, la.^3 &Time to wake&up and\R smell\X &the^4 pain./" - global.msg[1] = "* Though^2.^4.^6.^8.&It's still a&little shaky./" - global.msg[2] = "fhuehfuehfuehfuheufhe/%" - global.msg[3] = "%%%" - break - case 2: - global.msg[0] = "* TestMonster and its cohorts&draw near!" - global.msg[1] = "%%%" - break - case 3: - global.msg[0] = " " - if (global.monster[0] == true) - { - with (global.monsterinstance[0]) - script_execute(scr_mercystandard) - adder = " " - adder = "\W " - if (global.monsterinstance[0].mercy < 0) - { - if (global.flag[22] == 0) - adder = "\Y " - if (global.flag[22] == 2) - adder = "\p " - } - global.msg[0] = adder - global.msg[0] += (" * " + global.monstername[0]) - if (global.monstertype[0] == global.monstertype[1] || global.monstertype[0] == global.monstertype[2]) - global.msg[0] += " A" - } - global.msg[0] += "\W &" - if (global.monster[1] == true) - { - with (global.monsterinstance[1]) - script_execute(scr_mercystandard) - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[1].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[1]) - if (global.monstertype[1] == global.monstertype[0]) - global.msg[0] += " B" - } - global.msg[0] += "\W &" - if (global.monster[2] == true) - { - with (global.monsterinstance[2]) - script_execute(scr_mercystandard) - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 0) - global.msg[0] += "\Y" - if (global.monsterinstance[2].mercy < 0 && global.flag[22] == 2) - global.msg[0] += "\p" - global.msg[0] += (" * " + global.monstername[2]) - if (global.monstertype[2] == global.monstertype[1]) - global.msg[0] += " C" - } - global.msg[1] = "%%%" - break - case 7: - global.msg[0] = " " - for (i = 0; i < 3; i += 1) - { - if (global.monster[i] == true) - { - with (global.monsterinstance[i]) - script_execute(scr_mercystandard) - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 0) - global.msg[0] = "\Y " - if (global.monsterinstance[i].mercy < 0 && global.flag[22] == 2) - global.msg[0] = "\p " - } - } - global.msg[0] += " * Spare" - if (global.mercy == 0) - global.msg[0] += "& \W * Flee" - break - case 9: - global.msg[0] = ((" * " + global.itemnameb[0]) + " ") - if (global.item[1] != 0) - global.msg[0] += ("* " + global.itemnameb[1]) - global.msg[0] += " &" - if (global.item[2] != 0) - global.msg[0] += ((" * " + global.itemnameb[2]) + " ") - if (global.item[3] != 0) - global.msg[0] += ("* " + global.itemnameb[3]) - global.msg[0] += " & PAGE 1" - global.msg[1] = "%%%" - break - case 10: - global.msg[0] = ((" * " + global.itemnameb[4]) + " ") - if (global.item[5] != 0) - global.msg[0] += ("* " + global.itemnameb[5]) - global.msg[0] += " &" - if (global.item[6] != 0) - global.msg[0] += ((" * " + global.itemnameb[6]) + " ") - if (global.item[7] != 0) - global.msg[0] += ("* " + global.itemnameb[7]) - global.msg[0] += " & PAGE 2" - global.msg[1] = "%%%" - break - case 11: - global.msg[0] += " &" - if (global.item[8] < 99) - global.msg[0] += (("* You recovered " + string(global.item[8])) + " HP!/%") - else - global.msg[0] += "* Your HP was maxed out./%" - break - case 12: - i = round(random(18)) - if (i == 0) - global.msg[0] = (("* You bid a quiet farewell& to the " + global.itemname[global.menucoord[1]]) + ".") - if (i == 1) - global.msg[0] = (("* You put the " + global.itemname[global.menucoord[1]]) + "& on the ground and gave it a& little pat.") - if (i == 2) - global.msg[0] = (("* You threw the " + global.itemname[global.menucoord[1]]) + "& on the ground like the piece& of trash it is.") - if (i == 3) - global.msg[0] = (("* You abandoned the & " + global.itemname[global.menucoord[1]]) + ".") - if (i > 3) - global.msg[0] = (("* The " + global.itemname[global.menucoord[1]]) + " was& thrown away.") - global.msg[0] += "/%" - break - case 14: - i = round(random(20)) - if (i == 0 || i == 1) - global.msg[0] = " * I'm outta here." - if (i == 2) - global.msg[0] = " * I've got better to do." - if (i > 3) - global.msg[0] = " * Escaped..." - if (i == 3) - global.msg[0] = " * Don't slow me down." - if (global.xpreward[3] > 0 || global.goldreward[3] > 0) - global.msg[0] = ((((" * Ran away with " + string(global.xpreward[3])) + " EXP& and ") + string(global.goldreward[3])) + " GOLD.") - break - case 15: - if (room == room_ruins1) - { - global.msg[0] = "* (The shadow of the ruins& looms above^1, filling you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins7) - { - global.msg[0] = "* (Playfully crinkling through& the leaves fills you with& determination.)/" - global.msg[1] = "* (HP fully restored.)/%%" - } - if (room == room_ruins12A) - { - global.msg[0] = "* (Knowing the mouse might one& day leave its hole and& get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_ruins19) - global.msg[0] = "* (Seeing such a cute^1, tidy& house in the RUINS gives& you determination.)/%%" - if (global.flag[202] >= 20) - global.msg[0] = "* Determination./%%" - if (room == room_tundra1) - global.msg[0] = "* (The cold atmosphere of a& new land... it fills you& with determination.)/%%" - if (room == room_tundra3) - global.msg[0] = "* (The convenience of that& lamp still fills you& with determination.)/%%" - if (room == room_tundra_spaghetti) - { - global.msg[0] = "* (Knowing the mouse might one& day find a way to heat& up the spaghetti...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_tundra_lesserdog) - { - global.msg[0] = "* (Knowing that dog will& never give up trying to& make the perfect snowdog...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - if (global.flag[55] == 1) - { - global.msg[0] = "* (Snow can always be broken& down and rebuilt into& something more useful.)/" - global.msg[1] = "* (This simple fact fills& you with determination.)/%%" - } - } - if (room == room_tundra_town) - global.msg[0] = "* (The sight of such a friendly& town fills you with& determination.)/%%" - if (room == room_water2) - global.msg[0] = "* (The sound of rushing water& fills you with& determination.)/%%" - if (room == room_water4) - global.msg[0] = "* (A feeling of dread hangs& over you...^1)&* (But you stay determined.)/%%" - if (room == room_water_savepoint1) - { - global.msg[0] = "* (Knowing the mouse might one& day extract the cheese from& the mystical crystal...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_preundyne) - { - global.msg[0] = "* (The sound of muffled rain& on the cavetop...)/" - if (global.flag[86] == 1) - global.msg[0] = "* (The serene sound of a& distant music box...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_water_trashzone2) - global.msg[0] = "* (The feeling of your socks& squishing as you step& gives you determination.)/%%" - if (room == room_water_trashsavepoint) - { - global.msg[0] = "* (The waterfall here seems& to flow from the& ceiling of the cavern...)/" - global.msg[1] = "* (Occasionally^1, a piece of& trash will flow& through...)/" - global.msg[2] = "* (... and fall into the& bottomless abyss below.)/" - global.msg[3] = "* (Viewing this endless& cycle of worthless& garbage...)/" - global.msg[4] = "* (It fills you with& determination.)/%%" - if (global.flag[91] == 1) - global.msg[0] = "* (Partaking in worthless& garbage fills you& with determination.)/%%" - global.flag[91] = 1 - } - if (room == room_water_friendlyhub) - global.msg[0] = "* (You feel a calming& tranquility^1. You're filled& with determination...)/%%" - if (room == room_water_temvillage) - global.msg[0] = "* (You feel..^1. something.)&* (You're filled with& detemmienation.)/%%" - if (room == room_water_undynefinal) - { - global.msg[0] = "* (The wind is howling^1.&* You're filled with& determination...)/%%" - if (global.flag[99] > 0) - global.msg[0] = "* (The howling wind is& now a breeze^1. This gives& you determination...)/%%" - if (global.flag[350] == 1) - global.msg[0] = "* (The wind has stopped^1.&* You're filled with& determination...)/%%" - } - if (room == room_fire_prelab) - { - global.msg[0] = "* (Seeing such a strange& laboratory in a place like& this...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire6) - global.msg[0] = "* (The wooshing sound of steam& and cogs..^1. it fills you& with determination.)/%%" - if (room == room_fire_savepoint1) - { - global.msg[0] = "* (An ominous structure looms& in the distance...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_mewmew2) - { - global.msg[0] = "* (Knowing the mouse might one& day hack the computerized& safe and get the cheese...)/" - global.msg[1] = "* (It fills you with& determination.)/%%" - } - if (room == room_fire_hotelfront_1) - global.msg[0] = "* (A huge structure lies north.^1)&* (You're filled with& determination.)/%%" - if (room == room_fire_hotellobby) - global.msg[0] = "* (The relaxing atmosphere& of this hotel..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_branch) - global.msg[0] = "* (The air is filled with& the smell of ozone..^1. it fills& you with determination.)/%%" - if (room == room_fire_core_premett) - { - global.msg[0] = "* (Behind this door must be& the elevator to the King's& castle.)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - if (room == room_fire_savepoint2) - { - global.msg[0] = "* (The smell of cobwebs fills& the air...)/" - global.msg[1] = "* (You're filled with& determination.)/%%" - } - break - case 16: - i = round(random(14)) - script_execute(scr_itemname) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& put away.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& tossed inside recklessly.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[6]]) + " was& placed thoughtfully inside.") - global.msg[0] += "/%" - break - case 17: - i = round(random(14)) - script_execute(scr_storagename, 300) - if (i <= 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out.") - if (i > 12) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& grabbed impatiently.") - if (i > 13) - global.msg[0] = (("* The " + global.itemname[global.menucoord[7]]) + " was& taken out and held like a& small puppy.") - global.msg[0] += "/%" - break - case 18: - global.msg[0] = "* You can't carry any more./%%" - break - case 19: - global.msg[0] = "* The box is full./%%" - break - case 23: - global.msg[0] = "* You leave the Quiche on the& ground and tell it you'll& be right back./%%" - break - case 30: - global.msg[0] = "* Use the box?& & Yes No \C " - global.msg[1] = " " - global.msg[2] = " " - break - case 31: - if (global.choice == 0) - { - if (global.item[0] != 0 || global.flag[300] != 0) - { - if (instance_exists(obj_itemswapper) == 0) - instance_create(0, 0, obj_itemswapper) - global.msg[0] = " %%" - } - else - { - gx = floor(random(3)) - if (gx == 0) - global.msg[0] = "* You have no items^1.&* You put a little time into& the box./%%" - if (gx == 1) - global.msg[0] = "* You have no items^1.&* You put a little effort& into the box./%%" - if (gx == 2) - global.msg[0] = "* You have no items^1.&* You put a little feeling& into the box./%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 200: - global.msg[0] = "\W* Howdy^2!&* I'm\Y FLOWEY\W.^2 &* \YFLOWEY\W the \YFLOWER\W!/" - global.msg[1] = "* Hmmm.../" - global.msg[2] = "* You're new to the& UNDERGROUND^2, aren'tcha?/" - global.msg[3] = "* Golly^1, you must be& so confused./" - global.msg[4] = "* Someone ought to teach& you how things work& around here!/" - global.msg[5] = "* I guess little old me& will have to do./" - global.msg[6] = "* Ready^2?&* Here we go!/%%" - break - case 201: - global.msg[0] = "\E2* This way./%%" - global.msg[1] = "%%%" - break - case 202: - global.msg[0] = "\E2* Welcome to your new& home^1, innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of the& RUINS./%%" - break - case 203: - global.msg[0] = "\E2* The RUINS are full of& puzzles./" - global.msg[1] = "* Ancient fusions between & diversions and doorkeys./" - global.msg[2] = "* One must solve them& to move from room to& room./" - global.msg[3] = "* Please adjust yourself to the sight of them./%" - break - case 204: - global.msg[0] = "\E2* To make progress here,^1 & you will need to trigger& several switches./" - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./%" - if (global.flag[6] == 1) - { - global.msg[1] = "* Do not worry,^1 I have & labelled the ones that& you need to flip./" - global.msg[2] = "* ... eh^1?&* It seems that the& labelling has worn away./" - global.msg[3] = "* Oh dear./" - global.msg[4] = "* This might be far more& challenging than I& anticipated.../%%" - } - break - case 205: - global.msg[0] = "\E2* The first switch is over& on the wall./%" - break - case 206: - global.msg[0] = "\E1* Do you need some help..^1?&* Press the switch on the wall./" - global.msg[1] = "\E0* Come on^1, you can do it!/%" - break - case 207: - global.msg[0] = "\E2* Go on^1, press the switch& on the left./%" - if (global.flag[6] == 1) - global.msg[0] = "\E2* I believe it was& the switch on the& left./%" - break - case 208: - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/" - global.msg[1] = "\E0* Press the switch that I& labelled for you./%" - if (global.flag[6] == 1) - global.msg[0] = "\E1* You do know which way& left is^1, do you not?/%%" - break - case 209: - global.msg[0] = "\E1* You are very curious,^1 & are you not?/" - global.msg[1] = "\E1* Please understand.^2 & \E0I only want the best& for you./%" - break - case 210: - global.msg[0] = "\E0* Splendid!^2 &* I am proud of you,^1 & little one./" - global.msg[1] = "* Let us move to the& next room./%" - break - case 211: - global.msg[0] = "\E1* As a human living in& the UNDERGROUND,^1 & monsters may attack you./" - global.msg[1] = "\E2* You will need to be& prepared for this& situation./" - global.msg[2] = "\E0* However, worry not!^2 &* The process is simple./" - global.msg[3] = "\E2* When you encounter a & monster,^1 you will enter& a FIGHT./" - global.msg[4] = "* While you are in a& FIGHT^1, strike up a& friendly conversation./" - global.msg[5] = "\E2* Stall for time.& I will come to resolve& the conflict./" - global.msg[6] = "\E2* Practice talking to& the dummy./%" - break - case 212: - if (global.flag[12] == 1) - { - global.msg[0] = "\E1* Ahh,^1 the dummies are& not for fighting!^2 &* They are for talking!/" - global.msg[1] = "* We do not want to hurt& anybody, do we...?^2 \E0 &* Come now./%" - } - if (global.flag[10] == 1) - global.msg[0] = "\E0* Ah,^1 very good!^2 &* You are very good./%" - if (global.flag[11] == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E1* ... you ran away.../" - global.msg[2] = "\E0* Truthfully^1, that was& not a poor choice./" - global.msg[3] = "\E0* It is better to& avoid conflict& whenever possible./" - global.msg[4] = "\E1* That..^1. however^1, is& only a dummy^2.&* It cannot harm you./" - global.msg[5] = "\E1* It is made of cotton^1.&* It has no desire& for revenge.../" - global.msg[6] = "\E0* Nevermind^2.&* Stay close to me and& I will keep you safe./%" - } - if (global.flag[13] == 1) - { - global.msg[0] = "\E3* ^1.^1.^1./" - global.msg[1] = "\E4* ^1.^1.^1./" - global.msg[2] = "\E0* The next room awaits./%" - } - break - case 213: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E2 &* I do not think the dummy& will be bothered./%" - break - case 214: - global.msg[0] = "\E0* Do you need some& ideas for conversation& topics?/" - global.msg[1] = "* Well^1, I often start with& a simple 'how do you& do...'/" - global.msg[2] = "* You could ask them about& their favorite books.../" - global.msg[3] = "* Jokes can be useful for& 'breaking the ice.'/" - global.msg[4] = "* Listen to this one.../" - global.msg[5] = "* What did the skeleton& tile his roof with?/" - global.msg[6] = "* ... SHIN-gles!/" - global.msg[7] = "\E1* .../" - global.msg[8] = "\E0* Well^1, I thought it& was amusing./%" - break - case 215: - global.msg[0] = "\E2* Practice talking to& the dummy./" - global.msg[1] = "\E1* You can say anything..^2.\E0 &* The dummy will not& be bothered./%" - break - case 216: - global.msg[0] = "\E1* There is another puzzle& in this room.../" - global.msg[1] = "\E0* I wonder if you can& solve it?/%" - break - case 217: - global.msg[0] = "\E1* This is the puzzle^1,& but.../" - global.msg[1] = "\E0* Here^1, take my hand& for a moment./%" - break - case 218: - global.msg[0] = "\E1* Puzzles seem a little& too dangerous for& now./%" - break - case 219: - global.msg[0] = ".../%" - break - case 220: - global.msg[0] = "\E2* Greetings,^1 my child^2.&* Do not worry^1, I did& not leave you./" - global.msg[1] = "\E0* I was merely behind this& pillar the whole time./" - global.msg[2] = "* Thank you for trusting& me./" - global.msg[3] = "\E2* However^1, there was an& important reason for& this exercise./" - global.msg[4] = "* ... to test your& independence./" - global.msg[5] = "\E1* I must attend to some& business^1, and you must& stay alone for a while./" - global.msg[6] = "\E0* Please remain here^2.&*\E1 It's dangerous to& explore by yourself./" - global.msg[7] = "\E0* I have an idea^2.&* I will give you a& CELL PHONE./" - global.msg[8] = "* If you have a need for& anything^1, just call./" - global.msg[9] = "\E1* Be good^1, alright?/%" - break - case 221: - global.msg[0] = "\E0* You have done& excellently thus& far^1, my child./" - global.msg[1] = "\E2* However... I have a& difficult request to ask& of you./" - global.msg[2] = "* .../" - global.msg[3] = "* I would like you to walk& to the end of the room& by yourself./" - global.msg[4] = "\E1* Forgive me for this./%" - break - case 222: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?& Cinnamon Bscotch \C" - global.msg[5] = " " - break - case 223: - if (global.choice == 0) - { - global.flag[46] = 0 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 2) - ini_close() - } - if (global.choice == 1) - { - global.flag[46] = 1 - ini_open("undertale.ini") - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - global.msg[0] = "* Oh^1, I see.&* Thank you very much!/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* Click.../%%" - global.msg[5] = "* /" - break - case 224: - global.msg[0] = "* It's a fishing rod affixed& to the ground.../" - global.msg[1] = "* Reel it in?& & Yes No \C " - global.msg[2] = " " - break - case 225: - if (global.choice == 0) - { - if instance_exists(obj_ladiesfishingrod) - { - obj_ladiesfishingrod.reeled = 1 - obj_ladiesfishingrod.image_index = 1 - } - global.msg[0] = "* All that's attached to& the end is a photo of a& weird-looking monster.../" - global.msg[1] = "* (Call Me!& Here's my number!)/" - global.msg[2] = "* You decide not to call./%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* All that's attached to& the end is a note./" - global.msg[1] = "* (Nevermind^1, guys!)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* You leave it alone./%%" - break - case 226: - if (global.flag[56] == 5) - global.msg[0] = "* I shouldn't have given myself& away so easily.../%%" - if (global.flag[56] == 4) - { - global.msg[0] = "* Did you just...&* Consume the part of me& I had given you?/" - global.msg[1] = "* In front of my very eyes!?/" - global.msg[2] = "* I have no words for you..^1.&* Begone!/%%" - global.flag[56] = 5 - } - if (global.flag[56] == 2) - { - global.msg[0] = "* Thank you for taking care& of me.../%%" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[0] = "* Huh^1? Again...?/" - global.msg[1] = "* I'm sorry..^1. if I give you& any more^1, there will be& nothing left of me./" - global.msg[2] = "* I suppose it is true^1.&* Travelling beyond our limits& is but a fantasy./" - global.msg[3] = "* It's no different for& anyone else./" - global.msg[4] = "* All of monsterkind& are doomed to stay& underground^1, forever.../%%" - } - } - if (global.flag[56] == 1) - { - global.msg[0] = "* How am I doing^1?&* By " + chr(34) + "I" + chr(34) + " I mean the piece& of me I gave you.../" - scr_itemcheck(16) - scr_storagecheck(16) - if (haveit == 0 && haveit2 == 0) - { - global.msg[1] = "* Huh^1? You lost it...^1?&* ... I suppose I can give& you another piece.../" - scr_itemget(16) - if (noroom == 1) - global.msg[2] = "* You don't have any room^1?&* OK..^1. I understand I am not& a priority for you^1, then./%%" - else - { - global.msg[2] = "* Please be careful this& time./" - global.msg[3] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 2 - } - } - else - global.msg[0] += "%%" - } - if (global.flag[56] == 0) - { - global.msg[0] = "* Hello^1.&* I am a snowman./" - global.msg[1] = "* I want to see the world..^1.&* But I cannot move./" - global.msg[2] = "* If you would be so kind^1,& traveller^1, please.../" - global.msg[3] = "* Take a piece of me and& bring it very far away.& Yes No \C " - global.msg[4] = " " - } - break - case 227: - if (global.choice == 0) - { - scr_itemget(16) - if (noroom == 1) - global.msg[0] = "* It seems you do not& have enough room for me./%%" - else - { - global.msg[0] = "* Thank you... good luck!/" - global.msg[1] = "* (You got the Snowman& Piece.)/%%" - global.flag[56] = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* I see^1.&* Good journey^1, then./%%" - break - case 228: - global.msg[0] = "SANS!!^1!&THAT DIDN'T DO&ANYTHING!/" - if (global.flag[254] == 0) - global.msg[0] = "SANS!!^1!&THEY DIDN'T EVEN&LOOK AT IT!/" - scr_sansface(1, 0) - global.msg[2] = "* whoops./" - global.msg[3] = "* i knew i should have& used today's crossword& instead./" - scr_papface(4, 1) - global.msg[5] = "WHAT!^1?&CROSSWORD!?/" - global.msg[6] = "I CAN'T BELIEVE&YOU SAID THAT!!/" - global.msg[7] = "IN MY OPINION.../" - global.msg[8] = "\E3JUNIOR JUMBLE&IS EASILY THE&HARDEST./" - scr_sansface(9, 0) - global.msg[10] = "* what^1? really^1, dude^1?&* that easy-peasy word& scramble?/" - global.msg[11] = "\E1* that's for baby bones./" - scr_papface(12, 3) - global.msg[13] = "UN^1. BELIEVABLE./" - global.msg[14] = "\E0HUMAN!!^1!&SOLVE THIS DISPUTE!/" - global.msg[15] = "\TS \F0 \E0 \T0 %" - global.msg[16] = "* (Which is harder?)& & Jumble Crossword \C " - global.msg[17] = " " - break - case 229: - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[58] = 0 - global.msg[1] = "HA^1! HA^1! YES!/" - global.msg[2] = "HUMANS MUST BE&VERY INTELLIGENT!/" - global.msg[3] = "IF THEY ALSO FIND&JUNIOR JUMBLE&SO DIFFICULT!/" - global.msg[4] = "NYEH^1! HEH^1! HEH HEH!/%%" - } - if (global.choice == 1) - { - global.flag[58] = 1 - global.msg[1] = "YOU TWO ARE WEIRD!/" - global.msg[2] = "\E3CROSSWORDS ARE SO&EASY./" - global.msg[3] = "IT'S THE SAME&SOLUTION EVERY&TIME./" - global.msg[4] = "\E0I JUST FILL ALL&THE BOXES IN WITH&THE LETTER " + chr(34) + "Z" + chr(34) + ".../" - global.msg[5] = "BECAUSE EVERY TIME&I LOOK AT A&CROSSWORD.../" - global.msg[6] = "ALL I CAN DO IS&SNORE!!!/" - global.msg[7] = "NYEH HEH HEH!!!/%%" - } - break - case 230: - doak = 0 - noroom = 0 - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 15G!& & Yes No \C" - global.msg[3] = " " - } - break - case 231: - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 15 - global.flag[60] += 15 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here you go^1!&* Have a super-duper day^1!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1?&* You don't have enough& money.../" - global.msg[1] = "* I wish I could make& Nice Cream for free.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Out in the middle of& the woods.../%%" - } - break - case 232: - doak = 0 - noroom = 0 - scr_itemcheck(26) - if (global.flag[85] == 0) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hello^1!&* Would you like some& Nice Cream?/" - global.msg[1] = "* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1!&* It's the frozen treat& that warms your heart!/" - global.msg[2] = "* Now just 25G!& & Yes No \C" - global.msg[3] = " " - } - } - if (global.flag[85] == 1) - { - if (global.flag[60] < 5) - { - global.msg[0] = "* Hey^1, you have an umbrella^1,& just like my cart.../" - global.msg[1] = "* Such solidarity^1!&* I have no choice but to& give you a deal!/" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[60] >= 5) - { - global.msg[0] = " %" - global.msg[1] = "* Umbrella solidarity!^1?&* I guess I have to give& you a deal.../" - global.msg[2] = "* Discount Ice Cream! 15G!& & Yes No \C" - global.msg[3] = " " - } - } - if (itemcount > 2) - { - global.msg[0] = "* Hey^1!&* You have 3 Punch Cards!/" - global.msg[1] = "* How about redeeming them& for some Nice Cream!?/" - global.msg[2] = "* It's free!& & Yes No \C" - global.msg[3] = " " - } - break - case 233: - scr_itemcheck(26) - if (itemcount < 3) - { - if (global.flag[85] == 0) - script_execute(scr_cost, 25) - if (global.flag[85] == 1) - script_execute(scr_cost, 15) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - if (global.flag[85] == 0) - { - global.gold -= 25 - global.flag[60] += 25 - } - else - { - global.gold -= 15 - global.flag[60] += 15 - } - global.flag[80] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Super^1! Here you go^1!&* Your Card's in the box!&* (You got the Nice Cream.)/%%" - if (afford == 0) - { - global.msg[0] = "* Huh^1? No money^1?&* Sorry^1, I can't give it to& you for free./%%" - if (global.flag[85] == 1) - global.msg[0] = "* Huh^1? You can't afford it& even with the discount^1?&* I.../%%" - } - } - if (noroom == 1) - global.msg[0] = "* It looks like you're& holding too much stuff^1!&* Oh well!/%%" - } - else if (global.choice == 0) - { - rem = 0 - g = 0 - for (n = 0; n < 8; n += 1) - { - if (g == 1) - { - n -= 1 - g = 0 - } - if (global.item[n] == 26 && rem < 3) - { - scr_itemshift(n, 0) - rem += 1 - g = 1 - } - } - scr_itemget(17) - global.msg[0] = "* Here^1! A free Nice Cream^1!&* (You lost 3 cards and got& a Nice Cream.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* There's ice cream..^1.&* Hidden in the depths of a& watery cavern.../%%" - } - break - case 235: - global.msg[0] = "* i've been thinking& about selling treats& too./" - global.msg[1] = "* want some fried snow^1?&* it's just 5G.& Buy No\C" - global.msg[2] = " " - break - case 236: - if (global.choice == 0) - { - global.msg[0] = "* did i say 5G^1?&* i meant 50G^1.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* i should charge way& more than than that./%%" - } - break - case 237: - if (global.choice == 0) - { - global.msg[0] = "* really^1?&* how about 5000G?& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - { - global.msg[0] = "* you're right./" - global.msg[1] = "* that's still too low./%%" - } - break - case 238: - if (global.choice == 0) - { - global.msg[0] = "* 50000G^1.&* that's my final offer.& Buy No\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* i have to pay for& the raw materials& somehow./%%" - break - case 239: - if (global.choice == 0) - { - global.msg[0] = "* what^1?&* you don't have the& money?/" - global.msg[1] = "* hey^1, that's okay./" - global.msg[2] = "\E1* i don't have any snow./%%" - if (global.gold >= 50000) - { - global.msg[0] = "* wow^1, that's a lot& of cash./" - global.msg[1] = "\E3* that's why i'm sorry& to say.../" - global.msg[2] = "\E3* i can't sell you& this fried snow./" - global.msg[3] = "\E2* it's got too much& sentimental value./%%" - } - } - if (global.choice == 1) - global.msg[0] = "* don't you know a& good deal when you& hear one?/%%" - break - case 240: - global.msg[0] = "WHAT!^1?&HOW DID YOU&AVOID MY TRAP?/" - global.msg[1] = "\E3AND^1, MORE&IMPORTANTLY.../" - global.msg[2] = "\E0IS THERE ANY&LEFT FOR ME???/" - global.msg[3] = "\TS \F0 \E0 \T0 %" - global.msg[4] = "* (What do you tell Papyrus& about his spaghetti?)& Ate it Left it \C " - global.msg[5] = " " - break - case 241: - scr_papface(0, 0) - global.msg[1] = "REALLY!?/" - if (global.choice == 0) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "NO ONE'S EVER&ENJOYED MY&COOKING BEFORE.../" - global.msg[4] = "\E0WELL THEN!!/" - global.flag[62] = 1 - } - if (global.choice == 1) - { - global.msg[2] = "\E2WOWIE.../" - global.msg[3] = "YOU RESISTED THE&FLAVOR OF MY&HOMECOOKED PASTA.../" - global.msg[4] = "JUST SO YOU&COULD SHARE&IT WITH ME???/" - global.flag[62] = 2 - } - global.msg[5] = "\E0FRET NOT HUMAN^1!&I^1, MASTER CHEF&PAPYRUS.../" - global.msg[6] = "WILL MAKE YOU ALL&THE PASTA YOU&COULD EVER WANT!/" - global.msg[7] = "HEH HEH HEH HEH&HEH HEH NYEH!/%%" - break - case 243: - global.msg[0] = "HEY!/" - global.msg[1] = "IT'S THE HUMAN!/" - global.msg[2] = "\E0YOU'RE GONNA&LOVE THIS&PUZZLE!/" - global.msg[3] = "IT WAS MADE&BY THE GREAT&DR. ALPHYS!/" - global.msg[4] = "YOU SEE&THESE TILES&!?/" - global.msg[5] = "ONCE I THROW&THIS SWITCH.../" - global.msg[6] = "THEY WILL&BEGIN TO&CHANGE COLOR!/" - global.msg[7] = "EACH COLOR HAS&A DIFFERENT&FUNCTION!/" - global.msg[8] = "RED TILES ARE&IMPASSABLE!/" - global.msg[9] = "YOU CANNOT&WALK ON THEM!/" - global.msg[10] = "YELLOW TILES&ARE ELECTRIC!/" - global.msg[11] = "THEY WILL&ELECTROCUTE&YOU!/" - global.msg[12] = "GREEN TILES&ARE ALARM&TILES!/" - global.msg[13] = "IF YOU STEP&ON THEM.../" - global.msg[14] = "YOU WILL HAVE&TO FIGHT A&MONSTER!!/" - global.msg[15] = "ORANGE TILES&ARE ORANGE-&SCENTED./" - global.msg[16] = "THEY WILL MAKE&YOU SMELL&DELICIOUS!/" - global.msg[17] = "BLUE TILES ARE&WATER TILES./" - global.msg[18] = "SWIM THROUGH&IF YOU LIKE^1,&BUT.../" - global.msg[19] = "IF YOU SMELL&LIKE ORANGES!/" - global.msg[20] = "THE PIRAHNAS&WILL BITE&YOU./" - global.msg[21] = "ALSO^1, IF A&BLUE TILE IS&NEXT TO A,/" - global.msg[22] = "YELLOW TILE^1,&THE WATER WILL&ALSO ZAP YOU!/" - global.msg[23] = "PURPLE TILES&ARE SLIPPERY!/" - global.msg[24] = "YOU WILL SLIDE&TO THE NEXT&TILE!/" - global.msg[25] = "HOWEVER^1, THE&SLIPPERY&SOAP.../" - global.msg[26] = "SMELLS LIKE&LEMONS!!/" - global.msg[27] = "WHICH PIRAHNAS&DO NOT LIKE!/" - global.msg[28] = "PURPLE AND&BLUE ARE OK!/" - global.msg[29] = "FINALLY^1,&PINK TILES./" - global.msg[30] = "THEY DON'T DO&ANYTHING./" - global.msg[31] = "STEP ON THEM&ALL YOU LIKE./" - global.msg[32] = "HOW WAS THAT!^1?&UNDERSTAND???/" - global.msg[33] = "\TS \F0 \E0 \T0 %" - global.msg[34] = "* (Understand the explanation?)& & Of course No \C " - global.msg[35] = " " - break - case 244: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "OKAY..^1.&I GUESS I'LL&REPEAT MYSELF.../" - global.msg[2] = "\E0RED TILES ARE&IMPASSABLE./" - global.msg[3] = "YELLOW TILES ARE&ELECTRIC AND&DANGEROUS./" - global.msg[4] = "BLUE TILES MAKE&YOU FIGHT A&MONSTER./" - global.msg[5] = "GREEN TILES ARE&WATER TILES./" - global.msg[6] = "ORANGE TILES ARE&ORANGE SCENTED./" - global.msg[7] = "IF YOU STEP ON&ORANGE^1, DON'T STEP&ON GREEN./" - global.msg[8] = "\E3BROWN TILES ARE.../" - global.msg[9] = "\E1WAIT!!^1!&THERE ARE NO&BROWN TILES.../" - global.msg[10] = "\E0PURPLE TILES&SMELL LIKE&LEMONS.../" - global.msg[11] = "\E3WHY DON'T THE&YELLOW ONES&SMELL LEMONY?/" - global.msg[12] = "\E3UMM.../" - global.msg[13] = "\E1WAIT!^1!&DID I MIX UP&GREEN AND BLUE!?/" - global.msg[14] = "THE BLUE ONES&ARE WATER ONES!/" - global.msg[15] = "\E3PINK TILES.../" - global.msg[16] = "I DON'T..^1.&REMEMBER???/" - global.msg[17] = "\E1WAIT!!!/" - global.msg[18] = "\E3THOSE ONES DON'T&DO ANYTHING./" - global.msg[19] = "\E0OKAY^1!&DO YOU UNDERSTAND&BETTER NOW!?/" - global.msg[20] = "\TS \F0 \E0 \T0 %" - global.msg[21] = "* (Understand the explanation?)& & Yes Even less \C " - global.msg[22] = " " - } - break - case 245: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "GREAT!^1!&THEN THERE'S ONE&LAST THING.../" - global.msg[2] = "THIS PUZZLE.../" - global.msg[3] = "IS ENTIRELY RANDOM&!!!!!!/" - global.msg[4] = "WHEN I PULL THIS&SWITCH^1, IT WILL&MAKE A PUZZLE.../" - global.msg[5] = "THAT HAS NEVER&BEEN SEEN BEFORE!/" - global.msg[6] = "NOT EVEN I WILL&KNOW THE SOLUTION!/" - global.msg[7] = "NYEH HEH HEH^1!&GET READY...!/%%" - obj_papyrus4.conversation = 50 - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "........../" - global.msg[2] = "OK^1, YOU KNOW&WHAT???/" - global.msg[3] = "HOW ABOUT..^1.&YOU JUST.../" - global.msg[4] = "DO THIS PUZZLE..^1.&ON YOUR OWN.../" - global.msg[5] = "I'LL LEAVE THE&INSTRUCTIONS.../" - global.msg[6] = "JUST READ THEM./" - global.msg[7] = "THEN WHEN YOU&UNDERSTAND IT.../" - global.msg[8] = "YOU CAN THROW&THE SWITCH./" - global.msg[9] = "AND DO IT AT&YOUR OWN PACE./" - global.msg[10] = "GOOD LUCK./" - global.msg[11] = "NYEH..^1.&HEH..^1.&HEH!/%%" - obj_papyrus4.conversation = 80 - } - break - case 246: - if (global.flag[104] == 0) - { - global.msg[0] = "* (There's a lone quiche& sitting underneath& this bench.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* It's just a bench./%%" - break - case 247: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 23) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Abandoned& Quiche.)/%%" - global.flag[104] = 1 - } - if (noroom == 1) - { - global.msg[0] = "* (You're carrying too much.)/" - global.msg[1] = "* (You aren't ready for the& responsibility.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = "* (The quiche was left all& alone...)/%%" - break - case 248: - if (global.flag[105] == 0) - { - global.msg[0] = "* (There's a tutu lying on& the ground here.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 249: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 24) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Old Tutu.)/%%" - global.flag[105] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 250: - if (global.flag[80] > 0) - { - card = string(global.flag[80]) - global.msg[0] = (("* (The box contains " + card) + " cards.)/") - if (global.flag[80] > 2) - global.msg[0] = (("* (Two bugs in the box are& playing a " + card) + "-card game.)/") - if (global.flag[80] > 4) - global.msg[0] = (("* (There's a smiley face made& of " + card) + " cards in the box.)/") - if (global.flag[80] > 6) - global.msg[0] = (("* (A house made of " + card) + " cards& sits in the box.)/") - if (global.flag[80] > 12) - global.msg[0] = "* (The box is overstuffed with& cards.)/" - global.msg[1] = "* (Take a card?)& & Take Leave \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's a box for storing Punch& Cards^1.)&* (It's empty right now.)/%%" - break - case 251: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 26) - } - if (noroom == 0) - { - global.msg[0] = "* (You got a Punch Card.)/%%" - if (global.flag[80] > 2) - global.msg[0] = "* (All games must end one day.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 4) - global.msg[0] = "* (Happiness is fleeting.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 6) - global.msg[0] = "* (The house collapses.^1)&* (You got a Punch Card.)/%%" - if (global.flag[80] > 12) - global.msg[0] = "* (You got a Punch Card.)/%%" - global.flag[80] -= 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 252: - if (global.flag[106] == 0) - { - global.msg[0] = "* (It's a pair of ballet shoes.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 253: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 25) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Ballet Shoes.)/%%" - global.flag[106] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 254: - global.msg[0] = "* (This little bird wants to& carry you across.)/" - global.msg[1] = "* (Accept the bird's offer?)& & Get ride No \C " - global.msg[2] = " " - if (global.flag[85] == 1) - global.msg[0] = "* (Umbrellas and birds...^1)&* (A bad combination.)/%%" - break - case 255: - global.msg[0] = " %%" - if (global.choice == 0 && global.flag[85] == 0) - { - global.interact = 1 - if instance_exists(obj_carrybird) - { - obj_carrybird.carry = 1 - with (obj_mainchara) - uncan = 1 - } - } - break - case 256: - if (global.flag[107] != 1) - { - global.msg[0] = "* (It's a legendary artifact.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The artifact is gone.)/%%" - break - case 257: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 0) - for (i = 0; i < 8; i += 1) - { - if (global.item[i] == 27) - noroom = 2 - } - } - if (noroom == 0) - { - global.msg[0] = "* (This will never happen.)/%%" - global.flag[107] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - if (noroom == 2) - global.msg[0] = "* (You're carrying too many& dogs.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 258: - if (global.flag[109] == 0) - { - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/" - global.msg[1] = "* (Take a package of noodles?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (The fridge is filled with& instant noodles and soda.)/%%" - break - case 259: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 36) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Instant Noodles.)/%%" - global.flag[109] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* (You decide to stay healthy.)/%%" - break - case 260: - if (global.flag[110] == 0) - { - global.msg[0] = "* (There's a frypan lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 261: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 47) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Burnt Pan.)/%%" - global.flag[110] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 262: - if (global.flag[111] == 0) - { - global.msg[0] = "* (There's an apron lying on& the ground.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 263: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 46) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Stained Apron.)/%%" - global.flag[111] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 264: - if (global.flag[112] == 0) - { - global.msg[0] = "* (There's a Glamburger inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 265: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - script_execute(scr_itemget, 40) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Glamburger.)/%%" - global.flag[112] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 266: - if (global.flag[113] == 0) - { - global.msg[0] = "* (There's 100G inside& the trash can.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* (It's an empty trashcan.)/%%" - break - case 267: - if (global.choice == 0) - { - global.flag[113] = 1 - if (doak == 0) - global.gold += 100 - doak = 1 - global.msg[0] = "* (You got 100G.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 268: - if (global.flag[114] == 0) - { - if (scr_murderlv() < 16) - global.msg[0] = "* (There's a worn dagger& inside the box.)/" - else - global.msg[0] = "* (Knife inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 269: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() >= 16) - scr_itemget(52) - else - script_execute(scr_itemget, 51) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Worn Dagger.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got the Real Knife.)/%%" - global.flag[114] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 270: - if (global.flag[115] == 0) - { - global.msg[0] = "* (There's a heart-shaped& locket inside the box.)/" - global.msg[1] = "* (Will you take it?)& & Take it Leave it \C " - global.msg[2] = " " - } - else - global.msg[0] = "* Nothing's here!!!/%%" - break - case 271: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = -1 - doak = 1 - if (scr_murderlv() < 16) - script_execute(scr_itemget, 50) - else - script_execute(scr_itemget, 53) - } - if (noroom == 0) - { - global.msg[0] = "* (You got the Heart-shaped& Locket.)/%%" - if (scr_murderlv() >= 16) - global.msg[0] = "* (You got The Locket.)/%%" - global.flag[115] = 1 - } - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 272: - global.msg[0] = "* (The box is empty.)/%%" - break - case 273: - doak = 0 - noroom = 0 - if (global.flag[250] == 0) - { - global.msg[0] = "* Hello...&* Would you like some& Nice Cream...?/" - global.msg[1] = "* It's the frozen treat...&* That warms your heart./" - global.msg[2] = "* Now only 12G!& & Yes No \C" - global.msg[3] = " " - } - if (global.flag[250] >= 1) - { - global.msg[0] = " %" - global.msg[1] = "* Nice Cream^1.&* It's the frozen treat^1.&* That warms your heart./" - global.msg[2] = "* Now just 12G.& & Yes No \C" - global.msg[3] = " " - } - break - case 274: - script_execute(scr_cost, 12) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 17) - if (noroom == 0) - { - global.gold -= 12 - global.flag[60] += 12 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Here^1.&* (You got the Nice Cream.)/%%" - if (afford == 0) - global.msg[0] = "* You don't have enough& money.../%%" - } - if (noroom == 1) - global.msg[0] = "* Drop something./%%" - if (global.choice == 1) - { - global.msg[0] = "* Well then..^1.&* Tell your friends.../" - global.msg[1] = "* Life..^1. is suffering./%%" - } - break - case 500: - global.msg[0] = "* (Golden flowers.^1)&* (They must have& broken your fall.)/%%" - global.msg[1] = "%%%" - break - case 501: - global.msg[0] = "* " + chr(34) + "Press [Z] to read signs!" + chr(34) + "/%%" - break - case 502: - global.msg[0] = "* Just a regular old pillar./%%" - break - case 503: - global.msg[0] = "* Please don't step on the& leaves./%%" - break - case 504: - global.msg[0] = "* Didn't you read the sign& downstairs?/%%" - break - case 505: - conversation = obj_goofyrock.conversation - if (global.flag[33] == 0) - { - if (conversation == 0) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* WHOA there^1, pardner^2!&* Who said you could push& me around?/" - global.msg[1] = "* HMM^2?&* So you're ASKIN' me to& move over?/" - global.msg[2] = "* Okay^1, just for you^1,& pumpkin./%%" - } - if (conversation == 3) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You want me to move some& more?/" - global.msg[1] = "* Alrighty^1, how's this?/%%" - } - if (conversation == 6) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* That was the wrong direction?/" - global.msg[1] = "* Okay^1, think I got it./%%" - } - if (conversation == 9) - global.msg[0] = "* Was that helpful?/%%" - if (conversation == 12) - { - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* HMM^2?&* You wanted me to STAY there?/" - global.msg[1] = "* You're giving me a real& workout./%%" - } - } - else - { - global.msg[0] = "* Aren't things easier when& you just ask?/%%" - if (global.flag[7] == 1) - { - global.msg[0] = "* The exit's open^1?&* Guess I better roll out.../" - global.msg[1] = "* Hey^1, y'mind giving me a& push^1, pumpkin?/%%" - } - } - break - case 508: - doak = 0 - noroom = 0 - if (global.flag[34] < 4) - { - global.msg[0] = "*'Take one.'&* Take a candy?& Yes No \C" - if (global.flag[34] == 0) - global.msg[0] = "* It says 'take one.'&* Take a piece of candy?& Yes No \C" - } - else - global.msg[0] = "* Look at what you've done./%%" - global.msg[1] = " " - break - case 509: - if (global.choice == 0) - { - if (global.flag[34] < 4) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 1) - if (noroom == 0) - global.flag[34] += 1 - } - } - if (noroom == 0) - { - if (global.flag[34] == 1) - global.msg[0] = "* You took a piece of candy.&* (Press [C] to open the menu.)/%%" - if (global.flag[34] == 2) - global.msg[0] = "* You took more candy^1.&* How disgusting../%%" - if (global.flag[34] == 3) - global.msg[0] = "* You take another piece.&* You feel like the& scum of the earth.../%%" - if (global.flag[34] == 4) - global.msg[0] = "* You took too much too fast.&* The candy spills onto& the floor./%%" - if (global.flag[34] == 3 && global.flag[6] == 1) - { - global.msg[0] = "* In this hellish world^1, you& can only take 3 pieces& of candy.../%%" - global.flag[34] += 1 - } - } - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - } - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 510: - global.msg[0] = "* zzzzzzzzzzzzzzz..^1.&* zzzzzzzzzzzzzz.../" - global.msg[1] = "* zzzzzzzzzz..^1.&* (are they gone yet^1)&* zzzzzzzzzzzzzzz.../" - global.msg[2] = "* (This ghost keeps saying 'z'& out loud repeatedly^1,& pretending to sleep.)/" - global.msg[3] = "* Move it with force?& & Yes No \C" - global.msg[4] = " " - break - case 511: - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - } - global.msg[0] = "%%" - break - case 512: - doak = 0 - noroom = 0 - global.msg[0] = "* It says 'Take them all.'&* Take a candy?& Yes No \C" - global.msg[1] = " " - break - case 513: - script_execute(scr_itemcheck, 5) - if (global.choice == 0) - { - if (haveit == 0) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 5) - } - } - } - if (noroom == 0) - global.msg[0] = "* You took a piece.&* Boy^1, that's heavy./%%" - if (haveit == 1) - global.msg[0] = "* You can't carry more.&* It's just too heavy./%%" - if (noroom == 1) - global.msg[0] = "* You tried to take a piece& of candy^1, but you didn't& have any room./%%" - if (global.choice == 1) - global.msg[0] = "* You decided not to take some./%%" - break - case 514: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 7G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 515: - script_execute(scr_cost, 7) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 7 - global.flag[59] += 7 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 516: - doak = 0 - noroom = 0 - global.msg[0] = "* Leave 18G in the web?& & Yes No \C" - global.msg[1] = " " - break - case 517: - script_execute(scr_cost, 18) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 18 - global.flag[59] += 18 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 518: - if (doak == 0) - { - script_execute(scr_itemget, 12) - if (noroom == 0) - global.flag[100] = 1 - doak = 1 - } - global.msg[0] = "* You found a Faded Ribbon./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 519: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 520: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - global.msg[0] = "* Nothing happened./%%" - if (global.choice == 1) - global.msg[0] = "%%" - if (global.flag[43] > 25) - global.msg[0] = "* You're making the switches& uncomfortable with all& this attention./%%" - break - case 521: - doak = 0 - noroom = 0 - global.msg[0] = "* It's a switch.&* Press it?& Yes No \C" - global.msg[1] = " " - break - case 522: - if (doak == 0) - { - global.flag[43] += 1 - doak = 1 - } - if (global.choice == 0) - { - global.msg[0] = "* You hear a clicking sound./%%" - if (room == room_ruins15B && global.plot < 14) - { - global.plot = 14 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15C && global.plot < 15) - { - global.plot = 15 - snd_play(snd_switchpull_n) - } - if (room == room_ruins15D && global.plot < 16) - { - global.plot = 16 - snd_play(snd_switchpull_n) - } - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 523: - if (doak == 0) - { - script_execute(scr_itemget, 13) - if (noroom == 0) - global.flag[102] = 1 - doak = 1 - } - global.msg[0] = "* You found the Toy Knife./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - break - case 524: - doak = 0 - noroom = 0 - global.msg[0] = "* It's TORIEL's diary.&* Read the circled passage?& Yes No \C" - global.msg[1] = " " - break - case 525: - if (global.choice == 0) - { - global.msg[0] = "* You read the passage.../" - global.msg[1] = "* " + chr(34) + "Why did the skeleton want& a friend?" + chr(34) + "/" - global.msg[2] = "" + chr(34) + "* Because she was feeling& BONELY..." + chr(34) + "/" - global.msg[3] = "* The rest of the page is& filled with jokes of& a similar caliber./%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 526: - if (global.flag[6] == 0) - { - if (doak == 0) - { - script_execute(scr_itemget, 11) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& butterscotch-cinnamon& pie./%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - else - { - if (doak == 0) - { - script_execute(scr_itemget, 63) - if (noroom == 0) - global.flag[103] = 2 - doak = 1 - } - global.msg[0] = "* You found a slice of& snail pie.../%%" - if (noroom == 1) - global.msg[0] = "* You are carrying too& much./%%" - } - break - case 527: - global.msg[0] = "* Hello there^1,& little one!/" - global.msg[1] = "* The pie has not& cooled down yet./" - global.msg[2] = "* Perhaps you should& take a nap.& Yes No \C " - global.msg[3] = " " - break - case 528: - global.plot = 19.1 - if (global.choice == 0) - global.msg[0] = "* Sweet dreams./%%" - else - { - global.msg[0] = "\E1* You'd rather stay& up and chat with& me^1, then?/" - if (global.flag[103] > 0) - global.msg[0] = "* Up already^1, I see?/" - global.msg[1] = "\E0* Um^1, I want you to know& how glad I am to& have someone here./" - global.msg[2] = "* There are so many& old books I want& to share./" - global.msg[3] = "* I want to show you& my favorite bug-& hunting spot./" - global.msg[4] = "* I've also prepared& a curriculum for& your education./" - global.msg[5] = "* This may come as& a surprise to you.../" - global.msg[6] = "* But I have always& wanted to be a& teacher./" - global.msg[7] = "\E1* ... actually^1, perhaps& that isn't very& surprising./" - global.msg[8] = "\E5* STILL./" - global.msg[9] = "\E0* I am glad to have& you living here./" - global.msg[10] = "\E1* Oh^1, did you& want something?/" - global.msg[11] = "* What is it?& When can& Nothing I go home?\C " - global.msg[12] = " " - } - break - case 529: - global.plot = 19.2 - if (global.choice == 0) - global.msg[0] = "* Well^1, talk to me& again if you& need anything./%%" - else - { - global.msg[0] = "\E1* What^1?&* This..^1. this IS your& home now./" - global.msg[1] = "* Um..^1. would you like& to hear about this& book I am reading?/" - if (global.choice == -1) - { - global.msg[0] = "\E0* Oh^1, hello!/" - global.msg[1] = "* Did you want to& hear about the& book I am reading?/" - } - global.msg[2] = "\E0* It is called& " + chr(34) + "72 Uses for Snails." + chr(34) + "/" - global.msg[3] = "* How about it?& How to exit& Sure the RUINS\C " - global.msg[4] = " " - } - break - case 530: - global.plot = 19.3 - global.msg[0] = "* Here is an exciting& snail fact./" - if (global.choice == 1) - global.msg[0] = "\E1* Um^1.^1.^1.&*\E0 How about an exciting& snail fact?/" - global.msg[1] = "\E2* Did you know& that snails.../" - r = round(random(3)) - if (r == 0) - global.msg[2] = "\E0* Have a chainsaw-like& tongue called a& radula?/" - if (r == 1) - global.msg[2] = "\E0* Sometimes flip their& digestive systems& as they mature?/" - if (r == 2) - global.msg[2] = "\E0* Make terrible& shoelaces?/" - if (r == 3) - global.msg[2] = "\E0* Talk^2. Really^2. Slowly^2?&* Just kidding^1, snails& don't talk./" - global.msg[3] = "\E0* Interesting.& How to exit& Yeah the RUINS\C " - global.msg[4] = " " - break - case 531: - global.plot = 19.4 - if (global.choice == 0) - global.msg[0] = "* Well^1, bother me& if you need anything& else./%%" - else - { - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something^1.&* Stay here./%%" - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - if (global.choice == -1) - global.msg[0] = "\E0* What is it?& How to exit& Nothing the RUINS\C " - } - global.msg[1] = " " - break - case 532: - if (global.choice == 0) - global.msg[0] = "* If you need anything^1,& just ask./%%" - if (global.choice == 1) - { - global.msg[0] = "\E1* ... I have to do& something.&* Stay here./%%." - global.plot = 19.9 - with (obj_mainchara) - uncan = 1 - } - global.msg[1] = " " - break - case 540: - global.msg[0] = "\E2NYOO HOO HOO.../" - global.msg[1] = "I CAN'T EVEN&STOP SOMEONE AS&WEAK AS YOU.../" - global.msg[2] = "UNDYNE'S GOING TO&BE DISAPPOINTED&IN ME./" - global.msg[3] = "I'LL NEVER JOIN THE&ROYAL GUARD..^1.&AND.../" - global.msg[4] = "MY FRIEND QUANTITY&WILL REMAIN&STAGNANT!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (What should you say?)& Let's be What a& friends loser\C" - global.msg[7] = " " - if (scr_murderlv() >= 7) - { - if instance_exists(obj_papyrus8) - { - if (obj_papyrus8.murder == 1) - { - global.msg[0] = "\E0WOWIE!^1!&YOU DID IT!!!/" - global.msg[1] = "YOU DIDN'T DO A&VIOLENCE!!!/" - global.msg[2] = "\E5TO BE HONEST^1,&I WAS A LITTLE&AFRAID.../" - global.msg[3] = "\E0BUT YOU'RE ALREADY&BECOMING A GREAT&PERSON!/" - global.msg[4] = "\E7I'M SO PROUD I&COULD CRY!!!/" - global.msg[5] = "\E3... WAIT^1, WASN'T I&SUPPOSED TO&CAPTURE YOU...?/" - global.msg[6] = "\E0WELL^1, FORGET IT!/" - global.msg[7] = "I JUST WANT YOU&TO BE THE BEST&PERSON YOU CAN BE./" - global.msg[8] = "SO LET'S LET&BYBONES BE&BYBONES./" - global.msg[9] = "I'LL EVEN TELL YOU&HOW TO LEAVE THE&UNDERGROUND!/" - global.msg[10] = "JUST KEEP GOING&EAST!/" - global.msg[11] = "EVENTUALLY YOU'LL&REACH THE KING'S&CASTLE./" - global.msg[12] = "THEN YOU CAN&LEAVE!/%%" - } - } - } - break - case 541: - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "REALLY!^1?&YOU WANT TO BE&FRIENDS^1, WITH ME???/" - global.msg[2] = "WELL THEN.../" - global.msg[3] = "\E0I GUESS..^1./" - global.msg[4] = "I GUESS&I CAN MAKE AN&ALLOWANCE FOR YOU!/" - global.msg[5] = " %" - } - if (global.choice == 1) - { - scr_papface(0, 3) - global.msg[1] = "HUH^1?&WHY WOULD YOU.../" - global.msg[2] = "BERATE YOURSELF&SO LOUDLY???/" - global.msg[3] = "IS IT BECAUSE.../" - global.msg[4] = "\E3YOU DON'T THINK&YOU'RE GOOD ENOUGH&TO BE MY FRIEND?/" - global.msg[5] = "\E0NO!!^1!&YOU'RE GREAT!!^1!&I'LL BE YOUR FRIEND!/" - } - if (global.flag[66] == 1) - { - global.msg[6] = "WOWIE!^1!&WE HAVEN'T EVEN HAD&OUR FIRST DATE.../" - global.msg[7] = "AND I'VE ALREADY&MANAGED TO HIT&THE FRIEND ZONE!!!/" - global.msg[8] = "WHO KNEW THAT&ALL I NEEDED TO&MAKE PALS.../" - } - else - { - global.msg[6] = "WOW!!!/" - global.msg[7] = "I HAVE FRIENDS!!!/" - global.msg[8] = "AND WHO KNEW THAT&ALL I NEEDED TO&MAKE THEM.../" - } - global.msg[9] = "WAS TO GIVE PEOPLE&AWFUL PUZZLES AND&THEN FIGHT THEM??/" - global.msg[10] = "YOU TAUGHT ME A&LOT^1, HUMAN./" - global.msg[11] = "I HEREBY GRANT&YOU PERMISSION&TO PASS THROUGH!/" - global.msg[12] = "AND I'LL GIVE&YOU DIRECTIONS&TO THE SURFACE./" - global.msg[13] = "CONTINUE FORWARD&UNTIL YOU REACH THE&END OF THE CAVERN./" - global.msg[14] = "\WTHEN..^1. WHEN YOU&REACH THE CAPITAL^1,&CROSS \YTHE BARRIER\W./" - global.msg[15] = "THAT'S THE MAGICAL&SEAL TRAPPING US&ALL UNDERGROUND./" - global.msg[16] = "ANYTHING CAN ENTER&THROUGH IT^1, BUT&NOTHING CAN EXIT.../" - global.msg[17] = "... EXCEPT SOMEONE&WITH A POWERFUL&SOUL./" - global.msg[18] = "... LIKE YOU!!!/" - global.msg[19] = "THAT'S WHY THE&KING WANTS TO&ACQUIRE A HUMAN./" - global.msg[20] = "HE WANTS TO OPEN&THE BARRIER WITH&SOUL POWER./" - global.msg[21] = "THEN US MONSTERS&CAN RETURN TO&THE SURFACE!/%%" - break - case 544: - global.msg[0] = "YOU'RE BACK AGAIN?!?!/" - global.msg[1] = "I FINALLY REALIZE&THE TRUE REASON WHY./" - global.msg[2] = "YOU.../" - global.msg[3] = "JUST MISS SEEING MY&FACE SO MUCH.../" - global.msg[4] = "I'M NOT SURE I&CAN FIGHT SOMEONE&WHO FEELS THIS WAY./" - global.msg[5] = "BUT MOSTLY..^1. I'M GETTING&REALLY TIRED OF&CAPTURING YOU!/" - global.msg[6] = "SO..^1.&WHAT DO YOU SAY?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* (Fight Papyrus?)& & Yes No\C" - global.msg[8] = " " - break - case 545: - global.msg[0] = "\TP %" - if (global.choice == 0) - { - global.msg[1] = "OKAY.../" - global.msg[2] = "I GUESS./" - global.msg[3] = "IF YOU WANT ME TO&CAPTURE YOU./" - global.msg[4] = "I'LL TRY AGAIN!!!/%%" - obj_papyrus8.conversation = 14 - } - if (global.choice == 1) - { - global.msg[1] = "... OKAY.../" - global.msg[2] = "I GUESS I'LL ACCEPT&MY FAILURE.../%%" - obj_papyrus8.conversation = 17 - obj_fogmaker.s = 1 - global.flag[67] = 0 - global.flag[68] = 1 - } - break - case 547: - global.msg[0] = "* Welcome to Snowed Inn^1!&* Snowdin's premier hotel!/" - global.msg[1] = "* One night is 80G.& & Stay Leave\C" - if (global.flag[72] == 2) - { - global.msg[0] = "* Back again^1?&* Well^1, stay as long as you& like./" - global.msg[1] = "* How about it?& & Stay Leave\C" - } - global.msg[2] = " " - if (obj_townnpc_innlady.jtext == 1) - global.msg[0] = "* What^1?&* No^1, you can't get a& second key!" - if (global.flag[7] == 1) - { - global.msg[0] = "* Hello^1!&* Sorry^1, no time for a& nap.../" - global.msg[1] = "* Snowed Inn is shutting& down so we can all go& to the surface./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Oh^1, there you are^1.&* I was worrying about& you!/" - global.msg[1] = "* Things are going to be OK^1,& you hear?/" - global.msg[2] = "* We're all going to the& surface world soon.../" - global.msg[3] = "* There's bound to be a& place you can stay there!/%%" - } - } - break - case 548: - if (global.choice == 0) - { - global.msg[0] = "Error./%%" - if (global.flag[72] == 2) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - } - if (global.gold < 80 && global.flag[72] == 0) - { - global.msg[0] = "* ... You don't even have 80G?/" - global.msg[1] = "* Oh^1! You poor thing^1.&* I can only imagine what& you've been through./" - global.msg[2] = "* One of the rooms upstairs& is empty^1./" - global.msg[3] = "* You can sleep there for& free^1, okay?/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 2 - } - if (global.gold >= 80) - { - if (global.flag[72] == 0 || global.flag[72] == 1) - { - global.msg[0] = "* Here's your room key^1.&* Make sure to bundle up!/%%" - obj_townnpc_innlady.conversation = 2 - with (obj_townnpc_innlady) - jtext = 1 - global.flag[72] = 1 - } - } - if (global.gold < 80 && global.flag[72] == 1) - global.msg[0] = "* You aren't carrying enough& money./%%" - } - else - global.msg[0] = "* Well^1, feel free to come& back any time./%%" - break - case 549: - global.msg[0] = "* (Look through the telescope?)& & Yes No\C" - global.msg[1] = " " - break - case 550: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - } - break - case 551: - if (obj_mainchara.dsprite != spr_maincharad_pranked) - { - global.msg[0] = "* i'm thinking about& getting into the& telescope business./" - global.msg[1] = "* it's normally 50000G& to use this premium& telescope.../" - global.msg[2] = "* but..^1.&*\E1 since i know you^1,& you can use it for free./" - global.msg[3] = "\E2* howzabout it?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Use the telescope?)& & Yes No\C" - } - else - { - global.msg[0] = "* huh^1?&* you aren't satisfied?/" - global.msg[1] = "\E1* don't worry./" - global.msg[2] = "\E2* i'll give you a& full refund./%%" - } - global.msg[6] = " " - break - case 552: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_starchecker) == 0) - instance_create(view_xview[0], view_yview[0], obj_starchecker) - obj_mainchara.dsprite = spr_maincharad_pranked - obj_mainchara.lsprite = spr_maincharal_pranked - } - else - { - scr_sansface(0, 0) - global.msg[1] = "* well^1, come back& whenever you want./%%" - } - break - case 553: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - global.flag[75] = global.armor - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "\E3HOW DID I GET THIS&NUMBER...?/" - global.msg[4] = "\E0IT WAS EASY!!!/" - global.msg[5] = "\E0I JUST DIALED EVERYNUMBER SEQUENTIALLYUNTIL I GOT YOURS!!!/" - global.msg[6] = "NYEH HEH HEH HEH!!/" - global.msg[7] = "\E2SO..^1.&WHAT ARE YOU&WEARING...?/" - global.msg[8] = "\E3I'M..^1.&ASKING FOR A&FRIEND./" - global.msg[9] = (("\E0SHE THOUGHT SHE&SAW YOU WEARING A&" + armor) + "./") - global.msg[10] = (("\E3IS THAT TRUE^1?&ARE YOU WEARING A&" + armor) + "?/") - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* (What will you say?)& & Yes No\C" - global.msg[13] = " " - break - case 554: - armor = "BEPIS." - if (global.armor == 4) - armor = "GROSS BANDAGE" - if (global.armor == 12) - armor = "FADED RIBBON" - if (global.armor == 15) - armor = "BANDANNA" - if (global.armor == 24) - armor = "DUSTY TUTU" - scr_papface(0, 0) - if (global.choice == 0) - { - global.flag[76] = 0 - global.msg[1] = (("SO YOU ARE WEARING&A " + armor) + ".../") - global.msg[2] = "GOT IT!!^1!&WINK WINK!!!/" - global.msg[3] = "HAVE A NICE DAY!/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - } - else - { - global.flag[76] = 1 - global.msg[1] = (("SO YOU AREN'T&WEARING A&" + armor) + ".../") - global.msg[2] = "GOT IT!/" - global.msg[3] = "YOU'RE MY FRIEND^1,&SO I TRUST YOU&100-PERCENT./" - global.msg[4] = "HAVE A NICE DAY!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - break - case 556: - global.msg[0] = "* (There's an empty pie tin& inside the stove.)/%%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "\E0MY BROTHER ALWAYS&GOES OUT TO EAT^1.&BUT.../" - global.msg[2] = "\E3RECENTLY^1, HE TRIED&'BAKING' SOMETHING./" - global.msg[3] = "IT WAS LIKE..^1.&A QUICHE./" - global.msg[4] = "BUT FILLED WITH A&SUGARY^1, NON-EGG&SUBSTANCE./" - global.msg[5] = "\E0HOW ABSURD!/%%" - } - break - case 557: - global.msg[0] = "* (It's a joke book.)/" - global.msg[1] = "* (Take a look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 558: - if (global.choice == 0) - { - global.msg[0] = "* (Inside the joke book was& a quantum physics book.)/" - global.msg[1] = "* (You look inside...)/" - global.msg[2] = "* (Inside the quantum physics& book was another joke& book.)/" - global.msg[3] = "* (You look inside...)/" - global.msg[4] = "* (There's another quantum& physics book...)/" - global.msg[5] = "* (You decide to stop.)/%%" - } - else - global.msg[0] = " %%" - break - case 559: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THAT'S MY ROOM^1!/" - global.msg[2] = "IF YOU'VE&FINISHED LOOKING&AROUND.../" - global.msg[3] = "WE COULD GO IN&AND.../" - global.msg[4] = "" + chr(34) + "HANG-OUT" + chr(34) + " LIKE&A PAIR OF VERY&COOL FRIENDS?/" - if (global.flag[66] == 1) - global.msg[4] = "\E3DO WHATEVER&PEOPLE DO WHEN&THEY DATE???/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Go inside?)& & Yes No\C" - global.msg[7] = " %" - } - else - { - global.msg[0] = "* (It's the door to& Papyrus's room.)/" - global.msg[1] = "* (It's covered in many& labels...)/" - global.msg[2] = "\TP %" - global.msg[3] = "* (NO GIRLS ALLOWED!)/" - global.msg[4] = "* (NO BOYS ALLOWED!)/" - global.msg[5] = "* (PAPYRUS ALLOWED.)/%%" - } - break - case 560: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_papdoor) - event_user(2) - } - break - case 561: - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "THERE ARE NO&SKELETONS INSIDE&MY CLOSET!!!/" - global.msg[2] = "\E3EXCEPT ME&SOMETIMES./" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Look in the closet?)& & Yes No\C" - global.msg[5] = " " - } - else - { - global.msg[0] = "* (Look in the closet?)& & Yes No\C" - global.msg[1] = " " - } - break - case 562: - if (global.choice == 0) - global.msg[0] = "* (Clothes are hung up& neatly inside.)/%%" - else - { - global.msg[0] = " %%" - if instance_exists(obj_papyrusparent) - { - scr_papface(0, 0) - global.msg[1] = "IT'S OK TO BE&INTIMIDATED BY&MY FASHION SENSE./%%" - } - } - break - case 563: - global.msg[0] = "\E3SO^1, UM.../" - global.msg[1] = "\E3IF YOU'VE SEEN&EVERYTHING.../" - global.msg[2] = "\E2DO YOU WANT TO&START HANGING OUT?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the hangouts?)& & Yes No\C" - global.msg[5] = " " - if (global.flag[66] == 1) - { - global.msg[2] = "\E2DO YOU WANT TO&START THE DATE?/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Begin the date?)& & Yes No\C" - global.msg[5] = " " - } - break - case 564: - if (global.choice == 0) - { - obj_papyrus_hisroom.intro = 4 - scr_papface(0, 0) - global.msg[1] = "\E0OKAY!!^1!&DATING START!!!/%%" - if (global.flag[66] == 0) - global.msg[1] = "\E0OKAY!!^1!&LET'S HANG TEN!!/%%" - } - else - { - scr_papface(0, 2) - global.msg[1] = "\E2TAKE YOUR TIME..^1.&I'LL WAIT FOR&YOU./%%" - } - break - case 565: - global.msg[0] = "* (This mailbox is labelled& " + chr(34) + "PAPYRUS" + chr(34) + ".)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 566: - if (global.choice == 0) - global.msg[0] = "* (It's empty.)/%%" - else - global.msg[0] = "* (You realize that would& probably be illegal.)/%%" - break - case 567: - global.msg[0] = "* what^1?&* haven't you seen a guy& with two jobs before?/" - global.msg[1] = "\E1* fortunately^1, two jobs& means twice as many& legally-required breaks./" - global.msg[2] = "\E0* i'm going to grillby's.&* wanna come?& Yeah I'm busy \C" - global.msg[3] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - if (scr_murderlv() >= 7) - { - global.msg[0] = "\E2* hey^1, looks like you're& really turning yourself& around./" - global.msg[1] = "\E0* how about i treat you& to lunch at grillby's?/" - global.msg[2] = "\E1* ... when everyone you& scared away comes& back^1, i mean./%%" - } - break - case 568: - if (global.choice == 0) - { - global.msg[0] = "* well^1, if you insist..^1.&* i'll pry myself away& from my work.../%%" - if instance_exists(obj_sans_sentry2) - obj_sans_sentry2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* OK^1. have fun./%%" - break - case 570: - global.msg[0] = "\E1* whoops^1, watch where& you sit down./" - global.msg[1] = "* sometimes weirdos put& whoopee cushions on& the seats./" - global.msg[2] = "\E0* anyway^1, let's order./" - global.msg[3] = "* whaddya want...?& & Fries Burger\C" - global.msg[4] = " " - break - case 571: - global.msg[0] = "* ok^1, coming right up./%%" - if (global.choice == 0) - { - global.flag[391] = 1 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& fries./%%" - obj_grillbynpc_sansdate.burg = 0 - } - if (global.choice == 1) - { - global.flag[391] = 2 - global.msg[0] = "* hey^1, that sounds& pretty good./" - global.msg[1] = "* grillby^1, we'll have& a double order of& burg./%%" - obj_grillbynpc_sansdate.burg = 1 - } - break - case 572: - global.msg[0] = "* so^1, what do you& think.../" - global.msg[1] = "* of my brother?& & Cool Uncool\C" - global.msg[2] = " " - break - case 573: - if (global.choice == 0) - { - global.msg[0] = "* of course he's cool./" - global.msg[1] = "\E1* you'd be cool too& if you wore that& outfit every day./" - global.msg[2] = "\E0* he'd only take that& thing off if he& absolutely had to./" - global.msg[3] = "* oh well^1.&* at least he washes& it./" - global.msg[4] = "\E1* and by that i mean& he wears it in& the shower./%%" - } - else - { - global.msg[0] = "* hey^1, pal./" - global.msg[1] = "\E1* sarcasm isn't funny^1,& okay?/" - global.msg[2] = "\E0* my brother's a real& star./" - global.msg[3] = "* he's the person who& pushed me to get& this sentry job./" - global.msg[4] = "* maybe it's a little& strange^1, but& sometimes.../" - global.msg[5] = "* ... it's nice to have& someone call you out& on being lazy./" - global.msg[6] = "\E1* even though nothing& could be further& from the truth./%%" - } - break - case 574: - global.msg[0] = "* here comes the grub./" - global.msg[1] = "* want some ketchup^1?& & Yes No \C" - global.msg[2] = " " - break - case 575: - if (global.choice == 0) - global.msg[0] = "\E2* bone appetit./%%" - else - { - global.msg[0] = "\E2* more for me./%%" - if instance_exists(obj_grillbynpc_sansdate) - obj_grillbynpc_sansdate.burg = 2 - } - break - case 576: - global.msg[0] = "\W* have you ever heard& of a \Ytalking flower\W?& Yes No \C" - global.msg[1] = " " - break - case 577: - if (global.choice == 0) - global.msg[0] = "\E1* so you know all& about it./" - if (global.choice == 1) - global.msg[0] = "\E1* i'll tell you^1, then./" - global.msg[1] = "\W*\E0 the \Becho flower\W./" - global.msg[2] = "* they're all over the& marsh./" - global.msg[3] = "* say something to them^1,& and they'll repeat it& over and over.../" - global.msg[4] = "* what about it?/" - global.msg[5] = "* well^1, papyrus told& me something interesting& the other day./" - global.msg[6] = "* sometimes^1, when no& one else is around.../" - global.msg[7] = "* a flower appears and& whispers things to& him./" - global.msg[8] = "* flattery..^1.&* advice..^1.&* encouragement.../" - global.msg[9] = "* ... predictions./" - global.msg[10] = "* weird^1, huh?/" - global.msg[11] = "* someone must be using& an echo flower to& play a trick on him./" - global.msg[12] = "* keep an eye out^1, ok?/" - global.msg[13] = "* thanks./%%" - break - case 578: - global.msg[0] = "\E1* oh^1, by the way.../" - global.msg[1] = "\E0* i'm flat broke^1.&* can you foot the& bill?/" - global.msg[2] = "* it's just 10000G.& & Yes No \C" - global.msg[3] = " " - break - case 579: - global.msg[0] = " %%" - break - case 580: - if (global.flag[84] == 4) - global.msg[0] = "* My mind is running wild^1!&* I haven't felt like this& in a long time.../%%" - if (global.flag[84] == 5) - global.msg[0] = "* Please leave./%%" - if (global.flag[84] < 2) - { - global.msg[0] = "* You..^1.&* You came from outside^1,& didn't you?/" - global.msg[1] = "* People like you are so& rare.../" - global.msg[2] = "* Please^1!* Stranger!/" - global.msg[3] = "* Tell me about outside...?& & Yes No\C" - global.msg[4] = " " - } - if (global.flag[84] == 2) - global.msg[0] = "* Well^1, what are you& waiting for?/%%" - if (global.flag[84] == 3) - { - global.msg[0] = "* Oh^1!&* You're back!/" - global.msg[1] = "* How's the room?& & Different Same\C" - global.msg[2] = " " - } - break - case 581: - if (global.flag[84] < 3) - { - if (global.choice == 0) - { - global.msg[0] = "* Huh^1?&* " + chr(34) + "SURFACE" + chr(34) + "^1?&* What do you mean?/" - global.msg[1] = "* I just meant outside this& room./" - global.msg[2] = "* If you haven't noticed^1, my& mycelium have bound me& to the ground./" - global.msg[3] = "* Please^1!&* Stranger!/" - global.msg[4] = "* I'll make this simple./" - global.msg[5] = "* I've spent my whole life& in the same spot^1,& in the same room./" - global.msg[6] = "* But I've long wondered& what lies inside the& room to the right./" - global.msg[7] = "* Long I've fantasized& about entering^1, and& changing my scenery.../" - global.msg[8] = "* No..^1.&* Changing my LIFE!/" - global.msg[9] = "* Please^1.&* Go and tell me what's& inside./%%" - if (doak == 0) - { - if (global.flag[84] == 0) - global.flag[84] = 2 - doak = 1 - } - } - if (global.choice == 1) - global.msg[0] = "* Is everyone out there& like you^1?&* How terrible./%%" - } - else - { - if (global.choice == 0) - { - global.msg[0] = "* Oh^1, that's a relief^1!/" - global.msg[1] = "* That's all I need to& continue my fantasies^1.&* Thank you^1, stranger./%%" - global.flag[84] = 4 - } - if (global.choice == 1) - { - global.msg[0] = "* So it's the same./" - global.msg[1] = "* The same.../" - global.msg[2] = "* Same.../" - global.msg[3] = "* .../" - global.msg[4] = "* OK./%%" - global.flag[84] = 5 - } - } - break - case 583: - if (global.flag[85] == 0) - { - global.msg[0] = "* (Take an umbrella?)& & Take one Do not\C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (Return the umbrella?)& & Put back Do not\C" - global.msg[1] = " " - } - break - case 584: - if (doak == 0) - { - if (global.flag[85] == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You took an umbrella.)/%%" - global.flag[85] = 1 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 1 - obj_mainchara.dsprite = spr_maincharad_umbrella - obj_mainchara.rsprite = spr_maincharar_umbrella - obj_mainchara.lsprite = spr_maincharal_umbrella - obj_mainchara.usprite = spr_maincharau_umbrella - } - else - global.msg[0] = " %%" - } - else if (global.choice == 0) - { - global.msg[0] = "* (You returned the umbrella.)/%%" - global.flag[85] = 0 - if instance_exists(obj_umbrellabox) - obj_umbrellabox.image_index = 0 - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 585: - global.msg[0] = "* (It's a statue^1.)&* (The structures at its& feet seem dry.)/%%" - if (global.flag[85] == 1 && global.flag[86] == 0) - { - global.msg[0] = "* (Put the umbrella on the& statue?)& Yes Do not\C" - global.msg[1] = " " - } - if (global.flag[86] == 1) - global.msg[0] = "* (The music continues^1, and& doesn't stop.)/%%" - break - case 586: - if (doak == 0) - { - if (global.choice == 0) - { - global.msg[0] = "* (You place the umbrella& atop the statue.)/" - global.msg[1] = "* (Inside the statue^1, a music& box begins to play...)/%%" - global.flag[85] = 0 - global.flag[86] = 1 - if instance_exists(obj_musicstatue) - { - obj_musicstatue.image_index = 1 - obj_musicstatue.con = 1 - } - obj_mainchara.dsprite = spr_maincharad - obj_mainchara.rsprite = spr_maincharar - obj_mainchara.usprite = spr_maincharau - obj_mainchara.lsprite = spr_maincharal - } - else - global.msg[0] = " %%" - doak = 1 - } - break - case 587: - global.msg[0] = "* (It's a rusty old& fridge.)/" - global.msg[1] = "* (Look inside?)& & Yes No\C" - global.msg[2] = " " - break - case 588: - if (global.choice == 0) - { - global.msg[0] = "* (You open the fridge.^1)&* (The air fills with a& rotten stench.)/" - global.msg[1] = "* (All the food inside here& spoiled long ago.)/%%" - } - else - global.msg[0] = " %%" - break - case 589: - doak = 0 - noroom = 0 - global.msg[0] = "* error/%%" - if (global.flag[108] > 2) - global.msg[0] = "* (The cooler is empty.)/%%" - if (global.flag[108] == 1 || global.flag[108] == 2) - { - global.msg[0] = "* (Take a space food bar& from the cooler?)& Yes No \C" - global.msg[1] = " " - } - if (global.flag[108] == 0) - { - global.msg[0] = "* (It's a cooler^1.&* It has no brand^1, and& shows no signs of wear...)/" - global.msg[1] = "* (Inside are a couple& of freeze-dried space& food bars.)/" - global.msg[2] = "* (Take one?)& & Yes No \C" - global.msg[3] = " " - global.flag[108] = 1 - } - break - case 590: - if (global.choice == 0) - { - if (doak == 0) - { - noroom = 0 - doak = 1 - script_execute(scr_itemget, 35) - if (noroom == 0) - global.flag[108] += 1 - } - if (noroom == 0) - global.msg[0] = "* (You got the Astronaut Food.)/%%" - if (noroom == 1) - global.msg[0] = "* (You're carrying too much.)/%%" - } - if (global.choice == 1) - global.msg[0] = "* %%" - break - case 591: - if (global.flag[355] == 0) - { - global.msg[0] = "* (Seems like a regular& training dummy.)/" - global.msg[1] = "* (Do you want to beat it& up?)& Yes No \C" - global.msg[2] = " " - } - else - global.msg[0] = "* (You've had enough of& the dummy.)/%%" - break - case 592: - if (global.choice == 0) - { - if (global.lv == 1) - { - global.msg[0] = "* (You tap the dummy with& your fist.)/" - global.msg[1] = "* (You feel bad.)/%%" - } - if (global.lv > 1) - { - global.msg[0] = "* (You hit the dummy& lightly.)/" - global.msg[1] = "* (You don't feel like& you learned anything.)/%%" - } - if (global.lv > 4) - { - global.msg[0] = "* (You sock the dummy.)/" - global.msg[1] = "* (Who cares?)/%%" - } - if (global.lv > 7) - { - global.msg[0] = "* (You punch the dummy at& full force.)/" - global.msg[1] = "* (Feels good.)/%%" - } - global.flag[355] = 1 - } - if (global.choice == 1) - { - global.msg[0] = "* (You stare into each& other's eyes for a& moment...)/%%" - global.flag[355] = 2 - } - break - case 593: - global.msg[0] = "* (It's a horse stable.)/" - global.msg[1] = "* (Do you want to go& inside?)& Yes No \C" - global.msg[2] = " " - break - case 594: - if (global.choice == 0) - { - global.msg[0] = "* (You jostle the door.)&* (It's locked.)/" - global.msg[1] = "* (Suddenly^1, from inside& the [redacted], you hear a&/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 595: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 596: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 597: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 598: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 599: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 600: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 601: - global.msg[0] = "* x/%%" - global.flag[92] = 2 - break - case 606: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 1) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spooktunes." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 607: - if (global.flag[94] != 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* (Spooktunes are dead.)/%%" - } - if (global.flag[94] == 1) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 608: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 2) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Spookwave." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 609: - if (global.flag[94] != 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 3 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 2) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 610: - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (Play it?)& & Play it No\C" - global.msg[2] = " " - if (global.flag[94] == 3) - { - global.msg[0] = "* (This CD is labelled& " + chr(34) + "Ghouliday Music." + chr(34) + ")/" - global.msg[1] = "* (This CD is playing.)&* (Turn it off?)& Stop it No\C" - global.msg[2] = " " - } - break - case 611: - if (global.flag[94] != 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (You play the CD.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 4 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - if (global.flag[94] == 3) - { - if (global.choice == 0) - { - global.msg[0] = "* (The CD stops moving.)/%%" - if instance_exists(obj_napstablookdate_music) - obj_napstablookdate_music.con = 2 - } - if (global.choice == 1) - global.msg[0] = "* %%" - } - break - case 612: - global.msg[0] = "* (Look inside the fridge?)& & Open it No\C" - global.msg[1] = " " - break - case 613: - if (global.choice == 0) - { - if (global.flag[93] < 2) - { - global.msg[0] = "* (There's a lonely sandwich& inside.)/%%" - if instance_exists(obj_napstablookdate) - obj_napstablookdate.con = 11 - } - else - global.msg[0] = "* (It's empty.)/%%" - } - if (global.choice == 1) - global.msg[0] = "%%" - break - case 615: - global.msg[0] = "* this is a ghost sandwich.../" - global.msg[1] = "* do you want to try it...& & Yes No\C" - global.msg[2] = " " - break - case 616: - if (global.choice == 0) - { - global.msg[0] = "* (You attempt to bite& into the ghost sandwich.)/" - global.msg[1] = "* (You phase right through& it...)/" - global.msg[2] = "* oh.../" - global.msg[3] = "* nevermind.../%%" - } - if (global.choice == 1) - global.msg[0] = "* oh.....................& ....................& ................./%%" - break - case 617: - global.msg[0] = "* after a great meal i like& to lie on the ground and& feel like garbage.../" - global.msg[1] = "* it's a family tradition.../" - global.msg[2] = "* do you want..^1.&* ... to join me...& Yes No\C" - global.msg[3] = " " - break - case 618: - if (global.choice == 0) - global.msg[0] = "* okay..^1.&* follow my lead.../%%" - if (global.choice == 1) - { - global.flag[93] = 9 - global.msg[0] = "* oh.....................& ....................& ................./%%" - obj_napstablookdate.con = 80 - } - break - case 619: - global.msg[0] = "* do you want to play a game^1?&* it's called thundersnail./" - global.msg[1] = "* the snails will race^1, and if& the yellow snail wins^1, you& win./" - global.msg[2] = "* it's 10G to play.& & Play No\C" - global.msg[3] = " " - break - case 620: - if (global.choice == 0) - { - if (global.gold == 0) - { - global.msg[0] = "* um..^1.&* you don't have any money?/" - global.msg[1] = "* n-no^1, you can still play^1,& don't worry about it.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - } - if (global.gold < 10 && global.gold > 0) - { - global.msg[0] = "* um..^1. that's less than 10G./" - global.msg[1] = "* but since you're my only& real customer^1, i guess i'll& just take what you have.../" - global.msg[2] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[3] = "* ready?/%%" - global.gold = 0 - } - if (global.gold >= 10) - { - global.gold -= 10 - global.msg[0] = "* okay..^1.&* press [Z] repeatedly to& encourage your snail./" - global.msg[1] = "* ready?/%%" - } - obj_napstablook_farm2.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* oh.........../%%" - break - case 621: - global.msg[0] = "* .../" - global.msg[1] = "* Seven./" - global.msg[2] = "* Seven human souls./" - global.msg[3] = "* With the power of seven& human souls^1, our king.../" - global.msg[4] = "\W* \YKing \RASGORE \YDreemurr\W.../" - global.msg[5] = "* ... will become a god./" - global.msg[6] = "\W* With that power^1, \RASGORE\W & can finally shatter the& barrier./" - global.msg[7] = "* He will finally take the& surface back from humanity.../" - global.msg[8] = "* And give them back the& suffering and pain that& we have endured./" - global.msg[9] = "* .../" - global.msg[10] = "* Understand^1, human?/" - global.msg[11] = "* This is your only chance& at redemption./" - global.msg[12] = "* Give up your soul.../" - global.msg[13] = "* Or I'll tear it from& your body./%%" - break - case 622: - if (global.choice == 0) - { - global.msg[0] = "* That spark in your eyes.../" - global.msg[1] = "* You're really eager to& die^1, aren't you?/%%" - } - if (global.choice == 1) - global.msg[0] = "* .../%%" - break - case 623: - global.msg[0] = "* Yo^1, I know I'm not supposed& to be here^1, but.../" - global.msg[1] = "* I wanna ask you something./" - global.msg[2] = "* .../" - global.msg[3] = "* Man^1, I've never had to ask& anyone this before.../" - global.msg[4] = "* Umm.../" - global.msg[5] = "* Yo..^1. You're human^1, right?&* Haha./" - global.msg[6] = "* Man^1! I knew it!/" - global.msg[7] = "* ... well^1, I know it now^1,& I mean.../" - global.msg[8] = "* Undyne told me^1, um^1, " + chr(34) + "stay& away from that human." + chr(34) + "/" - global.msg[9] = "* So^1, like^1, ummm.../" - global.msg[10] = "* I guess that makes us enemies& or something./" - global.msg[11] = "* But I kinda stink at that^1,& haha./" - global.msg[12] = "* Yo^1, say something mean so& I can hate you?/" - global.msg[13] = "* Please? & & Yes No \C" - global.msg[14] = " " - break - case 624: - if (global.choice == 0) - { - global.msg[0] = "* Huh...?/" - global.msg[1] = "* Yo^1, that's your idea of& something mean?/" - global.msg[2] = "* My sister says that to me& ALL THE TIME!/" - global.msg[3] = "* Guess I have to do it^1, haha./" - global.msg[4] = "* Yo^1, I..^1. I hate your guts./" - global.msg[5] = "* .../" - global.msg[6] = "* Man^1, I..^1. I'm such a turd./" - global.msg[7] = "* I'm..^1. I'm gonna go home& now./%%" - } - if (global.choice == 1) - { - global.msg[0] = "* Yo^1, what^1?&* So I have to do it?/" - global.msg[1] = "* Here goes nothing.../" - global.msg[2] = "* Yo^1, I..^1. I hate your guts./" - global.msg[3] = "* .../" - global.msg[4] = "* Man^1, I..^1. I'm such a turd./" - global.msg[5] = "* I'm..^1. I'm gonna go home& now./%%" - } - break - case 625: - if (global.flag[353] <= 19) - { - global.msg[0] = "* (It's a water cooler.)&* (Take a cup of water?)& Yes No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There's no more water left& in the cooler.)/%%" - if instance_exists(obj_undynefall) - global.msg[0] = "* (Sadistically^1, you've poured& out all the water right in& front of Undyne's eyes.)/%%" - } - break - case 626: - if (global.choice == 0) - { - global.flag[440] += 1 - global.msg[0] = "* (You take a cup of water.)/%%" - with (obj_watercooler) - event_user(1) - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 627: - global.msg[0] = "* (Get rid of the water?)& & Yes No \C" - global.msg[1] = " " - break - case 628: - if (global.choice == 0) - { - global.msg[0] = "* (You pour the water on& the ground next to the& water cooler.)/%%" - with (obj_watercooler) - { - if instance_exists(obj_undynefall) - global.flag[441] += 1 - global.flag[353] += 1 - event_user(1) - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 629: - global.msg[0] = "* A rousing error./%%" - if instance_exists(obj_watercooler) - { - if (obj_watercooler.havewater == 1) - { - global.msg[0] = "* (Give Undyne the water?)& & Yes No \C" - global.msg[1] = " " - } - else - global.msg[0] = "* (She looks dry...)/%%" - } - break - case 630: - global.msg[0] = " %%" - if (global.choice == 0) - { - global.interact = 1 - with (obj_undynefall) - event_user(1) - } - break - case 632: - armor1 = "BEPIS." - armor2 = "BEPIS." - if (global.flag[75] == 4) - armor1 = "GROSS BANDAGE" - if (global.flag[75] == 12) - armor1 = "FADED RIBBON" - if (global.flag[75] == 15) - armor1 = "BANDANNA" - if (global.flag[75] == 24) - armor1 = "DUSTY TUTU" - if (global.flag[77] == 4) - armor2 = "GROSS BANDAGE" - if (global.flag[77] == 12) - armor2 = "FADED RIBBON" - if (global.flag[77] == 15) - armor2 = "BANDANNA" - if (global.flag[77] == 24) - armor2 = "DUSTY TUTU" - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HELLO^1!&THIS IS PAPYRUS!!!/" - global.msg[3] = "REMEMBER WHEN&I ASKED YOU&ABOUT CLOTHES?/" - global.msg[4] = "\E3WELL^1, THE FRIEND&WHO WANTED TO&KNOW.../" - global.msg[5] = "\E0HER OPINION OF&YOU IS VERY.../" - global.msg[6] = "\E3MURDERY./" - global.msg[7] = "\E0ERROR!!^1!&SEE YOU LATER!/%%" - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I TOLD HER WHAT&YOU TOLD ME&YOU WERE WEARING!/" - global.msg[10] = (("A " + armor1) + "!/") - global.msg[11] = "BECAUSE I KNEW^1,&OF COURSE.../" - global.msg[12] = "\E3AFTER SUCH A&SUSPICIOUS&QUESTION.../" - global.msg[13] = "\E0YOU WOULD&OBVIOUSLY CHANGE&YOUR CLOTHES!/" - global.msg[14] = "YOU'RE SUCH A&SMART COOKIE!/" - global.msg[15] = "THIS WAY YOU'RE&SAFE AND I&DIDN'T LIE!!!/" - global.msg[16] = "NO BETRAYAL&ANYWHERE!!!/" - global.msg[17] = "BEING FRIENDS&WITH EVERYONE&IS EASY!!!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 0) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = "\E3I AM NOT A&CRUEL PERSON./" - global.msg[10] = "\E0I STRIVE TO BE&COMFORTING AND&PLEASANT./" - global.msg[11] = "PAPYRUS!&HE SMELLS LIKE&THE MOON./" - global.msg[12] = "SO, BECAUSE OF&MY INHERENT&GOODNESS.../" - global.msg[13] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[14] = "\E3EVEN THOUGH YOU&TOLD ME YOU&WERE!/" - global.msg[15] = "INSTEAD^1, I MADE&SOMETHING UP!/" - global.msg[16] = "I TOLD HER YOU&WERE WEARING.../" - global.msg[17] = (("\E0A " + armor2) + "./") - global.msg[18] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[19] = (("I KNOW YOU WOULD&NEVER EVER WEAR&A " + armor2) + "./") - global.msg[20] = "\E0BUT YOUR SAFETY&IS MORE IMPORTANT&THAN FASHION./" - global.msg[21] = "\E3DANG!/" - global.msg[22] = "I JUST WANT TO&BE FRIENDS WITH&EVERYONE.../" - global.msg[23] = "\TS \F0 \T0 %" - global.msg[24] = "* Click.../%%" - } - } - if (global.flag[75] == global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0WELL^1, WORRY&NOT DEAR HUMAN!/" - global.msg[8] = "\E3PAPYRUS WOULD&NEVER BETRAY YOU!/" - global.msg[9] = (("\WY\E0OU SAID YOU WERE\Y &NOT WEARING A&" + armor1) + "\W./") - global.msg[10] = "\E3SO OF COURSE&I ACTUALLY&TOLD HER.../" - global.msg[11] = (("\E0YOU WERE&INDEED WEARING&A " + armor1) + "!/") - global.msg[12] = "\E3IT PAINED ME TO&TELL SUCH A&BOLDFACED LIE./" - global.msg[13] = (("BUT SINCE YOU&AREN'T WEARING&A " + armor1) + "./") - global.msg[14] = "\E0SHE SURELY&WON'T ATTACK&YOU!/" - global.msg[15] = "NOW YOU ARE&SAFE AND SOUND./" - global.msg[16] = "\E2WOWIE..^1.&THIS IS HARD./" - global.msg[17] = "I JUST WANT TO&BE EVERYBODY'S&FRIEND!/" - global.msg[18] = "\TS \F0 \T0 %" - global.msg[19] = "* Click.../%%" - } - } - if (global.flag[75] != global.flag[77]) - { - if (global.flag[76] == 1) - { - global.msg[7] = "\E0BUT I BET YOU&KNEW THAT&ALREADY!/" - global.msg[8] = "\E3AND BECAUSE YOU&KNEW THAT.../" - global.msg[9] = "\E0I KNEW WHEN&YOU SAID:/" - global.msg[10] = (('\E3"I AM NOT&WEARING A&' + armor1) + '."/') - global.msg[11] = "\E0IT WAS REALLY&A SECRET CODE!/" - global.msg[12] = "\E3YOU REALLY&MEANT.../" - global.msg[13] = (('\E0"I ACTUALLY AM&WEARING&A ' + armor1) + '!"/') - global.msg[14] = "YOU WERE TRYING&TO PROTECT&YOURSELF.../" - global.msg[15] = "WHILE MAKING IT&SO I DIDN'T&HAVE TO LIE!/" - global.msg[16] = "I PICKED UP ON&THIS, AND FOLLOWED&YOUR PLAN./" - global.msg[17] = (("I TOLD HER YOU&WERE NOT WEARING&A " + armor1) + "!/") - global.msg[18] = "IN FACT I TOOK&IT ONE STEP&FURTHER!/" - global.msg[19] = "\E3I TOLD HER YOU&WERE PROBABLY.../" - global.msg[20] = (("\E0WEARING A&" + armor2) + "!/") - global.msg[21] = "\E3OF COURSE, YOU&WOULD NEVER&WEAR THAT./" - global.msg[22] = "\E0BUT THAT'S THE&POINT!/" - global.msg[23] = "SHE WON'T&RECOGNIZE YOU&NOW!/" - global.msg[24] = "AND I DIDN'T&HAVE TO BETRAY&EITHER OF YOU!/" - global.msg[25] = "SINCE I JUST&TOLD HER WHAT&YOU SAID!/" - global.msg[26] = "WOWIE^1!&YOU'RE SUCH A&SMART COOKIE!/" - global.msg[27] = "I REALLY CAN&BE FRIENDS WITH&EVERYONE!!!/" - global.msg[28] = "\TS \F0 \T0 %" - global.msg[29] = "* Click.../%%" - } - } - break - case 633: - global.msg[0] = "* Ring..\E0./" - scr_papface(1, 0) - global.msg[2] = "HEY^1!&WHAT'S UP!?/" - global.msg[3] = "I WAS JUST&THINKING.../" - global.msg[4] = "YOU^1, ME^1, AND&UNDYNE SHOULD ALL&HANG OUT SOMETIME!/" - global.msg[5] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE&LATER!/" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - if (global.flag[88] < 3) - { - global.msg[5] = "AFTER YOU HANG&OUT WITH ME.../" - global.msg[6] = "LET'S MEET UP&AT HER HOUSE!/" - global.msg[7] = "I THINK YOU&WOULD MAKE&GREAT PALS!/" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - } - break - case 635: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 636: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 637: - global.msg[0] = "* (It's a book labelled& Monster History Part 6.)& Read it Do not\C" - global.msg[1] = " " - break - case 638: - global.msg[0] = "* Unfortunately^1, monsters are& not experienced with& illness./" - global.msg[1] = "* However^1, when monsters are& about to expire of age^1,& they lie down^1, immobile./" - global.msg[2] = "* We call this state& " + chr(34) + "Fallen Down." + chr(34) + "/" - global.msg[3] = "* A person who has Fallen& Down will soon perish./" - global.msg[4] = "* In a way^1, this confusing& situation was all too& familiar./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 639: - global.msg[0] = "* (It's a book labelled& Monster History Part 7.)& Read it Do not\C" - global.msg[1] = " " - break - case 640: - global.msg[0] = "* When a human dies^1, its& soul remains stable& outside the body./" - global.msg[1] = "* Meanwhile^1, a monster's soul& disappears near-instantly& upon death./" - global.msg[2] = "* This allows monsters to& absorb the souls of& humans.../" - global.msg[3] = "* While it is extremely& difficult for humans to& absorb a monster's soul./" - global.msg[4] = "* This is why they feared us./" - global.msg[5] = "* Though monsters are weak^1,& with enough human souls.../" - global.msg[6] = "* They could easily destroy& all of mankind./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 641: - global.msg[0] = "* (It's a book labelled& Monster History Part 8.)& Read it Do not\C" - global.msg[1] = " " - break - case 642: - global.msg[0] = "* There is one exception& to the aforementioned& rules:/" - global.msg[1] = "* A certain type of monster^1,& the " + chr(34) + "boss" + chr(34) + " monster./" - global.msg[2] = "* Due to its life cycle^1, it& possesses an incredibly& strong soul for a monster./" - global.msg[3] = "* This soul can remain& stable after death^1, if& only for a few moments./%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to read it.)/%%" - break - case 643: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 644: - global.msg[0] = "* (You look inside a book.)/" - global.msg[1] = "* (It's a comic of a giant& robot fighting a beautiful& alien princess.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 645: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 646: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (Two scantily-clad chefs are& flinging energy pancakes& at each other.)/" - global.msg[2] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 647: - global.msg[0] = "* (All these books are labelled& Human History.)& Read one Do not\C" - global.msg[1] = " " - break - case 648: - global.msg[0] = "* (You look inside a book.)&* (It's a comic book.)/" - global.msg[1] = "* (A hideous android is running& to school with toast in& its mouth.)/" - global.msg[2] = "* (Seems like it's late.)/" - global.msg[3] = "* (This doesn't strike you& as very accurate...)/%%" - if (global.choice == 1) - global.msg[0] = "* (You decide not to.)/%%" - break - case 660: - global.msg[0] = "* (There's a piano here.^1)&* (Play it?)& Yes No\C" - global.msg[1] = " " - break - case 661: - global.msg[0] = " %%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_paino) == 0) - instance_create(2, 2, obj_paino) - } - break - case 666: - global.msg[0] = "See that heart^1? &That is your SOUL^1,&the very culmination&of your being!/" - global.msg[1] = "Your SOUL starts off&weak^1, but can grow&strong if you gain&a lot of LV./" - global.msg[2] = "What's LV stand for^1?&Why^1, LOVE^1, of course!/" - global.msg[3] = "You want some&LOVE, don't you?/" - global.msg[4] = "Don't worry,&I'll share some&with you!/%" - break - case 667: - global.msg[0] = "Down here^1, LOVE is&shared through..^1./" - global.msg[1] = "Little white..^2.\E1 &" + chr(34) + "friendliness&pellets." + chr(34) + "/" - global.msg[2] = "\E2Are you ready\E0?/%" - break - case 668: - global.msg[0] = "Move around^1!&Get as many as&you can^2!%%%" - global.msg[1] = "%%%" - break - case 669: - global.msg[0] = "You idiot./" - global.msg[1] = "In this world^1, it's&kill or BE killed./" - global.msg[2] = "Why would ANYONE pass&up an opportunity&like this!?/%" - break - case 670: - global.msg[0] = "Die./%" - break - case 671: - global.msg[0] = "Hey buddy^1,&you missed them./" - global.msg[1] = "Let's try again^1,&okay?/%" - break - case 672: - global.msg[0] = "Is this a joke^2?&Are you braindead^2?&RUN^2. INTO^2. THE^2.&BULLETS!!!" - break - case 673: - global.msg[0] = "You know what's&going on here^1,&don't you?/" - global.msg[1] = "You just wanted to&see me suffer./%" - break - case 674: - global.msg[0] = "\E1What a terrible&creature^1, torturing&such a poor^1,&innocent youth.../" - global.msg[1] = "\E2Ah, do not be&afraid^1, my child./" - global.msg[2] = "\XI am \BTORIEL\X,&caretaker of&the \RRUINS\X./" - global.msg[3] = "I pass through this&place every day to&see if anyone has&fallen down./" - global.msg[4] = "You are the first&human to come here&in a long time./" - global.msg[5] = "I will do my best&to ensure your&protection during&your time here./%%" - global.msg[5] = "\E2Come^2!&I will guide you&through the&catacombs./%%" - global.msg[6] = "%%%" - break - case 680: - global.msg[0] = "* Three gold for the ferry.& & Yes No\C" - global.msg[1] = " " - break - case 681: - global.msg[0] = "* Later^1, then./%%" - global.msg[1] = " " - if (global.choice == 0) - { - if (instance_exists(obj_purpledude) == 1) - obj_purpledude.con = 1 - global.msg[0] = "* Hop on!/%%" - } - break - case 682: - global.msg[0] = "* (It's a switch.)& & Press it Don't\C" - global.msg[1] = " " - break - case 683: - if (global.flag[371] == 0 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were deactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(0) - } - } - } - if (global.flag[371] == 1 && doak == 0) - { - global.msg[0] = " %%" - if (global.choice == 0) - { - sc = instance_create(0, 0, obj_soundcombo) - with (sc) - { - sound1 = snd_switchpull_n - sound2 = snd_spearappear - alarm[1] = 8 - } - doak = 1 - global.msg[0] = "* (The lasers were reactivated.)/%%" - if instance_exists(obj_laserswitch1) - { - with (obj_laserswitch1) - event_user(1) - } - } - } - break - case 684: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "\E1* Um.../" - global.msg[3] = "\E0* I noticed you've been& kind of quiet.../" - global.msg[4] = "\W*\E8 Are you w-worried& about meeting \RASGORE\W...?/" - global.msg[5] = "\E2* .../" - global.msg[6] = "\E0* W-well^1, don't worry^1,& okay?/" - global.msg[7] = "\E7* Th-the king is a& really nice guy.../" - global.msg[8] = "\E0* I'm sure you can& talk to him^1, and.../" - global.msg[9] = "* W-with your human& soul^1, you can pass& through the barrier!/" - global.msg[10] = "* S-so no worrying^1, OK^1?&* J-just forget about it& and smile./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = "* Click.../%%" - break - case 685: - doak = 0 - noroom = 0 - global.msg[0] = "* hey buddy^1, what's up^1?&* wanna buy a hot dog?/" - global.msg[1] = "* it's only 30G.& & Yes No \C" - global.msg[2] = " " - if (global.flag[380] > 0 && global.item[7] != 0) - { - if (instance_number(obj_hotdog) < 30) - { - global.msg[0] = "* here^1.&* have fun./%%" - if (global.flag[380] == 1) - { - global.msg[0] = "* here's another hot& dog./" - global.msg[1] = "* it's on the house^1.&* well^1, no^1.&* it's on you./%%" - } - if (doak == 0) - { - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - } - } - else - { - global.msg[0] = "* sorry^1, thirty is& the limit on& head-dogs./%%" - if (global.flag[381] == 0) - { - global.msg[0] = "\TS*^1 \Tsi'll be 'frank' with& you./" - global.msg[1] = "* as much as i like& putting hot dogs& on your head.../" - global.msg[2] = "* thirty is just& an excessive number./" - global.msg[3] = "* twenty-nine^1, now& that's fine^1, but& thirty.../" - global.msg[4] = "* does it look like& my arms can reach& that high?/%%" - } - global.flag[381] = 1 - } - } - break - case 686: - script_execute(scr_cost, 30) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - if (global.flag[379] != 1) - script_execute(scr_itemget, 38) - if (global.flag[379] == 1) - script_execute(scr_itemget, 39) - if (noroom == 0) - { - global.gold -= 30 - global.flag[378] += 30 - } - } - } - if (noroom == 0) - { - if (afford == 1) - { - global.msg[0] = "* thanks, kid^1.&* here's your hot dog./%%" - if (global.flag[379] == 0) - { - global.msg[0] = "* thanks, kid^1.&* here's your 'dog./" - global.msg[1] = "* yeah^1. 'dog^1.&* apostrophe-dog^1.&* it's short for hot-dog./%%" - } - if (global.flag[379] == 1) - { - global.msg[0] = "* another h'dog^1?&* here you go.../" - global.msg[1] = "* whoops^1, i'm actually& out of hot dogs./" - global.msg[2] = "* here^1, you can have& a hot cat instead./%%" - } - if (global.flag[379] == 2) - { - global.msg[0] = "* another dog^1, coming& right up.../" - global.msg[1] = "* ... you really like& hot animals^1, don't& you?/" - global.msg[2] = "* hey^1, i'm not judging./" - global.msg[3] = "* i'd be out of a job& without folks like you./%%" - } - if (global.flag[379] == 3) - { - global.msg[0] = "* cool^1.&* here's that ''dog./" - global.msg[1] = "* apostrophe-apostrophe& dog./" - global.msg[2] = "* it's short for& apostrophe-dog./" - global.msg[3] = "* which is^1, in turn^1,& short for.../%%" - } - if (global.flag[379] == 4) - { - global.msg[0] = "* another one^1?&* okay./" - global.msg[1] = "* careful^1.&* if you eat& too many hot dogs.../" - global.msg[2] = "* you'll probably get& huge like me./" - global.msg[3] = "* huge as in super-& popular^1, i mean./" - global.msg[4] = "* i'm practically& a hot-dog tycoon now./%%" - } - global.flag[379] += 1 - } - if (afford == 0) - { - global.msg[0] = "* whoops^1, you don't have& enough cash./" - global.msg[1] = "* you should get a job^1.&* i've heard being a& sentry pays well./%%" - } - } - if (noroom == 1) - { - global.msg[0] = "* you're holding too much^1.&* ... guess i'll just put& it on your head./%%" - with (obj_hotdoggen) - event_user(0) - global.flag[380] += 1 - noroom = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* yeah^1, you've gotta& save your money for& college and spiders./%%" - break - case 690: - global.msg[0] = "* Ring.../" - global.msg[1] = "\TS \E3 \F6 \TA %" - global.msg[2] = "* L-looks like you& beat him!/" - global.msg[3] = "\E0* Y-you did a really& great job out there./" - global.msg[4] = " & All thanks& to you ... \C" - global.msg[5] = " " - break - case 691: - if (global.choice == 0) - { - global.msg[0] = "\E3* What^1?&* Oh no^1, I mean.../" - global.msg[1] = "\E4* You were the one& doing everything cool!/" - global.msg[2] = "\E0* I just wrote some& silly programs for& your phone./" - } - if (global.choice == 1) - { - global.msg[0] = "\E1* .../" - global.msg[1] = "\E2* .../" - global.msg[2] = "\E1* .../" - } - global.msg[3] = "\E2* .../" - global.msg[4] = "\E4* ... umm^1, h-hey^1, this& might sound strange^1,& but.../" - global.msg[5] = "\E6* ... c-can I tell& you something?/" - global.msg[6] = "\E9* .../" - global.msg[7] = "\E4* B-before I met you^1,& I d-didn't really.../" - global.msg[8] = "\E9* I didn't really& like myself very& much./" - global.msg[9] = "* For a long time^1,& I f-felt like a& total screw-up./" - global.msg[10] = "\E9* L-like I couldn't& do a-anything& w-without.../" - global.msg[11] = "\E9* W-without ending up& letting everyone& down./" - global.msg[12] = "\E3* B-but...!/" - global.msg[13] = "\E4* Guiding you has& made me feel.../" - global.msg[14] = "\E9* A lot better about& myself./" - global.msg[15] = "\E0* So... thanks for& letting me help& you./" - global.msg[16] = "\E9* .../" - global.msg[17] = "\E4* Uhhh^1, anyway^1, we're& almost to the CORE./" - global.msg[18] = "\E0* It's just past& MTT Resort./" - global.msg[19] = "\E6* Come on^1!&* Let's finish this!/%%" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* Click.../%%" - break - case 692: - global.msg[0] = "\E0EUREKA!!!/" - global.msg[1] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[2] = "\E3YOU SEEM LIKE&YOU'RE HAVING&FUN^1, THOUGH.../" - global.msg[3] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[6] = " " - break - case 693: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 694: - global.msg[0] = "I'VE FIGURED OUT&THE PUZZLE!!!/" - global.msg[1] = "\E0DO YOU ABSOLUTELY^1,&DAPSOLUTELY WANT&THE SOLUTION???/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (Do you absolutely^1,& dapsolutely want the answer?)& Yes No\C" - global.msg[4] = " " - break - case 695: - scr_papface(0, 0) - if (global.choice == 0) - { - global.msg[1] = "THE^1!&SOLUTION^1!&IS!/" - global.msg[2] = "(PLEASE IMAGINE&A DRUMROLL IN&YOUR HEAD)/" - global.msg[3] = "... THAT TREE&OVER THERE HAS&A SWITCH ON IT!/" - global.msg[4] = "CHECK IT&OUTIE!!!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "WOW..^1.&YOU'RE TRULY A&PUZZLE PASSIONEER!/" - global.msg[2] = "I'M SO ENTHUSED&BY YOUR&ENTHUSIASM!!!/" - global.msg[3] = "YOU CAN DO IT^1,&HUMAN!!!/%%" - } - break - case 696: - global.msg[0] = "* (There's a switch on the& trunk of this tree.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - break - case 697: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (obj_xoxocontroller1.fvic != 1) - { - obj_xoxocontroller1.fvic = 1 - snd_play(snd_switchpull_n) - } - } - break - case 698: - global.msg[0] = "OHO^1!&THE HUMAN ARRIVES!/" - global.msg[1] = "ARE YOU READY TO&HANG OUT WITH&UNDYNE?/" - global.msg[2] = "I HAVE A PLAN&TO MAKE YOU TWO&GREAT FRIENDS!/" - global.msg[3] = "\TS \F0 \T0 %" - global.msg[4] = "* (Will you hang out?)& & Yes No\C" - global.msg[5] = " " - break - case 699: - scr_papface(0, 3) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - { - global.msg[1] = "HMMM..^1.&STILL GETTING&READY?/" - global.msg[2] = "\E0TAKE YOUR TIME!/%%" - } - break - case 700: - global.msg[0] = "OKAY^1!&ALL READIED-UP&TO HANG OUT!?/" - global.msg[1] = "\TS \F0 \T0 %" - global.msg[2] = "* (Will you hang out?)& & Yes No\C" - global.msg[3] = " " - break - case 701: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 702: - scr_papface(0, 0) - if (global.choice == 0) - { - scr_papface(0, 0) - global.msg[1] = "OKAY^1!&STAND BEHIND ME!/%%" - if instance_exists(obj_undynedate_outside) - obj_undynedate_outside.con = 5 - } - if (global.choice == 1) - global.msg[1] = "TAKE YOUR TIME!/%%" - break - case 703: - global.msg[0] = "\E4* .../" - global.msg[1] = "\E5* So why are YOU& here?/" - global.msg[2] = "\E4* To rub your victory& in my face?/" - global.msg[3] = "\E4* To humiliate me& even further?/" - global.msg[4] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[5] = " " - break - case 704: - if (global.choice == 0) - { - global.msg[0] = "\E2* Oh-ho-ho-ho./" - global.msg[1] = "\E1* Well^1, I've got news& for you^1, BRAT./" - global.msg[2] = "\E2* You're on MY& battlefield now./" - global.msg[3] = "\E3* And you AREN'T& going to& humiliate me./" - global.msg[4] = "\E3* I'll TELL you& what's going to& happen./" - global.msg[5] = "\E0* We're going to& hang out./" - global.msg[6] = "\E2* We're going to& have a good& time./" - global.msg[7] = "\M1* We're going to& become " + chr(34) + "friends." + chr(34) + "/" - global.msg[8] = "\E3* You'll become so& enamored with me.../" - global.msg[9] = "\E1* YOU'LL be the one& feeling humiliated& for your actions!/" - global.msg[10] = "\E6* Fuhuhuhuhu!!/" - global.msg[11] = "\M2* It's the perfect& revenge!!!/" - global.msg[12] = "\E1* Err.../" - global.msg[13] = "\E9* Why don't you& have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\E4* Then why are you& here?/" - global.msg[1] = "\E1* ...!/" - global.msg[2] = "\E2* Wait^1, I get it./" - global.msg[3] = "\E3* You think that I'm& gonna be friends& with you^1, huh?/" - global.msg[4] = "* Right???& NEVER & Yes with you\C" - global.msg[5] = " " - } - break - case 705: - if (global.choice == 0) - { - global.msg[0] = "\E6* Really^1?&* How delightful!^1!&* I accept!/" - global.msg[1] = "* Let's all frolick& in the fields& of friendship!/" - global.msg[2] = "\E2* ...NOT!/" - global.msg[3] = "\E2* Why would I EVER& be friends with& YOU!?/" - global.msg[4] = "\E3* If you weren't my& houseguest^1, I'd beat& you up right now!/" - global.msg[5] = "\E0* You're the enemy& of everyone's hopes& and dreams!/" - global.msg[6] = "\E1* I WILL NEVER& BE YOUR FRIEND./" - global.msg[7] = "\E3* Now get out of& my house!/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 40 - } - if (global.choice == 1) - { - global.msg[0] = "\E1* WHAT?/" - global.msg[1] = "\E4* First you parade& into my house^1,& then you INSULT me?/" - global.msg[2] = "\E2* You little BRAT^1!&* I have half a& mind to.../" - global.msg[3] = "\E1* .../" - global.msg[4] = "\E3* Wait./" - global.msg[5] = "\E2* I'll prove you& WRONG./" - global.msg[6] = "\E3* We ARE going to& be friends./" - global.msg[7] = "\E1* In fact.../" - global.msg[8] = "\E3* We./" - global.msg[9] = "\M1* Are going to be& BESTIES./" - global.msg[10] = "* I'll make you like& me so much.../" - global.msg[11] = "\E1* Your WHOLE LIFE& will revolve around& me!!/" - global.msg[12] = "\M2* It's the perfect& revenge!!!/" - global.msg[13] = "\E6* FUHUHUHUHU!!!/" - global.msg[14] = "\E1* Err.../" - global.msg[15] = "\E9* Now^1, why don't& you have a seat?/%%" - if instance_exists(obj_undynedate_inside) - obj_undynedate_inside.con = 50 - } - break - case 706: - global.msg[0] = "* (Sit down and progress?)& & Yes No\C" - global.msg[1] = " " - break - case 707: - global.msg[0] = " %%" - if (global.choice == 0) - obj_undynedate_inside.con = 60 - if (global.choice == 1) - { - global.msg[0] = " %%" - global.msg[1] = " %%" - } - break - case 708: - global.msg[0] = "* That sugar's for& the tea./" - global.msg[1] = "\E2* I'm not gonna give& you a cup of& sugar!/" - global.msg[2] = "\E6* What do I look& like^1, the ice-cream& woman?/" - global.msg[3] = "\E2* Do human ice-cream& women TERRORIZE HUMANITY& with ENERGY SPEARS?/" - global.msg[4] = "\E3* Are their ice-cream& songs a PRELUDE TO& DESTRUCTION?/" - global.msg[5] = "\E1* IS THAT IT? & & Yes No\C" - global.msg[6] = " " - break - case 709: - if (global.choice == 0) - { - global.msg[0] = "\E1* ... what^1?&* REALLY?/" - global.msg[1] = "\E6* That rules!!!/%%" - } - if (global.choice == 1) - global.msg[0] = "\E3* That's what I& thought./%%" - break - case 710: - global.msg[0] = "* Envision these& vegetables as your& greatest enemy!/" - global.msg[1] = "\E2* Now!^1!&* Pound them to dust& with your fists!!/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* (How will you pound?)& & Strong Wimpy\C" - global.msg[4] = " " - break - case 711: - if (global.choice == 0) - { - obj_undynedate_inside.con = 140 - global.msg[0] = "* (You punch the vegetables& at full force^1.&* You knock over a tomato.)/" - scr_undface(1, 6) - global.msg[2] = "* YEAH^1!&* YEAH!/" - global.msg[3] = "\E1* Our hearts are& uniting against these& healthy ingredients!/" - global.msg[4] = "\M2* NOW IT'S MY TURN!/" - global.msg[5] = "* NGAHHH!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 141 - global.msg[0] = "* (You pet the vegetables& in an affectionate& manner.)/" - scr_undface(1, 1) - global.msg[2] = "* OH MY GOD!!^1!&* STOP PETTING THE& ENEMY!!!/" - global.msg[3] = "\M2* I'll show you& how it's done!/" - global.msg[4] = "* NGAHHH!/%%" - } - break - case 712: - global.msg[0] = "* ... we add the& noodles!/" - global.msg[1] = "\E0* Homemade noodles& are the best!/" - global.msg[2] = "\E6* BUT I JUST BUY& STORE-BRAND!/" - global.msg[3] = "\M2* THEY'RE THE& CHEAPEST!!!/" - global.msg[4] = "\E1* NGAHHHHHHHHH& HHHHHHHHHH!!!/" - global.msg[5] = "\E9* Uhh^1, just put them& in the pot./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "\M0* (How will you put them in?)& & Fiercely Careful\C" - global.msg[8] = " " - break - case 713: - if (global.choice == 0) - { - obj_undynedate_inside.con = 199 - global.msg[0] = "* (You throw everything into& the pot as hard as you can^1,& including the box.)/" - global.msg[1] = "* (It clanks against the& empty bottom.)/" - scr_undface(2, 6) - global.msg[3] = "\M2* YEAH!!^1!&* I'M INTO IT!!!/%%" - } - if (global.choice == 1) - { - obj_undynedate_inside.con = 200 - global.msg[0] = "* (You place the noodles& in one at a time.)/" - global.msg[1] = "* (They clank against the& empty bottom.)/" - scr_undface(2, 9) - global.msg[3] = "* Nice???/%%" - } - break - case 714: - global.msg[0] = "\E0* Humans suck^1, but& their history..^1.&* Kinda rules./" - global.msg[1] = "\E2* Case in point^1:&* This giant sword!/" - global.msg[2] = "\E0* Historically^1, humans& wielded swords up& to 10x their size./" - global.msg[3] = "\E1* RIGHT?& & True False\C" - global.msg[4] = " " - break - case 715: - if (global.choice == 0) - { - global.msg[0] = "\E6* Heh^1, I knew it!/" - global.msg[1] = "\E2* When I first heard& that^1, I immediately& wanted one!/" - global.msg[2] = "\E0* So me and Alphys& built a giant& sword together./" - global.msg[3] = "\E0* She figured out all& the specs herself.../" - global.msg[4] = "\E6* She's smart^1, huh!?/%%" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* Pfft^1!&* You liar!/" - global.msg[1] = "\E3* I've READ Alphys's& human history book& collection!/" - global.msg[2] = "\E3* I know all about& your giant swords.../" - global.msg[3] = "\E3* Your colossal^1,& alien-fighting& robots.../" - global.msg[4] = "* Your supernatural& princesses.../" - global.msg[5] = "\E6* Heh^1! There's no& way you're gonna& fool me!!!/%%" - } - break - case 716: - global.msg[0] = "* (Look inside the bone drawer?)& & Yes No\C" - global.msg[1] = " " - break - case 717: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - obj_bonedrawer_check.con = 5 - } - break - case 720: - global.msg[0] = "\M5* WHAT A SENSATIONAL OPPORTUNITY& FOR A STORY!/" - global.msg[1] = "\M3* I CAN SEE THE HEADLINE NOW:/" - global.msg[2] = "\M4* " + chr(34) + "A DOG EXISTS SOMEWHERE." + chr(34) + "/" - global.msg[3] = "\M2* FRANKLY^1, I'M BLOWN AWAY./" - global.msg[4] = "* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 721: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 722: - global.msg[0] = "\M5* THIS DOG..^1.&* STILL EXISTS!/" - global.msg[1] = "* THIS STORY..^1.&* JUST KEEPS GETTING& BETTER AND BETTER!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 723: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 1 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 724: - global.msg[0] = "\M5* OH MY!!!!/" - global.msg[1] = "\M2* ... IT'S A COMPLETELY& NONDESCRIPT GLASS OF WATER./" - global.msg[2] = "\M4* BUT ANYTHING CAN MAKE& A GREAT STORY WITH ENOUGH& SPIN!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 725: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 726: - global.msg[0] = "\M3* I'M HONORED TO BE IN THE& PRESENCE OF SUCH A HUGE& LUKEWARM WATER FAN^1, FOLKS!/" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 727: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 2 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 728: - global.msg[0] = "\M5* OH NO!!^1!&* THAT MOVIE SCRIPT!!^1!&* HOW'D??^1? THAT GET THERE???/" - global.msg[1] = "\M4* IT'S A SUPER-JUICY SNEAK& PREVIEW OF MY LATEST& GUARANTEED-NOT-TO-BOMB FILM:/" - global.msg[2] = "\M6* METTATON THE MOVIE XXVIII..^1.& STARRING METTATON!/" - global.msg[3] = "\M1* I'VE HEARD THAT LIKE THE& OTHER FILMS.../" - global.msg[4] = "\M1* IT CONSISTS MOSTLY OF A SINGLE& FOUR-HOUR SHOT OF ROSE PETALS& SHOWERING ON MY RECLINING BODY./" - global.msg[5] = "\M5* OOH!!^1!&* BUT THAT'S!!^1!&* NOT CONFIRMED!!/" - global.msg[6] = "\M5* YOU WOULDN'T (COUGH) SPOIL MY& MOVIE FOR EVERYONE WITH A& PROMOTIONAL STORY^1, WOULD YOU?/" - global.msg[7] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[8] = " " - break - case 729: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - { - global.msg[0] = "\M5* PHEW!!^1! THAT WAS CLOSE!^1!&* YOU ALMOST GAVE ME A BUNCH& OF FREE ADVERTISEMENT!!/%%" - global.msg[1] = "\M2 %%" - } - break - case 730: - global.msg[0] = "\M3* OH^1!&* YOU'RE BACK!/" - global.msg[1] = "\M6* THAT'S RIGHT^1, FOLKS^1!&* IT SEEMS NO ONE CAN RESIST& THE ALLURE OF MY NEW FILM!/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 731: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 3 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 732: - global.msg[0] = "\M4* BASKETBALL'S A BLAST^1, ISN'T IT^1,& DARLING?/" - global.msg[1] = "\M1* TOO BAD YOU CAN'T PLAY WITH& THESE BALLS./" - global.msg[2] = "\M4* THEY'RE MTT-BRAND FASHION& BASKETBALLS^1.&* FOR WEARING^1, NOT PLAYING./" - global.msg[3] = "\M6* YOU CAN'T GET RICH AND FAMOUS& LIKE MOI WITHOUT BEAUTIFYING& A FEW ORBS./" - global.msg[4] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[5] = " " - break - case 733: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 734: - global.msg[0] = "* IT SEEMS OUR REPORTER IS DRAWN& TO SPORTS LIKE MOTHS TO A& FLAMING BASKETBALL HOOP./" - global.msg[1] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[2] = " " - break - case 735: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 4 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 736: - global.msg[0] = "\M5* OH MY^1! IT'S A PRESENT^1!&* AND IT'S ADDRESSED TO YOU^1,& DARLING!/" - global.msg[1] = "\M6* AREN'T YOU JUST BURSTING& WITH EXCITEMENT?/" - global.msg[2] = "\M5* WHAT COULD BE INSIDE^1?&* WELL^1, NO TIME LIKE THE& " + chr(34) + "PRESENT" + chr(34) + " TO FIND OUT!/" - global.msg[3] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[4] = " " - break - case 737: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 738: - global.msg[0] = "\M4* READY FOR YOUR..^1.&* PRESENTATION?/" - global.msg[1] = "\M4* (... LET'S CUT THAT ONE IN& POST.)/" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 739: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 5 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 740: - global.msg[0] = "\M5* OOH LA LA^1!&* THIS VIDEO GAME YOU FOUND..^1.&* IS DYNAMITE!!!/" - global.msg[1] = "\M4* THOUGH I DON'T MAKE AN& APPEARANCE IN IT UNTIL& THREE-FOURTHS IN./" - global.msg[2] = "\M3* BUT I LIKE THAT./" - global.msg[3] = "\M6* APPEARING FROM THE HEAVENS LIKE& MANNA^1, SLAKING THE AUDIENCE'S& HUNGER FOR GORGEOUS ROBOTS.../" - global.msg[4] = "\M5* OOH^1!&* THAT'S METTATON!/" - global.msg[5] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[6] = " " - break - case 741: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 742: - global.msg[0] = "* AH^1, YOU UNDERSTAND./" - global.msg[1] = "* THIS IS A GAME WHERE YOU& SHOULD CHECK EVERYTHING& TWICE./" - global.msg[2] = "\M2* (REPORT THIS ONE?)& & Report Look More\C" - global.msg[3] = " " - break - case 743: - if (global.choice == 0) - { - global.msg[0] = " %%" - obj_mettnewsevent.eventchoice = 6 - obj_mettnewsevent.con = 50 - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 744: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Cider for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 745: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 10) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a jug./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 746: - doak = 0 - noroom = 0 - global.msg[0] = "* Buy a Spider Donut for 9999G?& & Yes No \C" - global.msg[1] = " " - break - case 747: - script_execute(scr_cost, 9999) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 7) - if (noroom == 0) - { - global.gold -= 9999 - global.flag[59] += 9999 - global.flag[403] = 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* Some spiders crawled down& and gave you a donut./%%" - if (afford == 0) - global.msg[0] = "* You didn't have enough& gold./%%" - } - if (noroom == 1) - global.msg[0] = "* You are carrying too& many items./%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 748: - global.msg[0] = "* Ribbit^1, ribbit.&* (I have heard you are quite& merciful^1, for a human...)/" - global.msg[1] = "\W* (Surely you know by now a& monster wears a \YYELLOW\W name& when you can \YSPARE\W it.)/" - global.msg[2] = "* (What do you think of that?)& Very It's& Helpful Bad\C" - global.msg[3] = " " - break - case 749: - if (global.choice == 0) - { - global.msg[0] = "* (It is rather helpful.^1)&* (Remember^1, sparing is just& saying you won't fight.)/" - global.msg[1] = "* (Maybe one day^1, you'll& have to do it even if& their name isn't yellow.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Really^1? Then^1, I'll tell all& of my friends to tell& their friends' friends...)/" - global.msg[1] = "* (Never use yellow names.)&* (How about that?)/" - global.msg[2] = " Keep No more& Yellow Yellow& Names Names\C" - global.msg[3] = " " - } - break - case 750: - if (global.choice == 0) - global.msg[0] = "* (OK^1, they will still& use yellow names.)/%%" - if (global.choice == 1) - { - global.msg[0] = "* (OK^1, I will let them& know not to use yellow& names.)/%%" - global.flag[22] = 1 - } - break - case 751: - global.msg[0] = "* Ribbit^1, ribbit^1.&* (How are you doing without& yellow names?)/" - global.msg[1] = " Bring & It's Them& great Back\C" - global.msg[2] = " " - break - case 752: - if (global.choice == 0) - { - global.msg[0] = "* (Glad to hear it.^1)&* (Though^1, I do not know why& you dislike yellow.)/" - global.msg[1] = "* (You had better hope you do& not encounter a banana-themed& monster.)/%%" - } - if (global.choice == 1) - { - global.msg[0] = "* (Huh^1? It's rather inconvenient& that you changed your mind& like this.)/" - global.msg[1] = "* (Since I told everyone& not to use yellow names^1,& everyone threw theirs out.)/" - global.msg[2] = "* (This is really troubling...^1)&* (Hmmm...)/" - global.msg[2] = "\W* (Well^1, last year it was& fashionable to have \ppink\W & names.)/" - global.msg[3] = "* (I think everyone still& has those in their closets& somewhere...)/" - global.msg[4] = "* (I'll ask everyone to look.^1)&* (But this is the last time!)/%%" - global.flag[22] = 2 - } - break - case 753: - global.msg[0] = "* Ribbit^1, ribbit...&* (I hope you're satisfied.)/%%" - break - case 754: - global.msg[0] = "* \YNAPSTABLOOK22 has sent you& a friend request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 755: - global.flag[409] = 1 - global.msg[0] = "* (It seems to have already& rejected itself...)/%%" - break - case 756: - global.msg[0] = "* \YMETTATON has sent you a& Mortal Enemy request.\W /" - global.msg[1] = "* Accept the request?& & Accept Reject\C" - global.msg[2] = " " - break - case 757: - if (global.choice == 0) - { - global.msg[0] = "* Congratulations^1!&* You are now Mortal Enemies& with Mettaton./" - global.msg[1] = "* \YCOOLSKELETON95\W has posted& a comment on this change./" - global.msg[2] = "* CONGRATULATIONS^1, YOU TWO^1!&* WISH YOU A LONG AND& HORRIBLE RIVALRY./%%" - } - if (global.choice == 1) - global.msg[0] = "* You rejected the request./%%" - break - case 758: - global.msg[0] = "* \YMETTATON has sent you an& invitation to " + chr(34) + "Die." + chr(34) + "\W /" - global.msg[1] = "* RSVP?& & Respond Ignore\C" - global.msg[2] = " " - break - case 759: - if (global.choice == 0) - global.msg[0] = "* Bepis valley Granola Bars/%%" - if (global.choice == 1) - global.msg[0] = "* Bepis valley Granola Bars/%%" - break - case 760: - global.msg[0] = "* hey^1.&* i heard you're going& to the core./" - global.msg[1] = "\E0* how about grabbing some& dinner with me first?& Yeah I'm busy \C" - global.msg[2] = " " - if (global.flag[67] == 1) - global.msg[0] = "* .../%%" - break - case 761: - if (global.choice == 0) - { - global.msg[0] = "* great^1, thanks for& treating me./%%" - if instance_exists(obj_sans_prefinaldate) - obj_sans_prefinaldate.con = 1 - } - if (global.choice == 1) - global.msg[0] = "* well^1, have fun in& there./%%" - break - case 762: - global.msg[0] = "* This is the barrier./" - global.msg[1] = "* This is what keeps& us all trapped& underground./" - global.msg[2] = "* .../" - global.msg[3] = "* If.../" - global.msg[4] = "* If by chance you& have any unfinished& business.../" - global.msg[5] = "* Please do what you& must./" - global.msg[6] = " & & Continue Go Back\C" - global.msg[7] = " " - break - case 763: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - global.flag[457] = 1 - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Anything you want to& do is important& enough./" - global.msg[2] = "* Even something as small& as reading a book^1,& or taking a walk.../" - global.msg[3] = "* Please take your time./%%" - } - break - case 764: - global.msg[0] = "* Oh..^1.&* Back so soon?/" - global.msg[1] = "* How are you feeling?/" - global.msg[2] = " & & Ready Go Back\C" - global.msg[3] = " " - break - case 765: - if (global.choice == 0) - { - obj_barrierevent.con = 10 - global.msg[0] = "* ..^2.&* ... I see.../" - global.msg[1] = "* This is it^1, then./%%" - } - if (global.choice == 1) - { - obj_barrierevent.con = 40 - global.msg[0] = "* I see./" - global.msg[1] = "* Do what you have to./%%" - } - break - case 770: - global.msg[0] = "* Tra la la^1.&* I am the riverman./" - global.msg[1] = "* Or am I the riverwoman...^1?&* It doesn't really matter./" - global.msg[2] = "* I love to ride in my boat^1.&* Would you care to join me?/" - global.msg[3] = "* (Ride in the boat?)& & Yes No\C" - global.msg[4] = " " - if (global.flag[460] > 0) - { - global.msg[0] = "* Tra la la^1.&* Care for a ride?/" - global.msg[1] = "* (Ride in the boat?)& & Yes No\C" - global.msg[2] = " " - } - break - case 771: - if (global.choice == 0) - { - global.msg[0] = "* Where will we go today?& & Error Error\C" - if (room == room_fire_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Waterfall\C" - if (room == room_water_dock) - global.msg[0] = "* Where will we go today?& & Snowdin Hotland\C" - if (room == room_tundra_dock) - global.msg[0] = "* Where will we go today?& & Waterfall Hotland\C" - global.msg[1] = " " - } - if (global.choice == 1) - global.msg[0] = "* Then perhaps another time^1.&* Or perhaps not^1.&* It doesn't really matter./%%" - break - case 772: - if (global.choice == 0) - { - if (room == room_fire_dock || room == room_water_dock) - global.flag[459] = 1 - if (room == room_tundra_dock) - global.flag[459] = 2 - } - if (global.choice == 1) - { - if (room == room_tundra_dock || room == room_water_dock) - global.flag[459] = 3 - if (room == room_fire_dock) - global.flag[459] = 2 - } - if instance_exists(obj_dogboat_thing) - obj_dogboat_thing.con = 0.1 - global.msg[0] = "* Then we're off.../%%" - break - case 780: - if (global.flag[490] == 0) - { - global.msg[0] = "* (There's a switch on the& wall.)/" - global.msg[1] = "* (Press it?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = "* (The switch doesn't do& anything.)/%%" - break - case 781: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - global.flag[490] = 1 - if instance_exists(obj_amalgam_dogevent) - obj_amalgam_dogevent.con = 50 - } - break - case 782: - global.msg[0] = "* (Seems like a comfortable& bed.)/" - global.msg[1] = "* (Lie on it?)& & Yes No\C" - global.msg[2] = " " - break - case 783: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_bed_watcher) - obj_bed_watcher.con = 5 - } - break - case 784: - if (global.flag[484] > 1) - global.msg[0] = "* (It's just a regular suspicious& bed now.)/%%" - if (global.flag[484] == 1) - { - global.msg[0] = "* (It's a yellow key.^1)&* (You put it on your& keychain.)/%%" - global.flag[484] = 2 - } - if (global.flag[484] == 0) - { - global.msg[0] = "* (There's something under& the sheets.)/" - global.msg[1] = "* (Check it out?)& & Yes No\C" - global.msg[2] = " " - } - break - case 785: - global.msg[0] = " %%" - if (global.choice == 0) - { - if (global.flag[484] == 0) - { - snd_play(snd_noise) - global.flag[484] = 1 - } - } - break - case 786: - global.msg[0] = "* (The power has been turned& on.)/%%" - if (global.flag[491] == 0) - { - global.msg[0] = "* (It seems like this controls& the elevator's power.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - break - case 787: - global.msg[0] = " %%" - if (global.choice == 0) - { - with (obj_mainchara) - uncan = 1 - if instance_exists(obj_lab_powerswitch) - { - global.flag[491] = 1 - obj_lab_powerswitch.con = 5 - } - } - break - case 800: - global.msg[0] = (("\E7* I always was a crybaby^1,& wasn't I^1, " + global.charname) + "?/") - global.msg[1] = "\E1* .../" - global.msg[2] = "\E2* ... I know./" - global.msg[3] = (("\E0* You're not actually& " + global.charname) + ", are you?/") - global.msg[4] = (("\E7* " + global.charname) + "'s been gone for& a long time./") - global.msg[5] = "* .../" - global.msg[6] = "\E9* Um..^1. what.../" - global.msg[7] = "\E0* What IS your name?/" - global.msg[8] = "\E2* .../" - global.msg[9] = "\E5* " + chr(34) + "Frisk?" + chr(34) + "/" - global.msg[10] = "\E7* That's.../" - global.msg[11] = "\E5* A nice name./" - global.msg[12] = "* .../" - global.msg[13] = "\E7* Frisk.../" - global.msg[14] = "\E0* I haven't felt like& this for a long time./" - global.msg[15] = "\E2* As a flower^1, I was& soulless./" - global.msg[16] = "\E1* I lacked the power to& love other people./" - global.msg[17] = "\E2* However^1, with everyone's& souls inside me.../" - global.msg[18] = "\E7* I not only have my own& compassion back.../" - global.msg[19] = "\E5* But I can feel every& other monster's as& well./" - global.msg[20] = "\E7* They all care about& each other so much./" - global.msg[21] = "\E0* And..^1. they care about& you too^1, Frisk./" - global.msg[22] = "* .../" - global.msg[23] = "\E7* I wish I could tell& you how everyone& feels about you./" - global.msg[24] = "* Papyrus..^1. Sans..^1.&* Undyne..^1. Alphys.../" - global.msg[25] = "\E0* ... Toriel./" - global.msg[26] = "\E7* Monsters are weird./" - global.msg[27] = "\E5* Even though they barely& know you.../" - global.msg[28] = "\E6* It feels like they& all really love& you./" - global.msg[29] = "\E8* Haha./" - global.msg[30] = "* .../" - global.msg[31] = "\E1* Frisk..^1. I..^1.&* I understand if you& can't forgive me./" - global.msg[32] = "* I understand if you& hate me./" - global.msg[33] = "* I acted so strange and& horrible./" - global.msg[34] = "\E3* I hurt you./" - global.msg[35] = "* I hurt so many people./" - global.msg[36] = "\E1* Friends^1, family^1,& bystanders.../" - global.msg[37] = "\E3* There's no excuse for& what I've done./" - global.msg[38] = " & & Forgive Do not\C" - global.msg[39] = " " - break - case 801: - if (global.choice == 0) - { - global.msg[0] = "\E3* Wh..^1. what?/" - global.msg[1] = "\E7* ... Frisk^1, come on./" - global.msg[2] = "\E0* You're..^1.&* You're gonna make me& cry again./" - global.msg[3] = "\E7* ... besides^1, even if& you do forgive me.../" - } - if (global.choice == 1) - { - global.msg[0] = "\E2* ... right^1./" - global.msg[1] = "* I understand./" - global.msg[2] = "\E1* I just hope that.../" - global.msg[3] = "* I can make up for& it a little right& now./" - } - global.msg[4] = "\E1* I can't keep these& souls inside of me./" - global.msg[5] = "\E0* The least I can do& is return them./" - global.msg[6] = "\E2* But first.../" - global.msg[7] = "\E4* There's something I& have to do./" - global.msg[8] = "* Right now^1, I can feel& everyone's hearts& beating as one./" - global.msg[9] = "* They're all burning& with the same& desire./" - global.msg[10] = "* With everyone's power..^1.&* With everyone's& determination.../" - global.msg[11] = "* It's time for& monsters.../" - global.msg[12] = "* To finally go free./%%" - break - case 803: - global.msg[0] = "\E7* Frisk.../" - global.msg[1] = "\E0* I have to go now./" - global.msg[2] = "\E7* Without the power of& everyone's souls.../" - global.msg[3] = "\E1* I can't keep& maintaining this& form./" - global.msg[4] = "* In a little while.../" - global.msg[5] = "* I'll turn back into& a flower./" - global.msg[6] = "\E3* I'll stop being& " + chr(34) + "myself." + chr(34) + "/" - global.msg[7] = "* I'll stop being able& to feel love again./" - global.msg[8] = "\E1* So..^1. Frisk./" - global.msg[9] = "\E7* It's best if you& just forget about& me^1, OK?/" - global.msg[10] = "\E0* Just go be with& the people who& love you./" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & Comfort& him Do not\C" - global.msg[13] = " " - break - case 804: - global.msg[0] = " %%" - if instance_exists(obj_asriel_overworldanim) - { - if (global.choice == 0) - obj_asriel_overworldanim.con = 28 - if (global.choice == 1) - obj_asriel_overworldanim.con = 50 - } - break - case 806: - global.msg[0] = "\E0* So^1, Alphys.../" - global.msg[1] = "\E9* What do you want& to do now that& we're all free?/" - global.msg[2] = "\E0* We have the whole& world to explore& now./" - scr_alface(3, 3) - global.msg[4] = "\E3* W-well^1, of course& I'm going to go& out and.../" - global.msg[5] = "\E4* Um.../" - global.msg[6] = "\E3* No^1, I should be& honest!!/" - global.msg[7] = "\E1* I'm gonna stay inside& and watch anime like& a total loser!/" - scr_papface(8, 0) - global.msg[9] = "\E0THAT'S THE SPIRIT!/" - global.msg[10] = "EVERYONE!!^1!&A CELEBRATION!!!&TO BEING LOSERS!!/" - scr_undface(11, 9) - global.msg[12] = "\E9* Heh^1.&* Papyrus has the& right idea./" - global.msg[13] = "\E0* Losing to Frisk is& the best thing to& ever happen to me./" - global.msg[14] = "\E0* So I'm glad that& we.../" - global.msg[15] = "\E9* Huh^1?&* What is it^1, Asgore?/" - scr_asgface(16, 2) - global.msg[17] = "\E2* Um..^1. what's an.../" - global.msg[18] = "\E0* ... anime?/" - scr_alface(19, 1) - global.msg[20] = "\E1* (Oh My God?)/" - global.msg[21] = "\E3* (Frisk^1. Please.)/" - global.msg[22] = "\E2* (Help me explain what& anime is to Asgore.)/" - global.msg[23] = "\E0* Y-you see^1, it's& like a cartoon^1,& but.../" - global.msg[24] = "\TS \F0 \T0 %" - global.msg[25] = " & With With& Sword's Gun's\C" - global.msg[26] = " " - break - case 807: - scr_asgface(0, 2) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with swords?/" - if (global.choice == 1) - global.msg[1] = "\E2* So it's like a& cartoon..^1.&* But with guns?/" - global.msg[2] = "\E0* Golly^1!&* That sounds neato!/" - global.msg[3] = "\E3* Where is this^1?&* Where can I see the& Anime./" - scr_alface(4, 3) - global.msg[5] = "\E3* H-hold on^1, uh..^1.&* I think I have& some on my phone./" - global.msg[6] = "\E0* Here^1, l-look at& this!/" - global.msg[7] = "\E0* .../" - global.msg[8] = "\E3*...Oh^1, uh.../" - global.msg[9] = "\E4* Um..^1. that's the..^1.&* That's the wrong.../" - global.msg[10] = "\E5* Uh^1, nevermind./" - scr_asgface(11, 1) - global.msg[12] = "* Golly^1.&* Were those two robots.../" - scr_undface(13, 9) - global.msg[14] = "\E9* ... kissing?/" - scr_asgface(15, 0) - global.msg[16] = "\E0* Boy^1!&* Technology sure is& something^1, isn't it?/" - scr_alface(17, 5) - global.msg[18] = "\E5* Eheheh..^1. yeah^1!&* It sure is!/%%" - break - case 808: - global.msg[0] = "\E0* Psst..^1.&* F-Frisk./" - global.msg[1] = "\E3* Um^1, you've gotta& tell me./" - global.msg[2] = "\E6* D..^1. do you think& Asgore and Toriel& are...?/" - global.msg[3] = "\E3* Uh^1, ever gonna get& back together?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "& & Yeah Nope\C" - global.msg[6] = " " - break - case 809: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_alface(0, 7) - global.msg[1] = "\E7* Y-yeah!!^1!&* Yeah^1, that's what& I hope^1, too./" - global.msg[2] = "\E7* Just think about how& cute they must have& been together./" - global.msg[3] = "\E0* It's quickly becoming& my number one ship& of all time./" - global.msg[4] = "\E7* Tori and Gorey.../" - global.msg[5] = "\E5* My..^1.&* My old boss and& his ex-wife./" - global.msg[6] = "\E8* ... uh^1, that sounds& a lot less cool& all of a sudden./%%" - } - if (global.choice == 1) - { - scr_alface(0, 9) - global.msg[1] = "\E8* ... yeah^1, that's what& I thought./" - global.msg[2] = "\E7* A woman can dream& though^1, right?/" - global.msg[3] = "\E2* And write fanfiction./" - global.msg[4] = "\E1* A LOT of fanfiction./%%" - } - break - case 810: - global.msg[0] = "\E0* Frisk^1!&* I just realized!/" - global.msg[1] = "\E3* Now that we aren't& fighting each& other.../" - global.msg[2] = "\E2* I can finally ask& you.../" - global.msg[3] = "\E0* " + chr(34) + "Would you like a& cup of tea?" + chr(34) + "/" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E0* Would you like a& cup of tea?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "& & Yes No\C" - global.msg[8] = " " - break - case 811: - global.msg[0] = "* Error.../%%" - if (global.choice == 0) - { - scr_asgface(0, 0) - global.msg[1] = "* Oh^1!&* Well!/" - global.msg[2] = "\E3* Actually^1, the cup I& had is cold now./" - global.msg[3] = "* So you shouldn't& have it./" - global.msg[4] = "\E0* But^1, I am so& happy you said& yes./" - global.msg[5] = "\E0* As soon as I can^1,& I will make some& more for you./" - global.msg[6] = "\E0* Then we can be& great pals./%%" - } - if (global.choice == 1) - { - scr_asgface(0, 3) - global.msg[1] = "\E3* Oh.../" - global.msg[2] = "\E3* Okay./" - scr_undface(3, 2) - global.msg[4] = "\E2* Frisk^1! Stop^1!&* You're breaking his& big burly heart!/" - scr_asgface(5, 2) - global.msg[6] = "\E2* Um^1, it's OK^1, Undyne./" - global.msg[7] = "\E0* My heart's already& broken./" - scr_undface(8, 6) - global.msg[9] = "\E6* ASGORE^1! STOP^1!&* YOU'RE BREAKING MY& BIG BURLY HEART!/" - scr_alface(10, 9) - global.msg[11] = "\E9* Y-yeah^1, Asgore^1.&* Don't break Undyne's& heart./" - global.msg[12] = "\E2* That's my job./" - scr_undface(13, 2) - global.msg[14] = "\E2* OH MY GOD!&* YOU'RE GOING BACK& IN THE TRASH!!!/" - scr_papface(15, 0) - global.msg[16] = "\E0CAN I GO IN THE&TRASH TOO?/" - scr_undface(17, 9) - global.msg[18] = "\E9* Sure^1, Papyrus./" - scr_sansface(19, 1) - global.msg[20] = "\E1* guess i have to& go in the trash& too./" - scr_torface(21, 0) - global.msg[22] = "\E0* Oh^1, may I enter& the trash as well?/" - scr_undface(23, 1) - global.msg[24] = "\E1* Uh^1, okay?/" - scr_asgface(25, 0) - global.msg[26] = "\E0* Am I invited to& the trash?/" - scr_undface(27, 6) - global.msg[28] = "\E6* SURE!!!&* WHY NOT!!!/" - scr_torface(29, 1) - global.msg[30] = "\E1* On second thought^1,& do not put me& in the trash./" - scr_asgface(31, 5) - global.msg[32] = "\E5* Oh.../" - scr_undface(33, 1) - global.msg[34] = "\E1* OH MY GOD!!!/%%" - } - break - case 812: - global.msg[0] = "* (If you leave here^1, your& adventure will really& be over.)/" - global.msg[1] = "* (Your friends will follow& you out of the underground.)/" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = " & Don't I'm& leave ready\C" - global.msg[4] = " " - break - case 813: - global.msg[0] = " %%" - if (global.choice == 0) - obj_underground_exit.con = 2 - if (global.choice == 1) - obj_underground_exit.con = 10 - break - case 814: - global.msg[0] = "\E0* Oh my.../" - scr_asgface(1, 0) - global.msg[2] = "\E0* Isn't it beautiful^1,& everyone?/" - scr_alface(3, 3) - global.msg[4] = "\E3* Wow..^1. it's e-even& better than on TV./" - global.msg[5] = "\E7* WAY better^1!&* Better than I ever& imagined!/" - scr_undface(6, 1) - global.msg[7] = "\E1* Frisk^1, you LIVE with& this!?/" - global.msg[8] = "\E9* The sunlight is so& nice..^1. and the air& is so fresh!/" - global.msg[9] = "* I really feel alive!/" - scr_papface(10, 0) - global.msg[11] = "\E0HEY SANS.../" - global.msg[12] = "\E3WHAT'S THAT GIANT&BALL?/" - scr_sansface(13, 1) - global.msg[14] = "\E1* we call that& " + chr(34) + "the sun^1," + chr(34) + " my friend./" - scr_papface(15, 0) - global.msg[16] = "\E0THAT'S THE SUN!^1?&WOWIE!!!/" - global.msg[17] = "I CAN'T BELIEVE&I'M FINALLY MEETING&THE SUN!!!/" - scr_asgface(18, 0) - global.msg[19] = "\E0* I could stand here& and watch this for& hours.../" - scr_torface(20, 0) - global.msg[21] = "\E0* Yes^1, it is beautiful^1,& is it not?/" - global.msg[22] = "\E1* But we should really& think about what comes& next./" - scr_asgface(23, 3) - global.msg[24] = "\E3* Oh^1, right./" - global.msg[25] = "\E0* Everyone.../" - global.msg[26] = "* This is the beginning& of a bright new& future./" - global.msg[27] = "* An era of peace between& humans and monsters./" - global.msg[28] = "\E2* Frisk.../" - global.msg[29] = "* I have something to& ask of you./" - global.msg[30] = "\E0* Will you act as our& ambassador to the& humans?/" - global.msg[31] = "\TS \F0 \T0 %" - global.msg[32] = "* (Be the ambassador?)& & Yes No\C" - global.msg[33] = " " - break - case 815: - scr_papface(0, 0) - global.msg[1] = "WOWi, Nice error./%%" - if (global.choice == 0) - { - global.msg[1] = "\E0YEAH^1!&FRISK WILL BE THE&BEST AMBASSADOR!/" - global.msg[2] = "AND I^1, THE GREAT&PAPYRUS.../" - global.msg[3] = "WILL BE THE BEST&MASCOT!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E0IT'S OK FRISK^1!&I'VE GOT YOU&COVERED!/" - global.msg[2] = "IF YOU DON'T WANT&TO BE THE&AMBASSADOR.../" - global.msg[3] = "I CAN DO IT FOR&YOU!!!/" - global.msg[4] = "I'LL GO MAKE A&GOOD FIRST&IMPRESSION!/%%" - } - break - case 820: - global.msg[0] = "* Frisk.../" - global.msg[1] = "\E2* You came from this& world^1, right...?/" - global.msg[2] = "\E1* So you must have& a place to return to^1,& do you not?/" - global.msg[3] = "\E2* What will you do& now?/" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = " I want I have& to stay places& with you to go\C" - global.msg[6] = " " - break - case 821: - global.msg[0] = " %%" - if (global.choice == 0) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 100 - } - if (global.choice == 1) - { - if instance_exists(obj_outsideworld_event) - obj_outsideworld_event.con = 200 - } - break - case 825: - global.msg[0] = "* (The door has no mail slot.)/" - global.msg[1] = "* (Slide the letter under?)& & Slide NO!!!! \C" - global.msg[2] = " " - break - case 826: - if (global.choice == 0) - { - if (doak == 0) - { - snd_play(snd_knock) - doak = 1 - } - global.msg[0] = "* (You slide the letter under& the door and give it a& knock.)/%%" - if instance_exists(obj_alabdoor_l) - { - obj_alabdoor_l.myinteract = 5 - obj_alabdoor_l.con = 2 - } - } - if (global.choice == 1) - global.msg[0] = "* (You'll keep the letter& warm for a little longer.)/%%" - break - case 827: - global.msg[0] = "* (It's a note from Alphys.)/" - global.msg[1] = "* (Read it...?)& & Read Do not \C" - global.msg[2] = " " - break - case 828: - if (global.choice == 0) - { - global.msg[0] = "* (It's hard to read because& of the handwriting^1, but& you try your best...)/" - global.msg[1] = "* Hey./" - global.msg[2] = "* Thanks for your help back& there./" - global.msg[3] = "* You guys..^1.&* Your support really means a& lot to me./" - global.msg[4] = "* But..^1.&* As difficult as it is& to say this.../" - global.msg[5] = "* You guys alone can't& magically make my own& problems go away./" - global.msg[6] = "* I want to be a better& person./" - global.msg[7] = "* I don't want to be& afraid anymore./" - global.msg[8] = "* And for that to happen^1,& I have to be able to& face my own mistakes./" - global.msg[9] = "* I'm going to start& doing that now./" - global.msg[10] = "* I want to be clear./" - global.msg[11] = "* This isn't anyone else's& problem but mine./" - global.msg[12] = "* But if you don't ever& hear from me again.../" - global.msg[13] = "* If you want to know& " + chr(34) + "the truth." + chr(34) + "/" - global.msg[14] = "* Enter the door to the& north of this note./" - global.msg[15] = "* You all at least deserve& to know what I did./" - global.msg[16] = "* (That's all she wrote.)/%%" - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 829: - doak = 0 - noroom = 0 - if (global.flag[495] < 8) - { - global.msg[0] = "* (Buy chips for 25G?)& & Buy No \C" - global.msg[1] = " " - } - else - { - global.msg[0] = "* (There were no chips left& in the machine.)/%%" - global.msg[1] = " " - } - break - case 830: - script_execute(scr_cost, 25) - if (global.choice == 0) - { - if (afford == 1) - { - if (doak == 0) - { - doak = 1 - script_execute(scr_itemget, 58) - if (noroom == 0) - { - global.gold -= 25 - global.flag[495] += 1 - } - } - } - } - if (noroom == 0) - { - global.msg[0] = "* (The vending machine& dispensed some chisps.)/%%" - if (afford == 0) - global.msg[0] = "* (You didn't have enough& gold.)/%%" - } - if (noroom == 1) - global.msg[0] = "* (You are carrying too& many items.)/%%" - if (global.choice == 1) - global.msg[0] = "*%%" - break - case 831: - global.msg[0] = "* Ring..\E0.\TT /" - global.msg[1] = "\F1 %" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - global.msg[2] = "* Hello?&* This is TORIEL./" - global.msg[3] = "* For no reason in& particular...&* Which do you prefer?/" - global.msg[4] = "* Cinnamon or& butterscotch?/" - global.msg[5] = "\E1* ... wait^1.&* Do not tell me./" - if (bs == 0) - global.msg[6] = "\E0* It is ERROR MESSAGE!& & Yes No \C" - if (bs == 1) - global.msg[6] = "\E0* Is it Butterscotch?& & Yes No \C" - if (bs == 2) - global.msg[6] = "\E0* Is it Cinnamon?& & Yes No \C" - global.msg[7] = " " - break - case 832: - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - ini_close() - if (global.choice == 0) - { - if (bs == 1) - global.flag[46] = 1 - if (bs == 2) - global.flag[46] = 0 - global.msg[0] = "\E0* Hee hee hee^1.&* I had a feeling./" - global.msg[1] = "\E1* When humans fall down& here^1, strangely..^1.&* I.../" - global.msg[2] = "\E1* I often feel like& I already know them./" - global.msg[3] = "\E0* Truthfully^1, when I first& saw you^1, I felt.../" - global.msg[4] = "\E1* ... like I was seeing& an old friend for& the first time./" - global.msg[5] = "\E0* Strange^1, is it not?/" - global.msg[6] = "* Well^1, thank you for& your selection./" - global.msg[7] = "\TS \F0 \T0 %" - global.msg[8] = "* Click.../%%" - } - if (global.choice == 1) - { - if (bs == 1) - global.flag[46] = 0 - if (bs == 2) - global.flag[46] = 1 - global.msg[0] = "\E1* Oh..^1. I see./" - global.msg[1] = "\E0* Well^1, thank you^1.&* Goodbye for now./" - global.msg[2] = "\TS \F0 \T0 %" - global.msg[3] = "* Click.../%%" - ini_open("undertale.ini") - bs = ini_read_real("Toriel", "Bscotch", 0) - if (bs == 1) - ini_write_real("Toriel", "Bscotch", 2) - else - ini_write_real("Toriel", "Bscotch", 1) - ini_close() - } - break - case 833: - global.msg[0] = "* (Seems like you could skip& Mettaton's monologue by& turning him around now.)/" - global.msg[1] = "* (What will you do?)& & Skip Hear again\C" - global.msg[2] = " " - break - case 834: - if (global.choice == 0) - { - global.msg[0] = "* (You told Mettaton there& was something cool& behind him.)/%%" - if instance_exists(obj_mettboss_event) - obj_mettboss_event.con = 4.5 - } - if (global.choice == 1) - { - global.msg[0] = " %%" - obj_mettboss_event.con = 6 - } - break - case 835: - global.msg[0] = "* though.../" - global.msg[1] = "* one thing about you& always struck me& as kinda odd./" - global.msg[2] = "* now^1, i understand& acting in self-defense./" - global.msg[3] = "* you were thrown into& those situations& against your will./" - global.msg[4] = "* but.../" - global.msg[5] = "* sometimes.../" - global.msg[6] = "* you act like you& know what's gonna& happen./" - global.msg[7] = "* like you've already& experienced it all& before./" - global.msg[8] = "* this is an odd thing& to say^1, but.../" - global.msg[9] = "\W* if you have some sort& of \Yspecial power\W.../" - global.msg[10] = "* isn't it your& responsibility to do& the right thing?/" - global.msg[11] = "\TS \F0 \T0 %" - global.msg[12] = " & & Yes No\C" - global.msg[13] = " " - break - case 836: - if (global.choice == 0) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* ah./" - global.msg[2] = "\E0* i see./" - global.msg[3] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 20 - } - if (global.choice == 1) - { - scr_sansface(0, 1) - global.msg[1] = "\E1* heh./" - global.msg[2] = "\E0* well^1, that's your& viewpoint./" - global.msg[3] = "\E2* i won't judge you& for it./" - global.msg[4] = "\E3* .../%%" - if instance_exists(obj_lastsans_trigger) - obj_lastsans_trigger.con = 21 - } - break - case 837: - global.msg[0] = "* (Ring...)/" - scr_alface(1, 0) - global.msg[2] = "\E0* Hey!/" - global.msg[3] = "\E3* This um^1, doesn't have& anything to do with& guiding you..^1. but.../" - global.msg[4] = "\E2* .../" - global.msg[5] = "\E6* Uhh^1, hey^1, would you want& to watch a human TV& show together???/" - global.msg[6] = "* Sometime???/" - global.msg[7] = "\E4* It's called^1, um^1,& M..^1.Mew Mew Kissy& Cutie.../" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = " & & Sure! ...no...\C" - global.msg[10] = " " - break - case 838: - scr_alface(0, 5) - if (global.choice == 0) - { - global.msg[1] = "* R-really!?/" - global.msg[2] = "\E3* It's so good^1!&* It's um^1, my favorite& show!/" - global.msg[3] = "* It's all about this& human girl named Mew Mew& who has cat ears!%" - global.msg[4] = "\E3* Which humans don't have!&* S-so she's all& sensitive about them!%" - global.msg[5] = "\E6* But like...&* Eventually!%" - global.msg[6] = "* She realizes that her& ears don't matter!%" - global.msg[7] = "* That her friends like& her despite the ears!%" - global.msg[8] = "\E7* It's really moving!%" - global.msg[9] = "\E5* Whoops, spoilers%" - global.msg[10] = "\E6* Also, this sounds& weird, but she has& the power!%" - global.msg[11] = "\E5* To control the minds& of anyone she kisses!%" - global.msg[12] = "\E3* She kisses people and& controls them to fix& her problems!!%" - global.msg[13] = "\E5* They don't remember& anything after the& kiss I mean!!%" - global.msg[14] = "\E3* BUT IF SHE MISSES& THE KISS!!!&* THEN!!%" - global.msg[15] = "\E4* Then^1, uh^1, and^1, uh^1,& also I mean^1, of course%" - global.msg[16] = "\E5* Eventually^1, she& realizes that& controlling people%" - global.msg[17] = "\E3* OKAY WELL I almost& spoiled the whole& show^1, but%" - global.msg[18] = "\E5* Uhhh^1, I think you'd& really like it!!!/" - global.msg[19] = "\E0* We should watch it^1!&* After you get through& all this!/" - global.msg[20] = "\TS \F0 \T0 %" - global.msg[21] = "* (Click...)/%%" - } - if (global.choice == 1) - { - global.msg[1] = "\E5* Um^1! Well^1!&* That's okay!/" - global.msg[2] = "* Just thought I'd!^1!&* Ask!!!/" - global.msg[3] = "\E6* B-but I think you'd& really like it!!/" - global.msg[4] = "* If you gave it a& chance!!/" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* (Click...)/%%" - } - break - case 839: - global.msg[0] = "\M1* Did y'hear!^1?&* You're back!/" - global.msg[1] = "\M0* I'll tell you a big secret./" - global.msg[2] = "\M1* I'm starting a band^1, y'hear?/" - global.msg[3] = "\M1* It's called the Red Hot& Chibi Peppers./" - global.msg[4] = "\M0* All I've thought of is& the name./" - global.msg[5] = "\M3* And I don't^1, play...&* Instruments^1, or sing./" - global.msg[6] = "\M1* Well^1!&* Do you think we'll be& popular!!!/" - global.msg[7] = " & & Yeah No\C" - global.msg[8] = " " - break - case 840: - if (global.choice == 0) - { - global.flag[496] = 6 - global.msg[0] = "\M0* Yeah^1, me too.../%%" - } - if (global.choice == 1) - { - global.flag[496] = -1 - with (obj_onionsan_event) - con = 25 - global.msg[0] = " %%" - } - break - case 845: - global.msg[0] = "* (It's a lamp.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - break - case 846: - if (global.choice == 0) - { - global.msg[0] = "* (There's no lightbulb.^1)&* (A flashlight is stuck in& the bulb socket.)/" - global.msg[1] = "* (Turn it on?)& & Yes No\C" - global.msg[2] = " " - } - else - global.msg[0] = " %%" - break - case 847: - if (global.choice == 0) - global.msg[0] = "* (The flashlight is out of& batteries.)/%%" - else - global.msg[0] = " %%" - break - case 850: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_remember - global.msg[0] = "* Hey^1, hey^1!&* Did you remember my name?/" - global.msg[1] = "* (Did you?)& & Yes No\C" - global.msg[2] = " " - break - case 851: - with (obj_heatsflamesman) - sprite_index = spr_heatsf_shock - if (global.choice == 0) - { - global.flag[434] = 1 - global.msg[0] = "* Wh-WHAT!^1?&* You REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - if (global.choice == 1) - { - global.flag[434] = 2 - global.msg[0] = "* Wh-WHAT!^1?&* You DON'T REMEMBER!?/" - global.msg[1] = "* How could I be so easily& defeateeeeeeeeed!?/%%" - } - break - case 853: - global.msg[0] = "* (It's a small white dog.^1)&* (It's fast asleep...)/" - global.msg[1] = "* (Fight the dog?)& & Yes No\C" - global.msg[2] = " " - break - case 854: - if (global.choice == 0) - { - global.msg[0] = "* (Can't fight the dog.)/" - global.msg[1] = "* (Seems like the fabric it's& sleeping on has too many& holes in it.)/" - global.msg[2] = "* (Seems like the dog needs& to " + chr(34) + "patch" + chr(34) + " the fabric.)/" - global.msg[3] = "* (Then you can fight the dog.^1)&* (... maybe.)/%%" - } - else - global.msg[0] = "* (Let sleeping dogs lie^1, instead& of fighting them.^1)&* (That's how the saying goes.)/%%" - break - case 860: - global.msg[0] = "* (Knock knock)./" - if (global.flag[262] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Sea Tea" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a million ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 861: - if (global.choice == 0) - { - scr_itemremove(41) - if (removed == 1) - { - global.gold += 99 - global.flag[262] = 1 - global.msg[0] = "* (You pour the Sea Tea under& the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 862: - global.msg[0] = "* (Knock knock)./" - if (global.flag[263] == 0) - { - global.msg[0] = "* Oooooaaah ^1!&* Room service !/" - global.msg[1] = "* Got my " + chr(34) + "Cinnamon Bun" + chr(34) + " ?& & Yes No\C" - global.msg[2] = " " - if (global.flag[7] == 1) - global.msg[0] = "* Room service never came ^1.&* (Sigh ...)/%%" - } - else - { - global.msg[0] = "* Thanks a trillion ./%%" - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - } - break - case 863: - if (global.choice == 0) - { - scr_itemremove(21) - if (removed == 1) - { - global.gold += 99 - global.flag[263] = 1 - global.msg[0] = "* (You flatten the Cinnamon Bun& until it's paper thin.)&* (You slide it under the door.)/" - global.msg[1] = "* HUH !?!?!?!^2?&* That's just the way I want ^1!&* Here's a tip ./" - global.msg[2] = "* (You got 99G.)/%%" - } - else - global.msg[0] = "* ..^1.&* No you don't ./%%" - } - else - global.msg[0] = "* Then ...!?/%%" - break - case 864: - global.msg[0] = "* (You hear shuffling.)/" - global.msg[1] = "* (Seems like you could put& something under the door.)/" - global.msg[2] = " & & Put No Put\C" - global.msg[3] = " " - if (global.flag[7] == 1) - global.msg[0] = "* (No response.)/%%" - break - case 865: - if (global.choice == 0) - { - global.msg[0] = "* (...)/" - global.msg[1] = "* (But you didn't have anything& appealing.)/%%" - type = 0 - scr_itemcheck(38) - if (haveit == 1 && global.flag[264] == 0) - type = 1 - scr_itemcheck(39) - if (haveit == 1) - type = 2 - scr_itemcheck(28) - if (haveit == 1) - type = 3 - scr_itemcheck(29) - if (haveit == 1) - type = 4 - scr_itemcheck(30) - if (haveit == 1) - type = 4 - scr_itemcheck(31) - if (haveit == 1) - type = 4 - scr_itemcheck(32) - if (haveit == 1) - type = 4 - scr_itemcheck(33) - if (haveit == 1) - type = 4 - scr_itemcheck(34) - if (haveit == 1) - type = 4 - if (type == 1 && global.flag[264] == 0) - { - scr_itemremove(38) - scr_itemget(62) - global.msg[0] = "* (You put a Hot Dog in front& of the door.)/" - global.msg[1] = "* (A white paw shoots out from& under the door.)/" - global.msg[2] = "* (It tries to pull the Hot Dog& into its room...)/" - global.msg[3] = "* (But it keeps pressing down too& hard^1, and the hot dog keeps& spinning away.)/" - global.msg[4] = "* (...)/" - global.msg[5] = "* (It finally succeeds.)/" - global.msg[6] = "* (...)/" - global.msg[7] = "* (You hear the grinding of& stone.)/" - global.msg[8] = "* (A single hushpuppy slides& out from under the door.)/" - global.msg[9] = "* (You got Hush Puppy.)/%%" - global.flag[264] = 1 - } - if (type == 2) - { - global.msg[0] = "* (You put a Hot Cat in front& of the door.)/" - global.msg[1] = "* (You hear growling...)/%%" - } - if (type == 3) - { - scr_itemremove(28) - global.msg[0] = "* (You put a Dog Salad in front& of the door.^1)&* (It slides underneath.)/" - global.msg[1] = "* (...)/" - global.msg[2] = "* (The Dog Salad was absorbed& by the darkness.)/%%" - } - if (type == 4) - { - rr = choose(29, 30, 31, 32, 33, 34) - scr_itemget(rr) - global.msg[0] = "* (You put a Dog Residue in& front of the door.)/" - global.msg[1] = "* (It slides underneath the door^1,& as if pulled by a magnet.)/" - global.msg[2] = "* (...)/" - if (noroom == 1) - global.msg[3] = "* (ZOMMM!!^1!)&* (It shoots back out at a& high speed!)/%%" - else - global.msg[3] = "* (Two Dog Residues slowly slide& back out from underneath& the door.)/%%" - } - } - if (global.choice == 1) - global.msg[0] = " %%" - break - case 866: - global.msg[0] = "* Yes^1, we know^1.&* The elevator to the city& is NOT working./" - global.msg[1] = "* Because of this incident^1, rooms& are running at a special rate!/" - global.msg[2] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[3] = " " - if (global.flag[267] == 2) - { - global.msg[0] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[1] = " " - } - if (global.flag[267] == 1) - { - global.flag[267] = 2 - global.msg[0] = "* Did you enjoy your stay?/" - global.msg[1] = "* What^1?&* Room..^1.&* Key?/" - global.msg[2] = "* No^1, we don't do that./" - global.msg[3] = "* If you leave your room^1,& you'll have to pay again./" - global.msg[4] = "* 200G a room^1. Interested^1?& & Stay Do not\C" - global.msg[5] = " " - } - break - case 867: - if (global.choice == 0) - { - if (global.gold >= 200) - { - global.gold -= 200 - with (obj_mainchara) - uncan = 1 - global.msg[0] = "* Fabulous^1!&* We'll escort you to your& room!/%%" - if (global.flag[267] < 1) - global.flag[267] = 1 - obj_hotelreceptionist.con = 1 - } - else - global.msg[0] = "* ... that's not enough money./%%" - } - else - global.msg[0] = "* Do let us know if you& change your mind^1.&* Have a sparkular day!/%%" - break - case 870: - global.msg[0] = "* ... MY ONE TRUE LOVE?/" - global.msg[1] = "* .../" - global.msg[2] = "* (YOU LOOK BORED^1, DARLING.)/" - global.msg[3] = "* (I WANT THIS TO BE A STELLAR& PERFORMANCE^1, SO IF YOU& WON'T GIVE IT YOUR ALL...)/" - global.msg[4] = "* (THEN I'LL SKIP AHEAD FOR& THE AUDIENCE'S SAKE.)/" - global.msg[5] = "* (Perform?)& & Yeah Skip this\C" - global.msg[6] = " " - break - case 871: - if (global.choice == 0) - global.msg[0] = "* (UNDERSTOOD.^1)&* (LET'S KNOCK 'EM DEAD!)/%%" - else - { - global.msg[0] = "* (KA-SIGH...^1)&* (THE SHOW MUST GO ON!)/%%" - with (obj_playmovement) - con = 240 - } - break - case 888: - global.msg[0] = "Interesting./" - global.msg[1] = "You want to go back./" - global.msg[2] = "You want to go bac^1k&to the worl^2d&you destroyed./" - global.msg[3] = "It was you who pushed&everythin^1g to its edge./" - global.msg[4] = "It was you who led the worl^1d&to its destruction./" - global.msg[5] = "But you cannot accept it./" - global.msg[6] = "You think you are above&consequences.& Yes No\C" - global.msg[7] = "" - break - case 889: - if (global.choice == 0) - global.msg[0] = "Exactly./%%" - else - global.msg[0] = "Then what are you looking for?/%%" - break - case 890: - global.msg[0] = "Perhaps./" - global.msg[1] = "We can reach a compromise./" - global.msg[2] = "You still have somethin^1g&I want./" - global.msg[3] = "Give it to me./" - global.msg[4] = "And I will bring this&world back./" - global.msg[5] = " & & Yes No\C" - global.msg[6] = "" - break - case 891: - if (global.choice == 0) - { - global.msg[0] = "Then it is agreed./" - global.msg[1] = "You will give me your SOUL.& & Yes No\C" - global.msg[2] = " " - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 892: - if (global.choice == 0) - { - global.msg[0] = ".../" - global.msg[1] = "Then^1, it is done./%%" - } - else - { - global.msg[0] = "Then stay here for&all eternity./" - global.msg[1] = " " - } - break - case 900: - global.msg[0] = "* hey./" - global.msg[1] = "* is your refrigerator& running?/" - global.msg[2] = " & & yes no\C" - global.msg[3] = " " - break - case 901: - if (global.choice == 0) - global.msg[0] = "* nice^1.&* i'll be over to deposit& the brewskis./%%" - else - { - global.msg[0] = "* ok^1, i'll send someone& over to fix it./" - global.msg[1] = "* thanks for letting me& know./" - global.msg[2] = "* good communication is& important./%%" - } - break - case 1001: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1002: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1003: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1004: - global.msg[0] = " * Check * Compliment& * Threat" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1005: - global.msg[0] = " * Check * Console& * Terrorize" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1006: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1007: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1008: - global.msg[0] = " * Check * Talk& * Devour * Dinner" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1009: - global.msg[0] = " * Check * Pick On& * Don't Pick On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1010: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1011: - global.msg[0] = " * Check * Flirt& * Threat * Cheer" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1012: - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1013: - global.msg[0] = " * Check * Pet" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1014: - global.msg[0] = " * Check * Pet& * Pet * Pet & * Pet * Pet " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1015: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1016: - global.msg[0] = " * Check * Pet& * Re-sniff * Roll Around" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1017: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1018: - if (global.flag[57] == 2) - { - global.msg[0] = " * Check * Agree& * Clash * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - break - case 1019: - global.msg[0] = " * Check * Compliment& * Ignore * Steal" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1020: - global.msg[0] = " * Check * Compliment" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1021: - global.msg[0] = " * Check * Ditch" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1022: - global.msg[0] = " * Check * Decorate& * Undecorate * Gift" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1023: - global.msg[0] = " * Check * Flex& * Shoo" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1024: - global.msg[0] = " * Check * Flex& * Feed Temmie * Talk& Flakes " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1025: - global.msg[0] = " * Check * Flirt& * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if (scr_murderlv() >= 7) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1026: - if instance_exists(obj_moldsmalx) - { - if (obj_moldsmalx.stage == 0) - { - global.msg[0] = " * Check * Imitate& * Flirt" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - else if (global.flag[74] == 0) - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - else - { - global.msg[0] = " * Check * Lie Down& * Hug * Unhug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - } - } - break - case 1028: - global.msg[0] = " * Check * Clean& * Touch * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1029: - global.msg[0] = " * Check * Smile& * Hum * Conduct" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1031: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1032: - global.msg[0] = " * Check * Plead& * Challenge" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - if instance_exists(obj_undyneboss) - { - if (obj_undyneboss.con >= 50) - { - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1033: - global.msg[0] = " * Check * Cry" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1034: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1035: - global.msg[0] = " * Check * Whisper& * Clean Armor" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1036: - global.msg[0] = " * Check * Flirt& * Approach" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1037: - global.msg[0] = " * Check * Criticize& * Encourage * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1038: - global.msg[0] = " * Check * Cool Down& * Heat Up * Invite" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1039: - cashfactor = "NaN" - global.msg[0] = (((("\W * Check * Struggle& * Pay " + string(global.flag[382])) + "G& \YYour Money: ") + string(global.gold)) + "G \W ") - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1040: - global.msg[0] = " * Check * Yell" - if (global.flag[385] > 0) - global.msg[0] = "\W * Check \Y* Yellow \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1041: - global.msg[0] = " * Check * Fake Attack" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1042: - global.msg[0] = " * Check * Talk & * Stare * Clear Mind" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1043: - global.msg[0] = " * Check * Talk & * Sing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1044: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1045: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1046: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1047: - global.msg[0] = " * Check * Defuse Bomb" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1048: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1049: - global.msg[0] = " * Check * Whisper& * Touch Glove" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1050: - global.msg[0] = " * Check * Burn" - if (global.flag[424] > 0) - global.msg[0] = "\W * Check \Y* Turn \W" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1051: - global.msg[0] = " * Check * Boast& * Pose * Heel Turn" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1052: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1053: - global.msg[0] = " * Call * Hum& * Scream * Flex& * Unhug * Cry" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1054: - global.msg[0] = " * Check * Pick On& * Mystify * Clean& * Hum * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - break - case 1055: - global.msg[0] = " * Check * Laugh& * Heckle * Joke" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1056: - global.msg[0] = " * Check * ITEM & * STAT * CELL" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - if instance_exists(obj_memoryhead) - { - if (obj_memoryhead.coherent == 1) - { - global.msg[0] = " * Check * Join& * Refuse" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - } - } - break - case 1057: - global.msg[0] = " * Check * Pet& * Beckon * Play & * Ignore" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1058: - global.msg[0] = " * Fake Hit * Recipe& * Smile * Clash" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1059: - global.msg[0] = " * Encourage * Call & * Nerd Out * Quiz" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1060: - global.msg[0] = " * Joke * Puzzle & * Recipe * Insult" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1061: - global.msg[0] = " * Take break * Joke & * Judgment * Crossword" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1062: - global.msg[0] = " * Talk * Mercy & * Hug * Preference" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1063: - global.msg[0] = " * Talk * Mercy & * Stare * Hug" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1064: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1065: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1066: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1067: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1068: - global.msg[0] = " * Check" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1070: - global.msg[0] = " * Check * Compliment& * Threaten * Mystify" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1071: - global.msg[0] = " * Check * Pick On& * Don't Pick * Challenge& On" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1072: - global.msg[0] = " * Check * Console& * Terrorize * Pray" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1073: - global.msg[0] = " * Check * Talk" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1074: - global.msg[0] = " * Check * Switch& * Fix * Lie Down" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1075: - global.msg[0] = " * Check * Hiss& * Devour * Snack" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1076: - global.msg[0] = " * Check * Applaud& * Boo * Nothing" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 0 - break - case 1080: - global.msg[0] = " * Check * Something" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1081: - global.msg[0] = " * Check * Draw" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1099: - global.msg[0] = " * Check * Hope & * Dream" - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 0 - global.choices[3] = 1 - global.choices[4] = 0 - global.choices[5] = 0 - break - case 1100: - global.msg[0] = " * Error" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - if (global.flag[501] == 0) - { - global.msg[0] = " * Struggle" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - if (global.flag[501] == 1) - { - if (global.flag[505] == 0) - global.msg[0] = "\W * Undyne " - else - global.msg[0] = "\W \Y* (Saved) \W " - if (global.flag[506] == 0) - global.msg[0] += "* Alphys \W &" - else - global.msg[0] += "\Y* (Saved)\W &" - if (global.flag[507] == 0) - global.msg[0] += "\W * Papyrus * Sans \W &" - else - global.msg[0] += "\Y * (Saved) * (Saved)\W &" - if (global.flag[508] == 0) - global.msg[0] += "\W * Toriel * Asgore \W " - else - global.msg[0] += "\Y * (Saved) * (Saved)\W " - global.choices[0] = 1 - global.choices[1] = 1 - global.choices[2] = 1 - global.choices[3] = 1 - global.choices[4] = 1 - global.choices[5] = 1 - } - if (global.flag[501] > 1) - { - if (global.flag[501] == 2) - global.msg[0] = " * Someone else" - if (global.flag[501] == 3) - global.msg[0] = " * Asriel Dreemurr" - global.choices[0] = 1 - global.choices[1] = 0 - global.choices[2] = 0 - global.choices[3] = 0 - global.choices[4] = 0 - global.choices[5] = 0 - } - break - case 1501: - global.msg[0] = "* Dialing..\E0.\TT /" - if (doak == 0) - { - doak = 1 - global.flag[40] += 1 - } - if (global.flag[40] == 1) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You only wanted to& say hello...^2?&* Well then./" - global.msg[4] = "\E0* 'Hello!'/" - global.msg[5] = "* I hope that suffices^1.&* Hee hee./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 2) - { - global.msg[1] = "\F1 %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* You want to say& hello again?/" - global.msg[4] = "* 'Salutations!'/" - global.msg[5] = "* Is that enough?/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[40] == 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Are you bored^1?&* I should have given& a book to you./" - global.msg[4] = "* My apologies./" - global.msg[5] = "* Why not use your& imagination to& divert yourself?/" - global.msg[6] = "* Pretend you are..^1.&* A monarch!/" - global.msg[7] = "* Rule over the leaf pile& with a fist of iron./" - global.msg[8] = "* Can you do that for me?/" - global.msg[9] = "\TS \F0 \T0 %" - global.msg[10] = "* Click.../%%" - } - if (global.flag[40] > 3) - { - global.msg[1] = "\F1 \TT %" - global.msg[2] = "\E0* This is TORIEL./" - global.msg[3] = "* Hello^1, my child./" - global.msg[4] = "\E1* Sorry^1, I do not have& much to say./" - global.msg[5] = "\E0* It was nice to hear& your voice^1, though^1./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - break - case 1502: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* Help with a puzzle^1.^1.^1.?/" - global.msg[4] = "* Um^1, you have not& left the room^1, have you?/" - global.msg[5] = "\E0* Wait patiently for& me and we can solve& it together!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1503: - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E1* You want to know& more about me?/" - global.msg[4] = "* Well^1, I am afraid there& is not much to say./" - global.msg[5] = "\E0* I am just a silly little& lady who worries too& much!/" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - break - case 1504: - global.flag[42] = 1 - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* This is TORIEL./" - global.msg[3] = "\E8* Huh^2?&* Did you just call& me... " + chr(34) + "Mom" + chr(34) + "?/" - global.msg[4] = "\E1* Well...&* I suppose.../" - global.msg[5] = "* Would that make you& happy?/" - global.msg[6] = "* To call me..^2.&* " + chr(34) + "Mother?" + chr(34) + "/" - global.msg[7] = "\E0* Well then^1, call me& whatever you like!/!" - global.msg[8] = "\TS \F0 \T0 %" - global.msg[9] = "* Click.../%%" - break - case 1505: - if (doak == 0) - { - doak = 1 - global.flag[41] += 1 - } - if (global.flag[41] == 1) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E8* ...^2 huh???/" - global.msg[3] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[4] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[5] = "* You can certainly find& better than an old woman& like me./" - global.msg[6] = "\TS \F0 \T0 %" - global.msg[7] = "* Click.../%%" - } - if (global.flag[41] == 2) - { - global.msg[0] = "* Dialing..\E0.\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "\E1* Oh dear,^1 are you& serious...?/" - global.msg[3] = "\E1* I do not know if this is& pathetic,^1 or endearing./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - if (global.flag[42] == 1) - { - global.msg[3] = "\E8* And after you said you& want to call& me " + chr(34) + "mother..." + chr(34) + "/" - global.msg[4] = "\E0* You are an...^2 & \E1... " + chr(34) + "interesting" + chr(34) + "& child./" - global.msg[5] = "\TS \F0 \T0 %" - global.msg[6] = "* Click.../%%" - } - } - break - case 1506: - if (global.flag[45] == 4) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* But nobody came./%%" - } - else - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* Nobody picked up./%%" - scr_itemcheck(27) - if (haveit == 1) - { - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* The ringing is coming from& inside your inventory./%%" - } - } - break - case 1507: - global.faceemotion = 99 - global.msg[0] = "* Dialing...\TT /" - global.msg[1] = "\F1 %" - global.msg[2] = "* Hey^1, you silly& child./" - global.msg[3] = "* If you want to& talk to me^1, I am& right here./" - global.msg[4] = "\TS \F0 \T0 %" - global.msg[5] = "* Click.../%%" - break - case 1508: - global.msg[0] = "* Dialing... /" - global.msg[1] = "* ... /" - global.msg[2] = "* (Somewhere^1, signals deflected& by a dog.)/%%" - break - case 1510: - if (global.flag[7] == 0) - scr_papcall() - else - global.msg[0] = "* (No response.^1)&* (Their phone might be out& of batteries.)/%%" - break - case 1515: - scr_torcall() - break - case 1520: - global.msg[0] = "* (The box is aclog with the& the hair of a dog.)/%%" - break - case 2001: - global.msg[0] = "\E2* Welcome to your new& home,^1 innocent one./" - global.msg[1] = "* Allow me to educate you& in the operation of& the RUINS./%" - break - case 2002: - global.faceplate = 1 - global.msg[0] = "\E8* ...^2 huh???/" - global.msg[1] = "\E1* Oh,^1 heh..^1 heh...^1 \E0 &* Ha ha ha!/" - global.msg[2] = "* How adorable...^1 I& could pinch your cheek!/" - global.msg[3] = "* You can certainly find& better than an old woman& like me./%" - break - case 3002: - global.msg[0] = "* You encountered the Dummy." - global.msg[1] = "%%%" - break - case 3003: - global.msg[0] = "* Froggit attacks you!" - global.msg[1] = "%%%" - break - case 3004: - global.msg[0] = "* Froggit hopped close!" - global.msg[1] = "%%%" - break - case 3005: - global.msg[0] = "* Whimsun approached meekly!" - global.msg[1] = "%%%" - break - case 3006: - global.msg[0] = "* Froggit and Whimsun drew near!" - global.msg[1] = "%%%" - break - case 3007: - global.msg[0] = "* Moldsmal blocked the way!" - global.msg[1] = "%%%" - break - case 9999: - i = 0 - fileid = file_text_open_read("testlines.txt") - while (file_text_eof(fileid) == 0) - { - global.msg[i] = file_text_read_string(fileid) - file_text_readln(fileid) - i += 1 - } - file_text_close(fileid) - break -} - diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_itemget.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_itemget.gml deleted file mode 100644 index 18d1db209..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_itemget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.item[8] = 999 -while (loop == 1) -{ - if (global.item[i] == 0) - { - global.item[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_itemname) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_phoneget.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_phoneget.gml deleted file mode 100644 index 78fa6d562..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_phoneget.gml +++ /dev/null @@ -1,18 +0,0 @@ -i = 0 -loop = 1 -global.phone[8] = 999 -while (loop == 1) -{ - if (global.phone[i] == 0) - { - global.phone[i] = argument0 - break - } - if (i == 8) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_phonename) diff --git a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_storageget.gml b/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_storageget.gml deleted file mode 100644 index 1ceb16fbb..000000000 --- a/UndertaleModTool/Corrections/d0822e279464db858682ca99ec4cbbff/Temp/gml_Script_scr_storageget.gml +++ /dev/null @@ -1,20 +0,0 @@ -i = 0 -loop = 1 -noroom = 0 -global.flag[(argument1 + 10)] = 999 -while (loop == 1) -{ - if (global.flag[(i + argument1)] == 0) - { - global.flag[(i + argument1)] = argument0 - break - } - if (i == 10) - { - script_execute(scr_itemnospace) - break - } - i += 1 -} -script_execute(scr_itemnameb) -script_execute(scr_storagename)